Lv 31,924 points

I can help

Favorite Answers12%
Answers459
  • How to build my own computer?

    Is there a kit that comes iwth the peices and instructions to make? I dontn want anything too expensive now yall

    3 AnswersOther - Computers8 years ago
  • How to build my own laptop?

    I just want to build a laptop; are there any very extensive guides that are easy to understand for newbies, or just a buyable kit with instructions how to make inside. thanks

    3 AnswersLaptops & Notebooks8 years ago
  • .R file output help!?

    I'm trying to generate a pdf called 1.pdf, 2.pdf, 3.pdf etc and it isn't working. My code is:

    x <- 0

    for(i in 1:1000){

    x <- x + 1

    pdf(as.character(x),".pdf") #writes out to pdf

    for(i in 1:1000000){

    hist(rnorm(1)) # graphs histogram, writen to the file

    }

    dev.off()

    }

    Also, I triedto just do

    a<- 1

    a

    and it wouldnt add a ot the file. help please

    2 AnswersProgramming & Design8 years ago
  • Programming R Help on download?

    SO i just downloaded R at the website (CRAN). I need a gui? or IDE? to program. Kind of like visual studios for c#/visual basic, or netbeans/eclipse for java, or notepad++ for html. I need the equivilant of that for R. Any suggestions and basic simple way to dow nload it? thaks

    2 AnswersProgramming & Design8 years ago
  • Arrow Holder, cheap plastic?

    I am looking for a cheap plastic arrow holder for when I knock my arrow. I dont want to buy an expensive 30 dollar one, just a plastic one. I dont shoot often but when I do its nice to have it. Where can I get one? Thanks.

    2 AnswersHunting8 years ago
  • Programming Super Mario Bros XNA?

    How would I get about the basic level design? A giant array? I cant think of any other feasible way to do it

    1 AnswerProgramming & Design8 years ago
  • What game to Program next?

    I just finished tetris, and chips challenge. any ideas? i want a challenge to make.

    3 AnswersProgramming & Design8 years ago
  • Good website for pure html programming?

    I need to do a website for class.. I really dont want to pay. It should be able to hold a java game, and I need to link between pages and what not. Weebly is too confusing to make my own html on. What are good easy websites that allow easy changing of html, page linking, and free.

    1 AnswerProgramming & Design8 years ago
  • C# Programming Project help?

    My class is having this robot-fight where it is a 2d 20x20 grid. Each grid has a treasure. robots go around collecting. They can move by: "N S E W" changes direction, M moves forward,F fires a laser that shoots infront of where they are facing. if it hits a robot, itll take 5 of their treasures and give it to whoever hit.

    I tested mine against my freinds. They all, in some form or another, hunt down and shoot at eachother. It always ended in a stalemate. How should I program it so they aren't constantly locked in fire, and nothing moving. If i make mine only collect treasures, one of theirs will attack me when I get more treasures than them. Our grade is based on what we place. How can I get it to beat them, when theirs spots a robot, then fires at it (so if 2 robots see eachother they're locked in fire). Another one attacks the person with the highest treasure (causing it to attack me if i only collect, not fight)

    1 AnswerProgramming & Design8 years ago
  • C++ "Smart" calculator?

    So i want to make a smart calculator. It would cinn a string, and if the string were:

    What is five plus three?

    I could go through, make one = 1, two = 2 ... nine = 9, to make it

    What is 5 plus 9

    then minus = "-" etc so itd be

    What is 5 + 9

    then remove the rest so itd be

    5 + 9

    but then what? It is a string. Any ideas? I couldn't just say cout<<number because it'd write out "5 + 9" and if i make it a int, it would error out due too the +

    1 AnswerProgramming & Design8 years ago
  • Downloading Python help!?

    I want to learn python. What do I download? Links please to everything needed. I tried but couldn't find it.

    1 AnswerProgramming & Design8 years ago
  • Python help? I can't find the Code GUI?

    I just downloaded Python 3.3 and 2.7, but when I run it, I can type code in and stuff, but I dont know how to save it. Is there a programming GUI so I can type in the code itself? Right now it just looks like a c++ window I can type in.

    1 AnswerProgramming & Design8 years ago
  • HTML Collision between two rectangles?

    function intersect(a, b) {

    if(a.left <= b.right && b.left <= a.right && a.top <= b.bottom && b.top <=

    a.bottom){

    alert("zoomy")

    }

    }

    3 rectangles are moving down the screen, and if they even touch the top of the one on the bottom,

    i want this to show up. it isnt working. is it the function or something else

    1 AnswerProgramming & Design8 years ago
  • HTML code help with timer?

    <html xmlns="http://www.w3.org/1999/xhtml%22%3E

    <head>

    <script>

    var x = 0

    function mastertimer(){

    start.style.visibility = "hidden"

    var x = Math.random()*50

    timerX = window.setInterval("moveTheBaron()",x)

    alert(x)

    }

    function moveTheBaron(){

    BaronHarkonnen.style.top = parseInt(BaronHarkonnen.style.top )+ 1

    if(BaronHarkonnen.style.top == Paul.style.top){

    x = Math.random()*50

    BaronHarkonnen.style.top = 0

    mastertimer()

    }

    }

    </script>

    </head>

    <body id = "donkey" onKeyPress="handleKey((getKeyCode(event.keyCode,

    event.which)));">

    <script language="JavaScript">

    //the following function was adapted from

    http://javascript.bigresource.com/JavaScript-event...

    Safe--TwG1SPV5.html

    function getKeyCode(char, mozChar) {

    if (mozChar != null) {// Look for a Mozilla-compatible browser

    RetVal = mozChar;

    }

    else {// Must be an IE-compatible Browser

    RetVal = char;

    }

    return RetVal;

    }

    function handleKey(code) {

    if(code == 97 && parseInt(Paul.style.left) != 0){

    Paul.style.left = parseInt(Paul.style.left) - 50

    }

    if(code ==100 && parseInt(Paul.style.left) != 100){

    Paul.style.left = parseInt(Paul.style.left)+50

    }

    }

    </script>

    <div id = "hit" style = "position:absolute;left:500">0</div>

    <div id = "hit" style = "position:absolute;left:550">0</div>

    <input type = "button" id = "Paul" style = "height:50;width:25; background-

    color:green; position:absolute; top:500;left:50">

    <input type = "button" id = "BaronHarkonnen" style = "height:50;width:25;

    background-color:red; position:absolute; top:100; left:0">

    <input type = "button" id = "FeydRautha" style = "height:50;width:25; background-

    color:orange; position:absolute; left:50; top: 200">

    <input type = "button" id = "BeastRabban" style = "height:50;width:25; background-

    color:yellow; position:absolute; left:100">

    <input type = "button" id = "start" value = "Start!" style = "position:absolute;

    left:200; top:200" onclick = "mastertimer()">

    </body>

    </html>

    When I run it, it does all that I want it to do: It has the red button move down, and the speed change when it gets to the top. But no matter what I do, the speed only increases when I want it to vary between fast and slow.

    1 AnswerProgramming & Design8 years ago
  • Timer HTML help (set/clear interval)?

    lets say I had

    function start(){

    var x = 300 * Math.Random()

    TimerX = windows.setInterval = ("function",X)

    }

    every time I call start, will it reassign the timer's interval to a random number?

    aslo,

    if i had timerx = windows.setInterval("Functoin",100)

    then cleared the interval

    can i recreate it to be like

    timerx = windows.setInterval("Function",150)

    or can I not resuse that name, even after clearing the timer

    2 AnswersProgramming & Design8 years ago
  • Visual basic 2012 double buffer help?

    Public Class Form2

    Dim x As Int64 = 100

    Dim y As Int64 = 100

    Dim w As Int64 = 100

    Dim z As Int64 = 100

    Dim diry As Int64 = 1

    Dim dirx As Int64 = 1

    Dim moving As Int64 = 0

    Dim dirz As Int64 = 1

    Dim dirw As Int64 = 1

    Dim maxx As Int64 = 200

    Dim maxy As Int64 = 200

    Dim minx As Int64 = 100

    Dim miny As Int64 = 100

    Private Sub Form2_FormClosing(sender As Object, e As FormClosingEventArgs) Handles Me.FormClosing

    Form1.Show()

    End Sub

    Private Sub Form2_Load(sender As Object, e As EventArgs) Handles MyBase.Load

    Me.SetStyle(ControlStyles.AllPaintingInWmPaint Or _

    ControlStyles.UserPaint Or _

    ControlStyles.DoubleBuffer, True)

    Me.SetStyle(ControlStyles.DoubleBuffer, True)

    Me.SetStyle(ControlStyles.AllPaintingInWmPaint, True)

    Timer1.Start()

    End Sub

    Private Sub Button1_Click(sender As Object, e As EventArgs)

    End Sub

    Public Sub New()

    MyBase.New()

    'This call is required by the Windows Form Designer.

    InitializeComponent()

    'Add any initialization after the InitializeComponent() call

    Me.SetStyle(ControlStyles.DoubleBuffer Or ControlStyles.UserPaint Or ControlStyles.AllPaintingInWmPaint, True)

    Me.UpdateStyles()

    End Sub

    Private Sub Timer1_Tick(sender As Object, e As EventArgs) Handles Timer1.Tick

    DoubleBuffered = True

    Me.Refresh()

    Me.CreateGraphics.FillEllipse(Brushes.Crimson, x, y, 10, 10)

    Me.CreateGraphics.DrawRectangle(Pens.Black, 100, 100, 100, 200)

    y = y + diry

    x = x + dirx

    If x > 190 Or x < 100 Then

    dirx = -dirx

    End If

    If y > 290 Or y < 100 Then

    diry = -diry

    End If

    End Sub

    End Class

    This doesnt work. I have no idea what i put in the form load other than "It will solve double buffer" yet it doesnt. Please help

    1 AnswerProgramming & Design8 years ago
  • Automatically open a flashdrive file windows 7?

    How do I get it so when I turn put my flash drive in, it automaticaly opens up a file (.exe)

    2 AnswersSoftware8 years ago
  • How to open a file when I turn on a computer?

    I want to be able to open any file right when I turn on a computer. (Preferably an .exe or .htm)

    3 AnswersProgramming & Design8 years ago
  • Excel extract from a position help?

    I am trying to speed up an excel process where:

    In one cell, is "QRW-1935 XXXXXXXXX" is there a way to make another cell next to it where i cna have a formula to call out the 5,6,7,8 position's item (1935) and put in that cell?

    1 AnswerSoftware8 years ago
  • Pure html website free?

    I need a website that I can design with only html. Weebly requires confusing things with { } and it modified html. Any website hosts (free) that will let me program html? Thank you.

    3 AnswersProgramming & Design8 years ago