 |
C++Talk.NET C++ language newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Guest
|
Posted: Tue Sep 26, 2006 9:10 am Post subject: command-line arguments program |
|
|
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
|
Posted: Tue Sep 26, 2006 9:10 am Post subject: Re: command-line arguments program |
|
|
? <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 |
|
 |
|
|
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
|
|