Search:

Type: Posts; User: pirog

Search: Search took 0.00 seconds.

  1. Replies
    15
    Views
    34,957

    hello everyone, I was successful in...

    hello everyone,

    I was successful in implementing all of your suggestions in my little programme. Everything works flawlessly.

    Thanks again.
  2. Replies
    15
    Views
    34,957

    hey tabstop, i did not keep the backup of it...

    hey tabstop,

    i did not keep the backup of it (since that was a trial file, although i do in general) but i did not use the equal sign.
    Yet, I am pretty sure i had a semicolon in there ;)
    ...
  3. Replies
    15
    Views
    34,957

    hey dwks, i defined BUFFSIZE in a...

    hey dwks,

    i defined BUFFSIZE in a pre-processor statement as you have it in your last post, but my compiler did not like it. not quite sure why (i might have a look at it later), but that's the...
  4. Replies
    15
    Views
    34,957

    dwks, the example you've given worked like a...

    dwks,

    the example you've given worked like a charm. Although i did not get the idea behind bogus variable, but then it came to me that it is a dummy variable and is necessary for the limitation of...
  5. Replies
    15
    Views
    34,957

    Thanks for such an informative reply, DWKS!!! ...

    Thanks for such an informative reply, DWKS!!!

    I shall certainly try it your way, but as far as i can see that pretty much answers my question.
    What i was doing, as you probably understood from...
  6. Replies
    15
    Views
    34,957

    Tried to implement the SSCANF suggestion, but...

    Tried to implement the SSCANF suggestion, but unsuccessfully.
    From what errors I could unscramble, the issue was in an incorrect formating. I am going to stick to SCANF routine, although I still...
  7. Replies
    15
    Views
    34,957

    while running this programme in the terminal and...

    while running this programme in the terminal and pressing C-Z or C-D gives me russian letters (my keyboard is set to Eng/Rus). Anyway, the following ensures such termination and gives my own error...
  8. Replies
    15
    Views
    34,957

    laserlight, actually, the programme waits...

    laserlight,

    actually, the programme waits until i enter at least 3 values. even if i separate them by X number of CARRIAGE RETURNS. Of course the programme (however small) terminates on the...
  9. Replies
    15
    Views
    34,957

    Thanks laselight, i think it is an unnecessary...

    Thanks laselight,

    i think it is an unnecessary use of input buffer. do extra values keep on filling up buffer and can this buffer overflow (if the number given to it is too large, for example)?
    ...
  10. Replies
    15
    Views
    34,957

    scanf return values

    hi guys,

    ok, i just realised something about scanf and its return values. when a user tries to assign (for example) three values to three variables, the return value of scanf is 3. nice.
    THEN, if...
Results 1 to 10 of 10