CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: ustulation

Search: Search took 0.03 seconds.

  1. Replies
    4
    Views
    5,018

    Re: invoking tellg() gives a wrong output

    so i'v made the transition...in binary mode getline reads \r of \r\n delimiters..so it took a hell lot of inspection to drop that off...also now i think the code will not work on Linux systems which...
  2. Replies
    4
    Views
    5,018

    Re: invoking tellg() gives a wrong output

    thanks...so is there a way around for the files opened in text mode?
  3. Replies
    4
    Views
    5,018

    invoking tellg() gives a wrong output

    inputFile "111":


    919622058222 NOT CONNECTED

    END
    <hgsdp:msisdn=919906000234,suda;
    HLR SUBSCRIBER DATA
  4. Replies
    17
    Views
    13,704

    Re: dynamic array allocation

    i read that too..and i got uniform results under Win7, Ubuntu Intrepid and Lucid...but all under GCC/G++ and MinGW...plus it was a surprise as i never thought of it that way (see post #2..lot of ppl...
  5. Re: std::cout and gfortran print*, don't output to the screen

    do it for the first one...it'll help exhaust trivial possibilities maybe
  6. Re: std::cout and gfortran print*, don't output to the screen

    the stdout is usually the console...it happened to me too..but in my case the o/p buffer wasnt being flushed (even on using flush() )...std::cin causes the o/p buffer to be flushed...so try to have...
  7. Replies
    17
    Views
    13,704

    Re: dynamic array allocation

    HAHAHAHAHA....thank u all...it's from valuable comments of practical programmers like you that others learn !!
  8. Replies
    17
    Views
    13,704

    Re: dynamic array allocation

    ok..will avoid it..cheers !!
  9. Replies
    17
    Views
    13,704

    Re: dynamic array allocation

    i understand and agree to your point completely...i just want to know what's happening ... i'v gone into this b-coz one of my Qt programs kept crashing and was a pain to debug it since i'm not a...
  10. Replies
    17
    Views
    13,704

    Re: dynamic array allocation

    Bjarne's book..the c++ programming language spc edition Pg., 128....it's very subtle the way its mentioned there (as everything in that book is :) )...then to fully understand i'd to google...
  11. Replies
    17
    Views
    13,704

    dynamic array allocation

    vector 'delete' knows the amount of memory to free by the count that 'new' inserts just ahead of the allocated block while returning the reference to the beginning of the next word boundary after...
  12. Replies
    6
    Views
    8,061

    Re: scope rule for pointers

    i get confused abt scope/validity rules while guessing how stacks are popped (during runtime) when functions start returning references and pointers..thanks fr help
  13. Replies
    6
    Views
    8,061

    Re: scope rule for pointers

    so if i ran such a program 1000 times the memory pointed each time (assuming new) would never be reclaimed and would result in memory leak?
  14. Replies
    6
    Views
    8,061

    scope rule for pointers

    <returnType> funct() {
    <type>* ptr=<address>;
    }

    at the end of the function ptr goes out of scope...does it also imply deletion of the <address> it pointed to? (by deletion i mean marked...
  15. Replies
    2
    Views
    5,085

    Re: handle user input of unknown size

    my understanding of getchar() was a bit different...i thought getchar() gets a character from the user and requires <CR> to be pressed after every char. input...getch() under curses library with...
  16. Replies
    2
    Views
    5,085

    handle user input of unknown size

    how to implement an acceptance of unknown input size (during console entry by user) in a char array, like the way std::string does? (m using gcc/g++ under ubuntu)?
Results 1 to 16 of 16





Click Here to Expand Forum to Full Width

Featured