Click here to Skip to main content
15,892,537 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionConverting a number to binary Pin
programming.student4-Aug-08 1:48
programming.student4-Aug-08 1:48 
AnswerRe: Converting a number to binary Pin
Cedric Moonen4-Aug-08 1:54
Cedric Moonen4-Aug-08 1:54 
AnswerRe: Converting a number to binary Pin
Hamid_RT4-Aug-08 6:47
Hamid_RT4-Aug-08 6:47 
GeneralRe: Converting a number to binary Pin
Cedric Moonen4-Aug-08 7:49
Cedric Moonen4-Aug-08 7:49 
GeneralRe: Converting a number to binary Pin
David Crow4-Aug-08 16:47
David Crow4-Aug-08 16:47 
QuestionAny discuss forum for ATM XSF programming? Pin
fantasy12154-Aug-08 0:25
fantasy12154-Aug-08 0:25 
AnswerRe: Any discuss forum for ATM XSF programming? Pin
_AnsHUMAN_ 4-Aug-08 1:15
_AnsHUMAN_ 4-Aug-08 1:15 
QuestionProblem with int_type Pin
T.RATHA KRISHNAN4-Aug-08 0:11
T.RATHA KRISHNAN4-Aug-08 0:11 
Hi!
The following code shows error.

protected:
	virtual int_type uflow()
	{
		int_type v = base_type::uflow();
		count_ += egptr() - gptr();
		int p = count_ * 40 / size_;
		if (p > prev_perc_)
		{
			std::cout << "*";
			prev_perc_ = p;
		}
		return v;
	}


The errors are:

error C2146: syntax error : missing ';' before identifier 'uflow'
error C2433: 'TestGUIApp::int_type' : 'virtual' not permitted on data declarations
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
warning C4183: 'uflow': missing return type; assumed to be a member function returning 'int'
error C2065: 'int_type' : undeclared identifier
error C2146: syntax error : missing ';' before identifier 'v'
error C2065: 'v' : undeclared identifier
error C2653: 'base_type' : is not a class or namespace name
error C3861: 'egptr': identifier not found
error C3861: 'gptr': identifier not found


How do I resolve these errors?
AnswerRe: Problem with int_type Pin
toxcct4-Aug-08 0:22
toxcct4-Aug-08 0:22 
AnswerRe: Problem with int_type Pin
sudhir_Kumar4-Aug-08 0:43
sudhir_Kumar4-Aug-08 0:43 
AnswerRe: Problem with int_type Pin
vikas amin4-Aug-08 8:04
vikas amin4-Aug-08 8:04 
AnswerRe: Problem with int_type Pin
Alan Balkany4-Aug-08 8:13
Alan Balkany4-Aug-08 8:13 
QuestionHow to draw a circle on the bitmap dynamically and find the region of that circle draw on bitmap? Pin
pallaka3-Aug-08 22:56
pallaka3-Aug-08 22:56 
AnswerRe: How to draw a circle on the bitmap dynamically and find the region of that circle draw on bitmap? Pin
Alan Balkany4-Aug-08 7:10
Alan Balkany4-Aug-08 7:10 
QuestionRe: How to draw a circle on the bitmap dynamically and find the region of that circle draw on bitmap? Pin
Mark Salsbery4-Aug-08 7:41
Mark Salsbery4-Aug-08 7:41 
QuestionHow to execute sql statement with null terminated characters using SQLExecDirect [modified] Pin
Programm3r3-Aug-08 22:11
Programm3r3-Aug-08 22:11 
AnswerRe: sprintf like function in memory funtions Pin
Nibu babu thomas3-Aug-08 22:35
Nibu babu thomas3-Aug-08 22:35 
AnswerRe: sprintf like function in memory funtions Pin
Cedric Moonen3-Aug-08 22:40
Cedric Moonen3-Aug-08 22:40 
QuestionRe: sprintf like function in memory funtions Pin
Programm3r3-Aug-08 23:10
Programm3r3-Aug-08 23:10 
QuestionRe: sprintf like function in memory funtions Pin
Programm3r3-Aug-08 23:35
Programm3r3-Aug-08 23:35 
QuestionVirtual List for CTreeCtrl? Pin
bosfan3-Aug-08 21:52
bosfan3-Aug-08 21:52 
AnswerRe: Virtual List for CTreeCtrl? Pin
Naveen3-Aug-08 22:16
Naveen3-Aug-08 22:16 
GeneralRe: Virtual List for CTreeCtrl? Pin
bosfan3-Aug-08 22:21
bosfan3-Aug-08 22:21 
QuestionPlease help !!! Pin
C++myLife3-Aug-08 20:59
C++myLife3-Aug-08 20:59 
AnswerRe: Please help !!! Pin
ThatsAlok3-Aug-08 21:28
ThatsAlok3-Aug-08 21:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.