Search:

Type: Posts; User: bob56

Search: Search took 0.00 seconds.

  1. Replies
    14
    Views
    2,116

    hi thanks for that piece of code works a treat...

    hi thanks for that piece of code works a treat just a couple of questions aboutwhat things do



    for (;;)

    what does this do ?

    and also
  2. Replies
    14
    Views
    2,116

    oooooh one last question dont know if this would...

    oooooh one last question dont know if this would be possible somehow but could you read 2 lines print them on the cosole in one line then go on to the next two lines print the on the next line of the...
  3. Replies
    14
    Views
    2,116

    brilliant thank you guys great job

    brilliant thank you guys great job
  4. Replies
    14
    Views
    2,116

    hmm nope doesnt seem to be working when i use...

    hmm nope doesnt seem to be working when i use that code above it just seems to print out "..." every time you hit the return button and goes on for ever
  5. Replies
    14
    Views
    2,116

    right kinda yeh so if i just modify that code to...

    right kinda yeh so if i just modify that code to say


    char line[80];
    do
    {
    if ( fgets( line, sizeof(line,stdin ) != NULL )
    {
    printf("%s...\n",line);
    }
  6. Replies
    14
    Views
    2,116

    thansk for your reply yeh i was looking at fgets...

    thansk for your reply yeh i was looking at fgets thinking that would be good but what i dont understand is where you tell the call what line to read from is it a number? l

    i got this call from...
  7. Replies
    14
    Views
    2,116

    trouble reading data from a file

    hi i am trying to read data from a file which is arranged as follows

    item1
    item2
    item3
    etc
    etc
    etc

    i am trying to read this then reproduce it on the console window line by line i have...
Results 1 to 7 of 7