Search:

Type: Posts; User: Nishant Bhaskar

Search: Search took 0.01 seconds.

  1. Replies
    15
    Views
    2,259

    I was able to resolve the segmentation faults,...

    I was able to resolve the segmentation faults, but now get the following messages while running



    Object::connect: No such slot Mainwindow::displayinfo(node) in entrytree2.cpp:167...
  2. Replies
    15
    Views
    2,259

    I was able to resolve the previous error. However...

    I was able to resolve the previous error. However now I see a different error



    #1 0xb7242b94 in std::string::operator= (this=0x0, __str=@0xbfffe704) at...
  3. Replies
    15
    Views
    2,259

    @iMalc, I agree with you. But the file (I have...

    @iMalc, I agree with you. But the file (I have mentioned the contents in the first post of the thread) does contain spaces. So I'm unable to understand why the loop is not exiting.
  4. Replies
    15
    Views
    2,259

    I restructured the main to look like : int...

    I restructured the main to look like :


    int main(int argc, char *argv[])
    {
    size_t spaces=0;
    size_t nextspaces=0;
    size_t pos=0;
    string temp;
    string temp2;
  5. Replies
    15
    Views
    2,259

    pos = 20604 temp={static npos = 4294967295,...

    pos = 20604


    temp={static npos = 4294967295, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xb7295f84 ""}}
  6. Replies
    15
    Views
    2,259

    @tabstop, thanks for the last hint, it did...

    @tabstop, thanks for the last hint, it did work................now on debugging I'm getting :



    #0 0x0804c58d in main (argc=1, argv=0xbfffe7d4) at entrytree2.cpp:263
    263 ...
  7. Replies
    15
    Views
    2,259

    @tabstop, thanks for the last hint, it did...

    @tabstop, thanks for the last hint, it did work................now on debugging I'm getting :



    #0 0x0804c58d in main (argc=1, argv=0xbfffe7d4) at entrytree2.cpp:263
    263 ...
  8. Replies
    15
    Views
    2,259

    @tabstop...........this is the first time I'm...

    @tabstop...........this is the first time I'm working with gc++ compiler, so I'm unable to get understand working with switches. Can you please elaborate ??
  9. Replies
    15
    Views
    2,259

    @tabstop..................I am generating the...

    @tabstop..................I am generating the makefile using qmake.............how should I apply the -g switch ?
  10. Replies
    15
    Views
    2,259

    Unable to identify error

    I have written a code for creation of a dialog that will display the contents of a tree stored in memory. The tree is created by reading data from a file.



    #include <iostream>
    #include...
Results 1 to 10 of 10