As far as I know, this can be accomplished. Printing to a hardware printer is simply a level of abstraction that can be accomplished via printer drivers, etc. I did a quick Google search and came up with this ... I don't know if it will be of much help to you: http://www.programmersheaven.com/zone3/cat973/21965.htm
The colour list is ok. you know that's why i use printf/scanf
In <conio.h> you may find: cprintf(...);cscanf(...) with the same paramters as ...scanf() and ...printf() functions. The difference is that it reads and writes in colours! The textcolor is changed through textcolor() function described by Fire Net. Also, keep in mind that you can make the text blink!: textcolor(BLUE+BLINK). clrscr(void) clears the screan and clreol erases the current line. gotoxy(int x,int y) sets the screen coordinates(where to write) wherex(void);wherey(void) return screen coordinates x=wherex(); I nearly forgot: cputs(char *s) writes a coloured string and cgets(char *s) reads a colour string. In <conio.h> there are even more functions:
-getch(void) gets a character - can be used to stop program execution until a key is pressed----!!!!does not echo on screen
-getche(void) is exactly the same but echos on screen.
-ungetch(void) sends the las read characte back to stdin making it the next character to be read
-kbhit(void) tests if a key was pressed--useful in loops:
while (!kbhit()) putch("a");
-putch(char c) writes the character on screen
I am working creating a fully encapsulated, homogeneous singly linked data structure. The Listing class and SinglyLinkedList class that are part of the whole application compile fine, but the problem ...