Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How do I make an application print text??????

Status
Not open for further replies.

TheProgramer

Programmer
Apr 10, 2004
25
0
0
US
How do I make an application print text??????
All; I want is to make a program simply print any text that was displayed in my console application.
Thanks in advance!

--TheProgramer--
C++ Programer since 2004.
You can contact me at:
theprogramer2004@yahoo.com
 
Do you mean something like this:

Code:
printf ("Hello, world!\n");

Or maybe in C++:
Code:
cout << "Hello, world!\n";

Or do you mean "print" as in send to a printer?
Code:
FILE *lp = fopen ("LPT1", "w");
fprintf (lp, "Hello, world!\n");
fclose (lp);
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top