Help with debugging in CODEBLOCKS

This is a discussion on Help with debugging in CODEBLOCKS within the C++ Programming forums, part of the General Programming Boards category; i am trying to see separate values of a string in C++ while i debug. IN C i was able ...

  1. #1
    Registered User
    Join Date
    Jan 2012
    Posts
    16

    Help with debugging in CODEBLOCKS

    i am trying to see separate values of a string in C++ while i debug.
    IN C i was able to do it but in C++ i failed.
    it doesnt show values seperately,
    I know basic debugging.
    Using Codeblocks

    suppose,

    i declared string s1,s2;
    i am trying to see values of each element of s1 seperately.(as an array)

    PLEASE HELP ME.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    23,796
    This is a duplicate thread.

    *thread closed*
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with codeblocks
    By SilverClif in forum Windows Programming
    Replies: 6
    Last Post: 05-24-2011, 05:12 AM
  2. Replies: 8
    Last Post: 05-20-2011, 04:22 AM
  3. Strtok and CodeBlocks debugging
    By TonyG in forum C Programming
    Replies: 3
    Last Post: 05-15-2011, 02:42 AM
  4. using codeblocks
    By torquemada in forum Tech Board
    Replies: 7
    Last Post: 04-20-2011, 08:57 PM
  5. Codeblocks.
    By Kitt3n in forum C++ Programming
    Replies: 5
    Last Post: 05-16-2010, 01:50 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21