I just put C++ on my machine.
Can someone tell me the steps to create a form?
Thanx,
Grandpa
Printable View
I just put C++ on my machine.
Can someone tell me the steps to create a form?
Thanx,
Grandpa
step 1:
Learn the language properly (if you don't already) by writing console-based apps.
step 2:
look at the C/C++ forum FAQ
I downloaded Dennis Wren's code but I
can't get it to compile.
There is no main()??????
Where did you get Dennis' code from? I haven't seen him around here in months.
This it the FAQ: http://www.vbforums.com/announcement.php?s=&forumid=9
The problem with the missing main() is probably that you have started a project that is a Win32 Console Application when the code you are trying to use is supposed to be a standard Win32 Application. There is a WinMain() function instead.
You would be well advised to learn the ins and outs of console programming before you start creating windows (there are no 'forms' like there are in VB in the Windows API, just 'windows'). That is, if you haven't already. Perhaps you just don't have experience of using the Windows API.
I got to Dennis' code by searching on "Form Creation".
Your info will help me get it compiled.
Thanx
Grandpa
I got it to compile and link once.
After that, if i recall it and make a change, I'm back to square 1.
Can you help again????
Thanx,
Grandpa
Um, well what did you change? I have no idea why code would compile once and then refuse to ever compile again.
I think maybe the code is seen as a console app the second time.
If I'm all wet, let me know.
Thanx,
Grandpa
I was opening the cpp file instead of the workspace.
Thanx again.
Grandpa