| | |
C language
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
>i want to mean , the change the size in text file
Oh I don't know about that. I would probably pipe it to a *.html file instead.
It allows you to easily change the font, and it's size amongst other things.
For example write this to a html file, which is essentially just saving it with the .html extension...
<html>
<font size="6">hello</font>
</html>
Oh I don't know about that. I would probably pipe it to a *.html file instead.
It allows you to easily change the font, and it's size amongst other things.
For example write this to a html file, which is essentially just saving it with the .html extension...
<html>
<font size="6">hello</font>
</html>
*Voted best profile in the world*
•
•
•
•
Originally Posted by rc_ashish
i am generating report in text file from c language .
and i want fits all columns in a page so i want to reduce the size of text.
Plz help me out...
Ashish
Then your program should, by default write to your files using the font size and style. I think?
I always set it to lucida console font size 10, it helps when you're aligning columns.
*Voted best profile in the world*
Sorrie kiddo you're loosing me now.
That's as much as I know. When you've finished the C program can't you just manually change it back to your original font size. I don't see what the problem is?
Also in notepad if you uncheck wordwrap you can fit all the columns on the page and just use the scrollbars to view it all.
Format>wordwrap
That's as much as I know. When you've finished the C program can't you just manually change it back to your original font size. I don't see what the problem is?
Also in notepad if you uncheck wordwrap you can fit all the columns on the page and just use the scrollbars to view it all.
Format>wordwrap
*Voted best profile in the world*
•
•
Join Date: Mar 2006
Posts: 50
Reputation:
Solved Threads: 2
Erm, you can only set the font size and font whatever if you save the file in a format that provides some extension on formatting, say, like Rich-Text Format (RTF), Hypertext Markup Language (HTML and/or XHTML), Microsoft Word Document, or Portable Document Format (PDF). In other words, you will have to research on one of these formats, and implement them into your C program. I suggest you go with HTML because it's probably the easiest. If you want to work with other formats, try searching Google for their format specification. Alternatively, you can try searching for libraries already written that will write into the format of desire.
Hope this helps.
Hope this helps.
Best Regards, God Bless,
AstroNox
AstroNox
If you mean you want to change front at a laser printer attached directly to your computer or on a network -- that is a pretty complex topic all in itself. There are several c++ classes that can make it somewhat easier, and all require more advanced knowledge of c++. Here is probably one of the more easier examples.
![]() |
Similar Threads
- Which language to learn? (Computer Science)
- I want to get started learning a programming language (Computer Science)
- what is the best scripting language? (Computer Science)
- Uninstalling IE 6 language packs? (Web Browsers)
- Macromedia Coldfusion 5 Language Reference (ColdFusion)
Other Threads in the C++ Forum
- Previous Thread: help required in win32 programming
- Next Thread: How to compile and run this C source!!!!
| Thread Tools | Search this Thread |
api array beginner binary bitmap c++ c/c++ calculator char char* class classes coding compile compiler console conversion count data database delete desktop developer directshow dll download dynamic email encryption error file forms fstream function functions game getline google graph gui homeworkhelper iamthwee ifstream input int integer java lib linkedlist linker linux loop looping loops map math matrix memory multiple news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct template templates test text text-file tree unix url vector video visualstudio win32 windows winsock word wordfrequency wxwidgets






