![]() |
| | #1 |
| Registered User Join Date: Jul 2006
Posts: 4
| Changing font style and color of text in C I want to set the given numbers to red in a sudoku. P.S. Are there any online sudoku source codes in C? Thank you. |
| bigKIDmarie is offline | |
| | #2 |
| and the hat of Jobseeking Join Date: Aug 2001 Location: The edge of the known universe
Posts: 21,710
| > How can I call library and change them? Well that would depend on your OS / Compiler and project type (none of which you state). In the meantime, try the FAQ http://faq.cprogramming.com/cgi-bin/...&id=1043284392 > Are there any online sudoku source codes in C? Have you tried google? |
| Salem is offline | |
| | #3 |
| Registered User Join Date: Jul 2006
Posts: 4
| Does this code change color of all the text? Can I change color of certain words only? Thank you |
| bigKIDmarie is offline | |
| | #4 |
| Registered User Join Date: Jul 2006
Posts: 4
| When I compile the following code, an error occurs. I use Dev-C++. Does this software have the library conio.h? Thank you. #include <stdio.h> #include <conio.h> int main ( void ) { textcolor ( MAGENTA ); cprintf ( "This is a test\n" ); return 0; } |
| bigKIDmarie is offline | |
| | #5 |
| Registered User Join Date: Jul 2006
Posts: 4
| Thanks MDofRockyView, I have done this but an error occurs. My Dev-c++ doesn't say what error it is... |
| bigKIDmarie is offline | |
| | #6 |
| and the hat of Jobseeking Join Date: Aug 2001 Location: The edge of the known universe
Posts: 21,710
| > I use Dev-C++. Does this software have the library conio.h? Scroll down the FAQ to where it describes the Win32 console API functions. conio is a hack for backward compatibility with DOS. Oh, and be more specific than "an error occurs". Paste error messages. |
| Salem is offline | |
![]() |
| Thread Tools | |
| Display Modes | |
|