Okay, So i'm close to finishing up my program. I just need a few more things.
By the way, all of you are AMAZINGLY great. I appreciate all the help.

Alright... My program outputs Names, their Bowling scores, and How many points they have received (the points still need to be worked on, i'll post about that later).

How do I get all of that output to be sent to a printer and be printed?

Recommended Answers

All 6 Replies

Member Avatar for GreenDay2001

I think there is no way in Standard C++. You will have to use your OS API.
In old non standard compilers there used to be stdprn stream for windows and DOS, but now no longer supported(and ofcourse non stardard hence not advisable too), so I think there is no other way than to use your System API.

Well, you can start by telling us what your compiler and OS are. :icon_rolleyes:

I'm using Dev-C++ as my compiler, and my OS is Windows XP

I don't imagine you want to do the full blown Win32 solution, so try the options here and see if any of them work for you.

Okay, So i'm close to finishing up my program. I just need a few more things.
By the way, all of you are AMAZINGLY great. I appreciate all the help.

Alright... My program outputs Names, their Bowling scores, and How many points they have received (the points still need to be worked on, i'll post about that later).

How do I get all of that output to be sent to a printer and be printed?

Why didn't you just do this in Excel?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.