Saturday, June 17, 2017

Visual Studio C++ debugging

Visual Studio C++ debugging

  1. file as stdin in C in command line in visual studio
  2. error C2143: syntax error : missing ';' before 'type'
  3. Visual Studio only supports C89. That means that all of your variables must be declared before anything else at the top of a function.
    EDIT: @KeithThompson prodded me to add a more technically accurate description (and really just correct where mine is not in one regard). All declarations (of variables or of anything else) must precede all statements within a block.

  4. syntax error : missing ';' before 'type' IN C
  5. Invisible editor problem : '0xa0': this character is not allowed in an identifier
  6. code behaviour is strange

No comments:

Post a Comment