Click here to Skip to main content
15,921,203 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalguide for packet sniffer(its urgent) Pin
smarty122-Apr-05 22:30
smarty122-Apr-05 22:30 
GeneralRe: guide for packet sniffer(its urgent) Pin
Antony M Kancidrowski3-Apr-05 1:54
Antony M Kancidrowski3-Apr-05 1:54 
QuestionMFC : OnCtlColor causes problems for combo box? Pin
gregshukla2-Apr-05 22:24
gregshukla2-Apr-05 22:24 
AnswerRe: MFC : OnCtlColor causes problems for combo box? Pin
gregshukla3-Apr-05 0:05
gregshukla3-Apr-05 0:05 
AnswerRe: MFC : OnCtlColor causes problems for combo box? Pin
Anonymous3-Apr-05 0:51
Anonymous3-Apr-05 0:51 
Generalpacket sniffer using vc++ Pin
smarty122-Apr-05 17:55
smarty122-Apr-05 17:55 
GeneralRe: packet sniffer using vc++ Pin
ThatsAlok2-Apr-05 18:01
ThatsAlok2-Apr-05 18:01 
Generaleasy algorythm problem Pin
Anonymous2-Apr-05 17:15
Anonymous2-Apr-05 17:15 
Hi everybody. I'm having a problem with a method for a bank account program. There aren't any sytax problems, it just doesn't do what I think it should do. It's part of the creation of an account and needs to check if the account number has already been assigned to another account. Unfortunatly, it doesn't seem to be checking it.

getAccountCount() returns the number of created accounts.
bool account::setAccountNumber(unsigned int inputNumber) {
	for (int x = 0; x < getAccountCount(); x++) {
		if (assignedAccountNumbers[x] == inputNumber) {
			cout << "\t*Account " << inputNumber << " already exists!*" << endl;
			return false;
		}
	}

	this->accountNumber = inputNumber;

	assignedAccountNumbers[x++] = inputNumber;

	return true;
}

If anybody sees my problem, a little help would be great. Thanks in advance.
GeneralRe: easy algorythm problem Pin
Anonymous2-Apr-05 17:27
Anonymous2-Apr-05 17:27 
GeneralRe: easy algorythm problem Pin
ThatsAlok2-Apr-05 17:58
ThatsAlok2-Apr-05 17:58 
GeneralRe: easy algorythm problem Pin
David Crow4-Apr-05 3:20
David Crow4-Apr-05 3:20 
QuestionHow can acess the pixels of my bmp image? Pin
awasthy2-Apr-05 14:54
awasthy2-Apr-05 14:54 
AnswerRe: How can acess the pixels of my bmp image? Pin
ThatsAlok2-Apr-05 17:36
ThatsAlok2-Apr-05 17:36 
QuestionBring window to top? Pin
Ravi Bhavnani2-Apr-05 14:27
professionalRavi Bhavnani2-Apr-05 14:27 
AnswerWorkaround Pin
Ravi Bhavnani2-Apr-05 14:55
professionalRavi Bhavnani2-Apr-05 14:55 
AnswerRe: Bring window to top? Pin
Michael Dunn2-Apr-05 16:37
sitebuilderMichael Dunn2-Apr-05 16:37 
GeneralRe: Bring window to top? Pin
Ravi Bhavnani2-Apr-05 16:41
professionalRavi Bhavnani2-Apr-05 16:41 
General3ds max XFile Export Pin
akira322-Apr-05 13:04
akira322-Apr-05 13:04 
GeneralDownload XskinExp for 3ds max7 Pin
akira322-Apr-05 12:58
akira322-Apr-05 12:58 
GeneralXSkinExp for 3ds max7 Pin
akira322-Apr-05 12:29
akira322-Apr-05 12:29 
GeneralInheritance Question Pin
sacoskun2-Apr-05 7:21
sacoskun2-Apr-05 7:21 
GeneralRe: Inheritance Question Pin
Michael Dunn2-Apr-05 7:33
sitebuilderMichael Dunn2-Apr-05 7:33 
GeneralA question to save html file Pin
Anonymous2-Apr-05 6:25
Anonymous2-Apr-05 6:25 
GeneralRe: A question to save html file Pin
Michael Dunn2-Apr-05 7:38
sitebuilderMichael Dunn2-Apr-05 7:38 
GeneralRe: A question to save html file Pin
Anonymous2-Apr-05 13:33
Anonymous2-Apr-05 13:33 

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.