Yes, is really strange.
But the most confusing partis that I can initialize the edit box properly in another message such as WM_COMMAND.
I use VC++ and this is not the first headache I have with...
Type: Posts; User: nima_ranjbar
Yes, is really strange.
But the most confusing partis that I can initialize the edit box properly in another message such as WM_COMMAND.
I use VC++ and this is not the first headache I have with...
This is very basic but not for a beginner.
While developing a win32 application:
There is an edit box on a dialog box. Want the edit box to show a text when
the dialog box is being created.
...
Hello,
How can I load resources (.rc files), which I create using notpad, into my VC++ win32 application project. VC++ does not accept .rc file format, in its import resources menu. And when I...
When using functions such as gets to input string, we normally use fflush(stdin) to Clear input buffer for next input.
But when using cin.getline, how to KeyFlush?
TIA
Nima
>>It is poor practice to mix C and C++ I/O. Don't do it, you don't >>get that kind of problem
Again, that is completely true. I am not trying to combine C with C++, am just experiencing different...
>>C and C++ I/O systems buffer differently, (in some cases not at all)
True. As mentiond in my previous post:
char *myString;
myString=new char[20];
cout<<"Name:";
...
I found it's much easier to use C++ specific functions, classes,etc.
Especially that it is nor secure to mix C with C++, for example:
#include <iostream.h>
int main()
{
// char *myString;...
The difference between C and C++ is that C++ is the better C.
When writing C++ code, use cin.getdata instead of gets. And use cout instead of printf. Or perhaps there r some advantages in using C function?
This is the question, I can’t manage to find an answer.
For a person, who knows the basics of programming in C++, what is the fastest way for him to find a job!
There are plenty of opportunities...
As mentioned, here, no one will do ur homework;but this will show you the line, and to be honest, it is very basic:
#include <iostream.h>
class Cbonus
{
double anual, bonus;
int year;...
Hi,
I am a complete newbie, and have got a problem in using an array of character pointers.
When I run this piece of code:
char *record[3];
cout<<"Enter your name:";
cin.getline(*record,10);...