LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 06-21-2003, 01:36 AM   #1
ckamheng
Member
 
Registered: Apr 2003
Location: Malaysia
Distribution: Slackware 10.2
Posts: 75

Rep: Reputation: 15
convert .doc to .txt using C++


does anyone know to convert a .doc (binary) file to .txt (ascii) file using C++?

Thanks for help.
 
Old 06-21-2003, 07:07 AM   #2
GtkUser
Member
 
Registered: Sep 2002
Location: Canada
Distribution: Redhat 9.0
Posts: 637

Rep: Reputation: 30
ifstream infile("filename.doc", ios_base::binary);
 
Old 06-21-2003, 08:25 AM   #3
zmedico
Member
 
Registered: Feb 2002
Location: Mission Viejo, California, USA
Distribution: Gentoo
Posts: 707

Rep: Reputation: 30
Maybe you can use http://www.openoffice.org or another office suite that is capable of reading ms .doc files.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert .DOC into .PDF automatically MPANDYA Linux - Software 2 11-08-2005 08:34 AM
Converting PDA DOC to TXT kaaaja Linux - Laptop and Netbook 1 04-26-2005 03:48 PM
how to convert pdf file to doc format. thushara Linux - Newbie 3 03-22-2005 06:29 AM
How to convert xml version of LFS-5.1.1 book to txt format? jml75 Linux From Scratch 1 06-18-2004 06:51 PM
Convert Powerpoint files to txt,html..... devinWhalen Linux - Software 0 07-29-2003 12:12 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration