CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 32

Threaded View

  1. #31
    Join Date
    Apr 1999

    Re: error C2061: syntax error : identifier 'string'

    Quote Originally Posted by royibernthal View Post
    Okay, I will.
    I suggested that you go through your program line-by-line with the debugger. The reason why is that you need to understand exactly how a program works, how variables are set, how a loop operates, etc. etc. Otherwise you will be right back to square one with your next assignment, asking us or some other person the same basic questions on how a program works, how a function works, how an if() statement works, etc.

    By seeing it happen live, one step at a time using the debugger, you get to learn these things. By just luckily writing a program that "works", but never knowing why it works, gets you nowhere in the learning process. Once you have the necessary skills as a C++ programmer to have confidence in knowing how code will flow and what the various constructs will do, do you then take shortcuts by setting breakpoints and such.


    Paul McKenzie
    Last edited by Paul McKenzie; April 4th, 2013 at 12:39 PM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.