Click here to Skip to main content
15,913,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: how to make a form behind all the desktop icons Pin
goldli14-Mar-07 16:21
goldli14-Mar-07 16:21 
QuestionBuilding DLL Pin
cbrack66614-Mar-07 13:47
cbrack66614-Mar-07 13:47 
QuestionCScrollView doesn't respond to mousewheel or keyboard Pin
SeniorBob14-Mar-07 13:22
SeniorBob14-Mar-07 13:22 
Questionim just learning to prgram and have troubleing starting this question Pin
bigtimer102214-Mar-07 12:32
bigtimer102214-Mar-07 12:32 
AnswerRe: im just learning to prgram and have troubleing starting this question Pin
Bram van Kampen14-Mar-07 16:30
Bram van Kampen14-Mar-07 16:30 
AnswerRe: im just learning to prgram and have troubleing starting this question Pin
_AnsHUMAN_ 14-Mar-07 18:52
_AnsHUMAN_ 14-Mar-07 18:52 
GeneralRe: im just learning to prgram and have troubleing starting this question Pin
bigtimer102214-Mar-07 18:54
bigtimer102214-Mar-07 18:54 
GeneralRe: im just learning to prgram and have troubleing starting this question Pin
_AnsHUMAN_ 14-Mar-07 19:03
_AnsHUMAN_ 14-Mar-07 19:03 
<code>
int _tmain(int argc, _TCHAR* argv[])
{
	int number;
	cout<<"Please enter the number-";
	cin>>number;
	int temp,r;
	int count=0;
	bool numberFound=false;
	for(int i=0;i<=9;i++)
	{
		count=0;
		temp=number;
		while(temp!=0)
		{
			r=temp%10;
			temp=temp/10;
			if(r==i)
			{
				count++;
				
			}
		}
		if(count>0)
			cout<<i<<" " <<count<<endl;
	}
	return 0;
}

You can modify this to use switch case

Somethings seem HARD to do, until we know how to do them.
Wink | ;-) _AnShUmAn_

GeneralRe: im just learning to prgram and have troubleing starting this question Pin
bigtimer102214-Mar-07 19:03
bigtimer102214-Mar-07 19:03 
QuestionSimple Problem? Blind Author cant see? Pin
LeighRogers14-Mar-07 11:50
LeighRogers14-Mar-07 11:50 
AnswerRe: Simple Problem? Blind Author cant see? Pin
John R. Shaw14-Mar-07 15:33
John R. Shaw14-Mar-07 15:33 
AnswerRe: Simple Problem? Blind Author cant see? Pin
Hamid_RT14-Mar-07 19:15
Hamid_RT14-Mar-07 19:15 
QuestionNeed help communicating with MFC dialog boxes (domodal) [modified] Pin
CoffeeAddict1914-Mar-07 11:10
CoffeeAddict1914-Mar-07 11:10 
AnswerRe: Need help communicating with MFC dialog boxes (domodal) Pin
toxcct14-Mar-07 11:23
toxcct14-Mar-07 11:23 
GeneralRe: Need help communicating with MFC dialog boxes (domodal) Pin
andersod214-Mar-07 12:27
andersod214-Mar-07 12:27 
GeneralRe: Need help communicating with MFC dialog boxes (domodal) [modified] Pin
CoffeeAddict1914-Mar-07 18:24
CoffeeAddict1914-Mar-07 18:24 
GeneralRe: Need help communicating with MFC dialog boxes (domodal) Pin
andersod214-Mar-07 18:42
andersod214-Mar-07 18:42 
GeneralRe: Need help communicating with MFC dialog boxes (domodal) Pin
andersod214-Mar-07 13:13
andersod214-Mar-07 13:13 
GeneralRe: Need help communicating with MFC dialog boxes (domodal) Pin
toxcct14-Mar-07 22:07
toxcct14-Mar-07 22:07 
GeneralRe: Need help communicating with MFC dialog boxes (domodal) Pin
andersod215-Mar-07 10:30
andersod215-Mar-07 10:30 
Questionpassing function pointer Pin
ScotDolan14-Mar-07 10:53
ScotDolan14-Mar-07 10:53 
AnswerRe: passing function pointer Pin
Mark Salsbery14-Mar-07 11:42
Mark Salsbery14-Mar-07 11:42 
GeneralRe: passing function pointer Pin
ThatsAlok14-Mar-07 19:34
ThatsAlok14-Mar-07 19:34 
GeneralRe: passing function pointer Pin
Mark Salsbery14-Mar-07 20:13
Mark Salsbery14-Mar-07 20:13 
GeneralRe: passing function pointer Pin
ThatsAlok14-Mar-07 20:20
ThatsAlok14-Mar-07 20:20 

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.