User Profile

Collapse

Profile Sidebar

Collapse
iWillLiveforever
iWillLiveforever
Last Activity: Apr 7 '08, 08:45 PM
Joined: Feb 10 '07
Location: Washington the state not the District of Columbia, USA.
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Or also reinstall your old drivers, that helps with some problems.
    See more | Go to post

    Leave a comment:


  • To whom are you talking to niru132 or me?...
    See more | Go to post

    Leave a comment:


  • oops sorry I got confused between them I havent used them in a while.

    besides i usually do sprintf with a buffer to convert the two but most people find that way harder.
    See more | Go to post

    Leave a comment:


  • wait do you mean an int into a char.

    if so check out atoi()
    See more | Go to post

    Leave a comment:


  • iWillLiveforever
    replied to keyboard events
    in Java
    Hope this helps with your problem at all

    Code:
    if(keyboard input1 == askey code for ctrl && keyboard input2 == askey code for s)
    {
         code for object
    }
    See more | Go to post

    Leave a comment:


  • iWillLiveforever
    replied to Compiler recommendations
    in C
    I mean that one day I feel like making a program in codeblocks and the next day I make a different program in Dev-C++. Though by day I do not mean the program only takes me one day to complete they are usually vary in time frames. I have the option to switch between compilers because I am programming for fun and my programs are not part of a bigger program for any job I have....
    See more | Go to post

    Leave a comment:


  • iWillLiveforever
    replied to Compiler recommendations
    in C
    I learned on Borland Turbo C++ 16 bit compiler and I now use Visual C++ express and I switch between codeblocks and Dev-C++.

    Turbo C++ has a very comprehensive index to help new people but using the other compilers I found it is easier to program after you know what you are doing.
    See more | Go to post

    Leave a comment:


  • iWillLiveforever
    replied to Linux installation
    You download the distribution of Linux you want, I use live cd's, and boot the computer from the cd then if you chose you are able to partition a section of your hard drive to run Linux and duel boot Windows/Linux or you are able to completely wipe the hard drive so it only has linux on it.
    See more | Go to post

    Leave a comment:


  • iWillLiveforever
    replied to Unexplained program crashing
    in C
    Yes but that still does not account fot the lower case letters.
    See more | Go to post

    Leave a comment:


  • iWillLiveforever
    replied to Unexplained program crashing
    in C
    Have you tried running it on multiple computers?
    See more | Go to post

    Leave a comment:


  • iWillLiveforever
    replied to Convert Integer to Binary
    in C
    It is always possible to convert in any language you just have to do the math.

    I’m guessing the integer is in base 10

    So say you have the number 23 that you want to convert into binary

    23-(2^4)=7
    1

    7-(2^3) =put in a zero
    0

    7-(2^2) =3
    1

    3-(2^1)=1
    1

    1-(2^0)=0
    1

    so 23 base 10 = 10111 binary...
    See more | Go to post

    Leave a comment:


  • iWillLiveforever
    replied to Unexplained program crashing
    in C
    When you run the program have you entered something starting with z and something else not starting with z? If so does the program still crash or does it ignore the field with the z. Also define crash does the program give you an error or just finish running?
    See more | Go to post

    Leave a comment:


  • iWillLiveforever
    replied to fat data
    in C
    You are using an int try using a long or double. The maximum value an integer can be is 2147483647 on the positive side after you go past this number it goes to negative values.

    Hope this is the answer to your problem.
    See more | Go to post

    Leave a comment:


  • iWillLiveforever
    replied to Internet Link
    in Java
    Could use the Robot Java Class but thats kinda cheating.
    See more | Go to post

    Leave a comment:


  • iWillLiveforever
    replied to 0(n^4) complexity
    in C
    Its Big O notation describing the length that a program runs under the best circumstances.

    I have taken a test on it and it still confuses me so you’re not alone.

    n^4 means it will run in n^4 time. This is based on the variables in the program and how they are run. If an integer is run through a for loop it is O(n).

    I think if I am wrong please correct me
    See more | Go to post

    Leave a comment:


  • iWillLiveforever
    replied to Segmentation fault
    in C
    place a while loop with a counter on it

    while(someRando mVariable<2)
    {
    forloop...
    before end of iteration put this thier
    someRandomVaria ble++

    and it should break the for loop

    you are also able to reset the variable when needed to bring it back to the for loop and through
    See more | Go to post

    Leave a comment:


  • iWillLiveforever
    replied to how to transfer array elements
    in C
    Use a for loop and inside the for loop use the number counted as the array spot and that array spot equals the other arrays spot.

    Code:
    For(int i=0; i<=”number of spots in the array”; i++)
    {
    	array1[i]=array2[i];
    }
    That should be correct I’ve been using LUA mostly though so this is my disclaimer and this is for C++ i dont program C so you may have to translate if you are using C.
    See more | Go to post

    Leave a comment:


  • That is a very good analysis, the answer I was thinking of was that they are palindromes but all questions have more than one correct answer so it is always fun to find different ways of thinking of things.
    See more | Go to post

    Leave a comment:


  • iWillLiveforever
    replied to Creating an array of classes
    in Java
    I don’t know if this will help you at all but why don’t you make an array of lists so that the price, name, etc. are a list that stays together then sort those list according to your specifications. Then you can sort the various data field of the list without running the risk of mixing them up.
    See more | Go to post

    Leave a comment:


  • iWillLiveforever
    started a topic I'm wondering if anyone will get this

    I'm wondering if anyone will get this

    If no one does and you want the answer you'll end up kicking youself after you hear it.

    What does the word Racecar, and the number 1284821 have in common?
    See more | Go to post
No activity results to display
Show More
Working...