C++Talk.NET Forum Index C++Talk.NET
C++ language newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

command-line arguments program

 
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++)
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Tue Sep 26, 2006 9:10 am    Post subject: command-line arguments program Reply with quote



Dear Guru,

this is about command-line argument program.
is it possible to generate excel file with the command line program ?

example of the argurment is: C:\test.exe <filename.txt>, which I
compiled test.cpp
if I execute:
test fileA.txt

it will generate two files (one text file, one excel file): fileB.txt
and fileC.xls / fileC.csv

I know the how to program for command-line argument, but I'm not sure
how to generate excel/csv file (with inserting data into it) ? do i
need to include certain library ? If you have good example, it is very
helpful.

Thanks.

Regards.
Back to top
Papastefanos Serafeim
Guest





PostPosted: Tue Sep 26, 2006 9:10 am    Post subject: Re: command-line arguments program Reply with quote



? <newshop (AT) gmail (DOT) com> ?????? ??? ??????
news:1159258794.888515.6640 (AT) i3g2000cwc (DOT) googlegroups.com...
Quote:
Dear Guru,

this is about command-line argument program.
is it possible to generate excel file with the command line program ?

example of the argurment is: C:\test.exe <filename.txt>, which I
compiled test.cpp
if I execute:
test fileA.txt

it will generate two files (one text file, one excel file): fileB.txt
and fileC.xls / fileC.csv

I know the how to program for command-line argument, but I'm not sure
how to generate excel/csv file (with inserting data into it) ? do i
need to include certain library ? If you have good example, it is very
helpful.

Thanks.

Regards.


I'm not sure that I understand your question correctly, but a CSV file
is a plain text file, where semicolons (';') seperate the columns and
newlines ('\n') seperate the rows. You can try to save an excel document
as a CSV file and then open it with notepad to see the CSV format
yourself.


--
Papastefanos Serafeim
serafeim (AT) otenet (DOT) gr
Back to top
Display posts from previous:   
Post new topic   Reply to topic    C++Talk.NET Forum Index -> C++ language (comp.lang.c++) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.