Search:

Type: Posts; User: KasMage

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,740

    The code I posted was slightly different from...

    The code I posted was slightly different from what I was using. I moved the variable declarations around to prevent having to place them in multiple areas of the file (once for argument...
  2. Replies
    6
    Views
    1,740

    Both 'return 0' lines are fine. The first one is...

    Both 'return 0' lines are fine. The first one is for when you specify 1, so it will just print that one number and not go through the rest of the program. The second one is after everything has...
  3. Replies
    6
    Views
    1,740

    Having trouble converting a variable

    I'm having a terrible time trying to convert a variable. When I convert the value of argv[1] from char* to int using atoi, it just doesn't seem to come out right. Anytime I use a two-digit number...
Results 1 to 3 of 3