C Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming LanguagesC Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old June 16th, 2003, 04:42 PM
Longhair Longhair is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Posts: 14 Longhair User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Borland C++ Builder Newbie Question

Hi, I have d/l'ed a trial version of Borland C++ Builder and I was messing around with some sample programs...

When I press F9 (run) a new window opens up, but it is totally blank so I can't see if the program works or not even though it was compiled and built correctly.

Is there some kind of option so I would be able to see anything in the new window??

Reply With Quote
  #2  
Old June 17th, 2003, 08:06 AM
AGibel's Avatar
AGibel AGibel is offline
Bad Andy
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: OH
Posts: 275 AGibel User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Hey, two weeks ago I was in the same boat as you. Learning builder for the first time. Except, I'm not just playing with it, my job depends on it As for you question, I'm going to go out on a limb here and guess that you are used to VC++ or other non graphical IDE. I was the same way. If you don't know already, BCB is very different when it comes to that. Sorry if you know any of this already, but to me, the blank page you decribe sounds like a form. If you are using commands such as cout, etc, they wont work because they are meant to print to a console screen. You instead have to create a form(hit f12 from code window). Once you make buttons etc, you have to make event handlers to respond to actions such as click or drag over. You can however stil make a console program if that is what you want. Go to File|New|Other then select the console wizard and hit OK. This will allow for the standard console. However, unlike VC++, there is no pause built in for the end of programs you make. So if you want it to pause at the end of your output so that you know what it is saying, add: "#include<conio.h>" to the top of your program and at then, put "getch();" where you want it to pause.
Well, hope I didn't misunderstand your question, and good luck.

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming LanguagesC Programming > Borland C++ Builder Newbie Question


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT