News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

Why don't block comments work?

Started by Zamp, August 09, 2008, 03:53:00 AM

Previous topic - Next topic

Zamp

I'm using the svn build rev 5160 on openSUSE 11.0, and I can't get block comments to work.

I'll have some code I want to comment, but when I put '/*' at the beggining, it only comments out the first line, and maybe the second.

For example, I have this class I want to comment out, and when I try only the first two lines got gray and commented:

/*class Exhaust {
    private:
        int x, y;
        int frame;
        SDL_Surface *type;
    public:
        Exhaust(int X, int Y);

        void show();
        bool is_dead();
};*/


I looked in all the options, as well as searched the forum and wiki, but couldn't find anything.

frithjofh

Hi,

I'm using SuSE 11.0 x86_64 and the code::blocks build 5177.

When I paste your code in a c++ file of my project, all of it gets commented out in grey, as it should. See atachment *.jpg

Maybe it's just the version you use and upgrading would help...

Greetings

Nausea


[attachment deleted by admin]
architect with some spare time  -  c::b compiled from last svn  -   openSuSE leap x86_64  -  AMD FX-4100