http://calcg.org/newlogo2.png Not Logged in.
Login | Register

General Discussion Board \ Computer Programming \ c language: how do i clear the screen and such?

Click here to log in (you must be logged in to post comments).

AuthorComment
dprog
Marine
avatar
Posted: 13 May 2007
15:44 GMT
Total Posts: 49
How do i clear the screen in C? How do I display in different colors? How do I move the cursor to a specific position on the screen?

ty
Barrett
Administrator
avatar
Posted: 19 May 2007
11:00 GMT
Total Posts: 1676
download the program Dev C/C++... it comes with a lot of examples on how to do stuff like that.

---
-Barrett A
dprog
Marine
avatar
Posted: 22 Jun 2007
08:21 GMT
Total Posts: 49
microsoft visual C++ <3

i d/l dev.

now what?

where is the help file for that?
Master Jc
Dragoon
avatar
Posted: 12 Jul 2007
05:30 GMT
Total Posts: 54
Visual C++? Bah. Use a UNIX text editor. ^_^ Way more fun.

Usually, examples come in the form of sample files that come with the download-able files. Try looking for .h files, as well as other uncompiled C++ source files. (I can't believe I forgot the windows extensions...) Take a lot at 'em, compile them, then test them out. And be sure to read comments.

Hope that helps. :)

---
--Note to self: Warranties are NOT a challenge.
threefingeredguy
Ghost
avatar
Posted: 12 Jul 2007
16:14 GMT
Total Posts: 1189
C++ source files are generally .cpp. .h is for headers, which usually don't give much info unless they're well documented.

---
Someone call for an exterminator?
Master Jc
Dragoon
avatar
Posted: 17 Jul 2007
05:03 GMT
Total Posts: 54
Well, it's a good idea to document them, they're great for summarizing the use of functions.

And thanks for the extension name, I guess my brain just kinda turned off there for a second.

---
--Note to self: Warranties are NOT a challenge.





Portal | My Account | Register | Lost Password or Username | TOS | Disclaimer | Help | Site Search | File Archives Copyright © 2002-2019 CalcG.org