|
-
April 15th, 1999, 04:07 AM
#1
Print
Hi ppl,
How do u write to a file, call the particular file n then print out the contents of the file in visual c++???
Thanks! :-)
-
April 15th, 1999, 04:55 AM
#2
Re: Print
If you make a console application:
you can use the functions fopen (to open a file for writing) ,
fread,or fscanf , or others (to read a file) , and printf ,or others,
to display the file content to screen .
If you make a windows application , to display the file content to
window client area you can use (for example) the API function TextOut .
-
April 15th, 1999, 11:38 PM
#3
Re: Print
Oops i think u got me all wrong. What i meant was how to write information which are not codes into a text file and print out the content of the particular text file which i have already written.i particularly interested in how to call the text file.
thanks again! :-)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|