Hi,
How would I print text using Borland C++ or Turbo C++?
Thank You
Printable View
Hi,
How would I print text using Borland C++ or Turbo C++?
Thank You
printf("Text printed");
:)
Are you asking how to use the printer ?
This thing prints from a printer.PHP Code:
#include <stdio.h>
main()
{
float f =2.0134;
fprintf(stdprn, "Mahurshi writes his first Printer program.\n\n");
fprintf(stdprn, "and now for some numbers:\n\n");
fprintf(stdprn, "The square of %f is %f", f, f*f);
fprintf(stdprn, "\f");
}