Search:

Type: Posts; User: pengu

Search: Search took 0.00 seconds.

  1. Thread: Comparing

    by pengu
    Replies
    7
    Views
    1,083

    Ok I figured out the problem. The cursor wasn't...

    Ok I figured out the problem. The cursor wasn't at the start of the file when being opened, so I had to place it there to work properly.

    I have one more question though... I'm having trouble with...
  2. Thread: Comparing

    by pengu
    Replies
    7
    Views
    1,083

    Yeah, I know my code is sloppy etc. I've just...

    Yeah, I know my code is sloppy etc. I've just added crap in there so i can get it working and then i'll clean it up.

    count is initialised at the start as "int count = 0;"

    I've isolated the...
  3. Thread: Comparing

    by pengu
    Replies
    7
    Views
    1,083

    Comparing

    Hi, I'm having trouble with comparing a character received from a file. I know, newbie problem. Anyway, I have this code:



    while(tf) {
    if (a_file.get() == '"') {
    count++; cout <<"got...
Results 1 to 3 of 3