Search:

Type: Posts; User: skull_tkl

Search: Search took 0.00 seconds.

  1. Replies
    1
    Views
    2,401

    arrays and scanf

    well, i got myself into another annoying situation.
    the task here for now is to read in 3 numbers.

    the first determines rows (r) , the second is for the coloumns (c), and the third gives the...
  2. Replies
    7
    Views
    1,277

    or you can put these at the end of your code...

    or you can put these at the end of your code right before the return command of the main function:


    fflush(stdin);
    getchar();


    so the program waits for an additional ENTER at the end to close
  3. Replies
    9
    Views
    2,931

    int is not the best sollution for phone number ^^...

    int is not the best sollution for phone number ^^ fist it wont store the zero up front, second the pfhone number is out of the integer range, try making it a double variable (still no zero at the...
  4. Replies
    12
    Views
    1,225

    aren't the simplest things those that make life...

    aren't the simplest things those that make life so wonderful ? ^^
    works perfectly now, thanks and all hail to tabstop ^^

    are there any "thankyou" points on this forum ,or you just sustain...
  5. Replies
    12
    Views
    1,225

    t1 is always getting a new value in the loop , so...

    t1 is always getting a new value in the loop , so i'm comparing the previous number to the number i got right now

    i need the difference as a positive value so absz is helping in that, if absz gets...
  6. Replies
    12
    Views
    1,225

    well , maybe i am really that dumb :D that was my...

    well , maybe i am really that dumb :D that was my first choice but it didn't seem to work so here's the whole story:

    the program gets that 2 lines yes.
    the numbers in the second line are...
  7. Replies
    12
    Views
    1,225

    right but you cannot use scanf("%d "&something)...

    right but you cannot use scanf("%d "&something) in a loop cause scanf needs an eof or enter pushed, but these numbers come at once in the same line
  8. Replies
    12
    Views
    1,225

    couple of inputs

    hai~
    sorry to bother all of you, but i just can't figure this one out

    the program gets 2 lines from standard input. in the first there is only one number that decides how many numbers shall come...
Results 1 to 8 of 8