News:

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

Main Menu

How to get the method(member) of class in codeblocks

Started by heliang6291, March 29, 2013, 04:34:39 PM

Previous topic - Next topic

heliang6291

Hi everybody
When I write the method of class,I can't get the method of class when I'm using "::" ,for example


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.

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

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