User forums > Using Code::Blocks
How to get the method(member) of class in codeblocks
(1/1)
heliang6291:
Hi everybody
When I write the method of class,I can't get the method of class when I'm using "::" ,for example
--- Code: ---class exp
{
public:
void get();
};
void exp:: //Now, codeblocks can't show the list of the method "get()"
exp p;
p. //Don't show the list.
--- End code ---
oBFusCATed:
Which version and OS?
Radek:
First of all, try changing the name of your class. exp() is a standard math function. It happens often that the parser gets confused if you "overload" such standard identifiers.
heliang6291:
My CodeBlocks version is 12.11,my os is Win XP sp3
Navigation
[0] Message Index
Go to full version