News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

Problem with customized folding point

Started by meouda, August 24, 2016, 12:15:29 PM

Previous topic - Next topic

meouda

Dear all,

I am trying to use the customized folding point to collapse a commented block. According to Code::Blocks user manual to create a user defined folding points we use something like that


// {
int a= 0;
// }


But this will not generate a new folding point unless we remove the two comment marks, so the  code will looks like:


{
int a= 0;
}


Unfortunately this will produce the following compiling error:

Quoteerror: expected unqualified-id before '{' token|

Any suggestions?

I am using Code::Blocks 16.01 on Windows 7 x64.

Best regards.

Jenna

Remove the blank between the comment and the braces.

meouda

I did , but unfortunately still not working (see attached screenshot)

Jenna

What's the exact name of the file (especially which file-ending has it) ?

meouda


BlueHazzard