tags:

views:

448

answers:

3

I am doing a project in C++ and I want to open PDF files. How can I do it in turbo c++? Do I have to switch to another IDE?

Edited: I am doing an "E-book management" in c++. After managing the software i wanted to open pdf file through my program and do no access adobe reader or aome other. Sorry for incomplete question.

+1  A: 

If your intention is to open the PDF for viewing (like you probably do with your PDF viewer, e.g. Acrobat Reader), and not to open the file programmically, you cannot do it in Turbo C++ IDE.

Try opening the IDE in non-full-screen window, and you will be able to see the IDE and the PDF (in the Acrobat Reader) at the same time.

Igor Oks
While the question is very vague indeed, why shouldn't it be possible? :)
OregonGhost
Because when the asker mentioned the IDE, it became quite clear that he wants to open the PDF for viewing (like he does with the acrobat reader), and not to open the file programmically. Which isn't possible in Turbo C++.
Igor Oks
@Igor - if that is the case then the question should be closed because it is not programming related.
Otávio Décio
I clarified the point :)
Igor Oks
i wanted to do it programmically.I mentioned IDE because turbo is older compiler and may not support different library support.
+1  A: 

You can add PDF support to your application with TechSoft's PDF library. Which IDE you use shouldn't matter.

Jekke
A: 

The Poppler library is a C++ library for rendering PDFs to any arbitrary format, whether to screen or image. It's very easy to extend, and I wrote a program for rendering PDFs to a custom image format in about 150 lines, in a little under 5 hours - and most of that work was in exporting the custom image format. A simple renderer came in under 50 lines and took me less than an hour to write.

greyfade