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.
i have to make some programs for a project and when i execute them in ms-dos mode (C++) there's no scroll bar. I have to see my results but i cant. Does anyone knows where to change those setting because i know there's suppose to be one thanks Al
Name: Jim Clark Date: March 4, 2001 at 10:28:05 Pacific
Reply:
Whoa...this is NOT a windows problem, and not a Win 98 problem. I think this is a C++ programming problem. You are going to have to write the event handler that creates a scroll bar in DOS...which has nothing to do with Win 98. So your question is NOT an operating system question, it is a PROGRAMMING PROBLEM. I suggest you go to a C++ User Group and ask your question.
0
Response Number 2
Name: sammy Date: March 4, 2001 at 15:20:23 Pacific
Reply:
Al, if you are writing C++ programs and you want to see all of the output. In DOS You must write your output to a file. If you know how to do this. You'll need a fstream file pointer. It is very similar to using cout.The Proper syntax is. #include ofstream filptr; //create ofstream object filptr.open("filename.txt",ios::app)//open file filptr<<"\n just like cout"<filptr.close();//close file Once written to a disk file you can open the file in the DOS editor, notepad from windows explorer or use The DOS Type commad type"filename"|more. Otherwise your output from memory will scroll off the screen.
0
Response Number 3
Name: sammy Date: March 4, 2001 at 15:29:08 Pacific
Reply:
Al Sorry this forum interperts c++ syntax as HTML the include statement should be #include use the angle brackets fstream.h create an ofstream object, ofstream filptr; Then replace cout with filptr. close the file when done with filptr.close(); then open your file in the dos editor. at prompt type edit"filename" and presto scrollbars. hope this helps
Summary: Getting an error message when running Autocad in MS-DOS mode now. I replaced the hard drive recently, and reloaded Windows 98. Forgot to take down all the notes as to what was in CONFIG.SYS and AUTOEX...
Summary: Stuck in MS-DOS mode, and can't start Windows. Every time I restart my computer, I get the message "Windows 98 is now starting... then I see part of the boot screen, and at the bottom of the screen it...