I have a dialog based application whith some cotrols (buttons and editbox), in VisualC++ 6.
Now I want variables in the dialog to respond to keystrokes whith the onKeyDown() or onChar()...
Type: Posts; User: codewarrior
I have a dialog based application whith some cotrols (buttons and editbox), in VisualC++ 6.
Now I want variables in the dialog to respond to keystrokes whith the onKeyDown() or onChar()...
This is how Im going to use my classes, and whats the problem is about. Sorry if I was unclear on the subject.
In main() I create an array of Customer objects whith the new operator, each of the...
No, it works fine the file is called strang.h/strang.cpp and the class is named String, so that is not the problem. The problem is to find out how many bytes to read/write to/from file, since one...
Say I have an array of ojects, one of the members in each object is a class called string that I have made myself, the one member in the string class is a pointer to char (char* str).
Now I want to...
Thank YOU
Thanks, but I have tried that , but it prints all swedish characters like carbage.
Im trying to get cout to understand swedish characters, anyone know howto?
If I prompt the user to write to cin.getline(), and then write it to the std.output it works fine.
Like this:
char...
OK, thanx. But I found out a way myself, by making a class with gotoxy(), setcolor() and highligthrow() member-functions. Wasnt so hard when I figured out where to look(windows.h).
Cant you do something like this to?
cin.getline(a, 3);
cin >> b;
cin.get(); //takes care of anthing in the buffer
cin.get(c).get(); //reads to c and takes care of the leftovers in the buffer...
Can anyone give me a hint on how to do menus and menubar in console programs. Or a simple list of options you can use the tab-key to tab to the desired option and return key to make the choice?
Im...