Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Qbasic convert to C++ question
Name: Dave Date: February 27, 2002 at 07:42:36 Pacific
Comment:
When running Qbasic programs I've written, I am able to just press the enter key to get the equivelent of "0" or no response for a response (or to accept a set response such as "to use 95, press enter" by writting something such as: IF OATemp = "" THEN OATemp = 95, into the program). In C++, a similar program doesn't advance beyond the point where I press the enter key unless I also enter another keyed response. I would have to enter the 95 to get the program to continue. The "IF THEN" form of C++ won't accept the enter key as no response and waits for something else. Is there a way to get C++ to accept the enter key in the same way as Qbasic?
I've tried to find this in books on C and C++ but I guess I don't know what to call it. Would this be a null response?
Name: chelsie Date: February 27, 2002 at 09:32:51 Pacific
Reply:
do ur self a faver chuck ur c++ compiler in the bin and get turbo pascal 7 and type in begin write(' pascal is better than c '); readln; end. and your on to a winner.
0
Response Number 2
Name: .:AlphaOne:. Date: May 1, 2002 at 20:22:38 Pacific
Summary: If you are trying to make VB6 into C++ to compile. I'm guessing your a Linux user or want to convert to App into Linux. Mandrake 9.0 has some tools that allow you to convert some stuff that was made...
Summary: i'm trying to convert a qbasic program into c++. is there a program that could do most or all of it for me? or do i have to do it all line by line? i did find one program that might be able to do i...
Summary: hello, i am not sure whether i am right or not: if there is a program which can convert any assembly code (say, Win32 running on Intel) to c code, that means that any programming can be reverse engin...