Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Application?

Status
Not open for further replies.
Mar 10, 2004
3
US
Hello,

I just started to learn C++ and i bought Borland C++ Builder 5. When i start a console wizard, i can put code in the source code so you see the outcome in the dos mode. But if i choose 'application' and i type the same code in the .cpp file, i dont see anything in the form. I can take a label but why doesn't he compile the code in an application, when it does in a console wizard?
Thanx
 
Windows applications do not display the output of printf(), cout, or any of the standard console[b/] functions. I don't have Builder 5, but older borland's had a function called _InitEasyWin() that would allow you to display the output of printf(), cout, etc in a standard Windows Application.


Kim_Christensen@telus.net
 
try this: Label1->Caption="hello"; thats how you show something thru a label. console is quite a bit different from application, you should find a tutorial 4 it. Cyprus
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top