•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the C++ section within the Software Development category of DaniWeb, a massive community of 456,546 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,377 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our C++ advertiser: Programming Forums
Views: 924 | Replies: 4
![]() |
•
•
Join Date: Oct 2006
Location: the Netherlands
Posts: 1,825
Reputation:
Rep Power: 11
Solved Threads: 192
system("cls"); for clearing the screen. This is NOT portable so it's not a good thing to use it. Why do you need it?Gotoxy(); is a different story. You first need a handle to your console window, use GetConsoleWindow() for that. Then when you have the handle use SetConsoleCursorPosition() to set the cursor.Regards Niek
Want better/more replies to your questions? Wrap your code in [code] [/code] tags!
do NOT pm me for help, in the best case, you'll get ignored
do NOT pm me for help, in the best case, you'll get ignored
•
•
Join Date: Jun 2005
Location: Novi Sad, Serbia
Posts: 273
Reputation:
Rep Power: 6
Solved Threads: 29
•
•
Join Date: Oct 2006
Location: the Netherlands
Posts: 1,825
Reputation:
Rep Power: 11
Solved Threads: 192
•
•
•
•
Well the best is to avoid non standard functions so you will not have this type of problems. For clrscr() read this. I like option 4....
Niek
Want better/more replies to your questions? Wrap your code in [code] [/code] tags!
do NOT pm me for help, in the best case, you'll get ignored
do NOT pm me for help, in the best case, you'll get ignored
![]() |
•
•
•
•
•
•
•
•
DaniWeb C++ Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Other Threads in the C++ Forum
- Previous Thread: Help With Transposition Cipher Loop ...
- Next Thread: creating variables



Linear Mode