question?

  • Thread starter Thread starter abass
  • Start date Start date
A

abass

How I can simple program with visual C++ that program get
user two number and then add these and show result in
other window.
 
abass said:
How I can simple program with visual C++ that program get
user two number and then add these and show result in
other window.

Basically, your question can be reduced to this: How can I create a simple
dialog-based application with two input boxes and a static control for the
result?

For someone who has experience with Windows this is a 30 minute exercise.
For someone who does not, it can take days to create his first Windows
program. There is no easy way to describe the procedure in a newsgroup post
(at least not for me).

If you use the C language, I'd suggest getting a hold of Charles Petzold
book "Programming Windows". (Be careful to get the right book, the latest
edition uses C#)

If you are more comfortable in C++, I'd suggest Jeff Prosise's book
"Programming Windows with MFC".

Alternatively, you could choose to create a new MFC project in the IDE and
select the "dialog based" application type. The wizard will write the boiler
plate for you. You will need to fill in the details. But without having done
this once or a good reference it will likely be a frustrating experience.

Regards,
Will
 
Back
Top