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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to make the borland C++ v5 builder run in window mode

Status
Not open for further replies.

AxEwAlL

MIS
Aug 22, 2002
4
SG
How to make the borland C++ v5 builder run in window mode
when you press F9, it will start running but it will run in MSdos mode.

how to make it run in window mode?
as Dos mode cannot scanf
 
Sure that your'e not running in windows console mode?

It's not the same as DOS mode but if Your'e outputting text by using streams and You does not designate it to a certain Memo (or whatever) it defaults to Windows Console mode which looks something like a DOS window. Totte

I don't have a clue.....but sometimes it actually works out right!!!
 
qoute

"Sure that your'e not running in windows console mode?

It's not the same as DOS mode but if Your'e outputting text by using streams and You does not designate it to a certain Memo (or whatever) it defaults to Windows Console mode which looks something like a DOS window.
Totte

I don't have a clue.....but sometimes it actually works out right!!!"

hmm even it run in the Window Console Mode which look something like a DOS window
it also cannot scanf!
and v4.52 it run in a window-look, how to make it into the v4.52 window look?
please help me out ~
 
Send the text with the floating-point into a buffer (char * Buffer = NEW char[large enough]) and do the scanf there....
Remember to delete the buffer when finished with it to avoid memory leaks. Totte

I don't have a clue.....but sometimes it actually works out right!!!
 
hmm
my problem is actually is to change to it from running in that dos-look-window(Builder V5 default) into a notepad-look-window(which Borland C++ v4,52 are using).

not to let it able to scanf
=]
Dear Totte,
i feel you can help me.
 
Maybe i can. From where are you fetching the data to be scanf-ed? Is it at textfile or what? Do You need to see the raw data? How big are they (typically)?

I don't have a clue.....but sometimes it actually works out right!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top