User forums => Using Code::Blocks => Topic started by: heliang6291 on March 29, 2013, 04:34:39 pm
Title: How to get the method(member) of class in codeblocks
Post by: heliang6291 on March 29, 2013, 04:34:39 pm
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.
Title: Re: How to get the method(member) of class in codeblocks
Post by: oBFusCATed on March 29, 2013, 05:56:36 pm
Which version and OS?
Title: Re: How to get the method(member) of class in codeblocks
Post by: Radek on March 31, 2013, 10:53:49 am
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.
Title: Re: How to get the method(member) of class in codeblocks
Post by: heliang6291 on April 02, 2013, 04:50:48 pm
My CodeBlocks version is 12.11,my os is Win XP sp3