Wonderful C ++ comment

zhaozj2021-02-11  212

There are two comments for C : // and / *. Let me introduce you to how to use them for debugging.

Write this:

// *

FUNC1 ()

....... specific code

// * /

Now func1 () is running normally because the program encounters // first, the * comment behind the Bank;

If you want to comment, FUNC1 (), just delete the first /, then compile first encounter / *, have been found

Next * / end comments.

This allows only one symbol to realize the frequently used debugging method.

转载请注明原文地址:https://www.9cbs.com/read-5755.html

New Post(0)