Objectmix
Tags Register Mark Forums Read

Reading a text file which is easy to read when printed : c++

This is a discussion on Reading a text file which is easy to read when printed within the c++ forums in Programming Languages category; I've written some code that reads a text file. I have a requirement that the text file also be in a format that's easy to read when it's printed. In a prior project, I had used some spreadsheet commands to generate the text data in a neat format by inserting variable numbers of spaces for each data item, based on the actual character count of the data item. Now, with this new project, I have many more columns of data and I've exceeded Excel's formula length. Any suggestions about how to meet both the requirements? I.E., reading the data with ...


Object Mix > Programming Languages > c++ > Reading a text file which is easy to read when printed

c++ comp.lang.c++ usenet archive

Reply

 

LinkBack Thread Tools
  #1  
Old 11-07-2008, 05:08 PM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Reading a text file which is easy to read when printed

I've written some code that reads a text file. I have a requirement
that the text file also be in a format that's easy to read when it's
printed. In a prior project, I had used some spreadsheet commands to
generate the text data in a neat format by inserting variable numbers
of spaces for each data item, based on the actual character count of
the data item. Now, with this new project, I have many more columns of
data and I've exceeded Excel's formula length.

Any suggestions about how to meet both the requirements? I.E.,
reading the data with the program and in hardcopy? I've played around
with inserting blank columns in the spreadsheet before pasting the
data into a text file but of course I get a tab for each blank cell
and the data isn't lined up in columns. Right now, the program code,
doesn't discard tab characters but I think there's a way to do that.

Thanks,

Miner Jeff
  #2  
Old 11-07-2008, 05:15 PM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Re: Reading a text file which is easy to read when printed

Miner Jeff wrote:
> I've written some code that reads a text file. I have a requirement
> that the text file also be in a format that's easy to read when it's
> printed. In a prior project, I had used some spreadsheet commands to
> generate the text data in a neat format by inserting variable numbers
> of spaces for each data item, based on the actual character count of
> the data item. Now, with this new project, I have many more columns of
> data and I've exceeded Excel's formula length.
>
> Any suggestions about how to meet both the requirements?


Use OpenOffice?

--
Ian Collins
  #3  
Old 11-07-2008, 05:41 PM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Re: Reading a text file which is easy to read when printed

Miner Jeff writes:

> I've written some code that reads a text file. I have a requirement
> that the text file also be in a format that's easy to read when it's
> printed. In a prior project, I had used some spreadsheet commands to
> generate the text data in a neat format by inserting variable numbers
> of spaces for each data item, based on the actual character count of
> the data item. Now, with this new project, I have many more columns of
> data and I've exceeded Excel's formula length.
>
> Any suggestions about how to meet both the requirements? I.E.,


Well, when you come up with a question about the C++ programming language,
you will actually meet the requirements for posting questions to this
newsfroup.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEABECAAYFAkkUxC8ACgkQx9p3GYHlUOIZbgCfZU5JPIBKAXH4ozmi5bqSgsG0
anQAnRv5FS0f5y/9364lLbgpyt1o24M4
=fdO/
-----END PGP SIGNATURE-----

  #4  
Old 11-10-2008, 08:47 AM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Re: Reading a text file which is easy to read when printed

On Nov 7, 4:41 pm, Sam <s...@email-scan.com> wrote:
>  application_pgp-signature_part
> < 1KViewDownload
>
> Miner Jeff writes:
> > I've written some code that reads a text file. I have a requirement
> > that the text file also be in a format that's easy to read when it's
> > printed. In a prior project, I had used some spreadsheet commands to
> > generate the text data in a neat format by inserting variable numbers
> > of spaces for each data item, based on the actual character count of
> > the data item. Now, with this new project, I have many more columns of
> > data and I've exceeded Excel's formula length.

>
> > Any suggestions about how to meet both the requirements?  I.E.,

>
> Well, when you come up with a question about the C++ programming language,
> you will actually meet the requirements for posting questions to this
> newsfroup.


What's a newsfroup?

I solved the problem after I made the post.

Jeff
  #5  
Old 11-11-2008, 03:14 AM
Junior Member
 
Join Date: Nov 2009
Posts: 0
Application Development is on a distinguished road
Default Re: Reading a text file which is easy to read when printed

Miner Jeff wrote:
> On Nov 7, 4:41 pm, Sam <s...@email-scan.com> wrote:
>> application_pgp-signature_part
>> < 1KViewDownload
>>
>> Miner Jeff writes:
>>> I've written some code that reads a text file. I have a requirement
>>> that the text file also be in a format that's easy to read when it's
>>> printed. In a prior project, I had used some spreadsheet commands to
>>> generate the text data in a neat format by inserting variable numbers
>>> of spaces for each data item, based on the actual character count of
>>> the data item. Now, with this new project, I have many more columns of
>>> data and I've exceeded Excel's formula length.
>>> Any suggestions about how to meet both the requirements? I.E.,

>> Well, when you come up with a question about the C++ programming language,
>> you will actually meet the requirements for posting questions to this
>> newsfroup.

>
> What's a newsfroup?


A colloquial way to spell "newsgroup". They often come with FAQs
where it's written down what's on topic in them and how to post
questions.

> I solved the problem after I made the post.


Good!

> Jeff


Schobi
Reply

Thread Tools



All times are GMT -5. The time now is 12:50 AM.

Managed by Infnx Pvt Ltd.