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!!!
"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!!!
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.