Search:

Type: Posts; User: Berticus

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    1,215

    Or you can just do: if(fp)since NULL will...

    Or you can just do:
    if(fp)since NULL will evaluate to false...
  2. Thread: Memory Leak

    by Berticus
    Replies
    5
    Views
    1,816

    Yeah.... He said it wouldn't be that much...

    Yeah.... He said it wouldn't be that much anyway. Only what was allocated to hold the value.

    Hmm... bringing the system to a crawl... lol, yup, that's definitely a problem.

    Thanks
  3. Replies
    9
    Views
    1,974

    Damn! Beat me to it. Yeah, never return a...

    Damn! Beat me to it. Yeah, never return a pointer...
  4. Thread: Memory Leak

    by Berticus
    Replies
    5
    Views
    1,816

    Memory Leak

    I asked my friend a question to see what kind of programmer he is. He's the kind of programmer that just wants it to run, and let the OS take care of any system problems.

    So I asked him what...
  5. Thread: new to c++

    by Berticus
    Replies
    4
    Views
    1,129

    it doesn't have to be an integer: switch(reply)...

    it doesn't have to be an integer:
    switch(reply)
    {
    case 'y':
    case 'Y':
    break;
    default:
    loop=FALSE;
    break;
    }
  6. Replies
    10
    Views
    1,466

    ASP really sucks though. If you're going to use...

    ASP really sucks though. If you're going to use a scripting language, use PHP or ASP.NET.

    ---------------------------------------Edited---------------------------------------
    Also, I've heard...
  7. yeah, I'm using Linux. ........guys, I swear I...

    yeah, I'm using Linux. ........guys, I swear I said I solved the problem...
  8. Cuz she wasn't here... and I try to fix these...

    Cuz she wasn't here... and I try to fix these things as soon as possible so I can move on

    Ctrl+z does terminate the program (I typed in "hello"):
    $ ./C++/Exercise0.3/Count
    hello
    d nothing
    d...
  9. Yeah... I have 3rd edition, but my mom suggested...

    Yeah... I have 3rd edition, but my mom suggested 2nd edition since it went more into depth in a particular subject, I forget what it was... Anyway, she helped me out (she knows like 12 or so...
  10. stays in loop, but it's not an infinite loop (C++)

    I learned C two or so years ago, and I recently (last year) decided to teach myself cxx. I never got around to doing it until now. So I have this book called C++ Primer 2nd Edition by Stanley B....
Results 1 to 10 of 10