i want to know that how i can take the print of a c++ prog. o/p.
how i can take the print of out put of C++ prog. in turbo C++4.1
Collapse
X
-
Tags: None
-
clear your window (before run your program)
then run your Program
then use Print screen(it is in Keyboard) to take printout. -
Originally posted by krishanbalodai want to know that how i can take the print of a c++ prog. o/p.
If you want to print something from program itself, use
fprintf(). For example:
[code=c]
fprintf(stdprn, "this is my output:\n", yourVariable)
[/code]
Hope it helps
QiComment
-
Originally posted by questionitYou can do CTRL+Print Screen .....
[code=c]
fprintf(stdprn, "this is my output:\n", yourVariable)
[/code]
Hope it helps
QiComment
-
Originally posted by hariharanmcaCan you explain what is this stdprn in your code?
FILE
stderr
stdout
etc
stdprn is a standard printer stream in C.
Regards
QiComment
Comment