The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > High Level Programming
Google UNIX.COM


High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Need to convert Binary files to ascii Reza Nazarian UNIX for Advanced & Expert Users 5 11-05-2004 04:46 PM
text files, ASCII files, binary files and ftp transfers Perderabo Answers to Frequently Asked Questions 0 04-08-2004 01:25 PM
word count ascii files madtim UNIX for Dummies Questions & Answers 1 08-27-2002 10:55 AM
viewing binary files in ASCII manjunath UNIX for Advanced & Expert Users 2 04-02-2002 05:32 AM
ASCII Files yialousa UNIX for Dummies Questions & Answers 1 08-09-2001 04:27 AM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-26-2001
Registered User
 

Join Date: Jul 2001
Location: Hong Kong
Posts: 11
Post open ASCII files

Anyone knows how to open an ASCII file by using C

Thanks

Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 10-27-2001
shaik786
Guest
 

Posts: n/a
hi!

In UNIX, all the files are opened in Binary format, so fopen() shouuld work!!!

Rgds
Shaik
Reply With Quote
  #3 (permalink)  
Old 10-27-2001
rwb1959's Avatar
Registered User
 

Join Date: Aug 2001
Location: Virginia, USA
Posts: 438
Unix, unlike DOS, treats every file (and device
for that matter) like a binary stream of bytes.
The open() system call doesn't need those *$!!*!
"text" or "binary" modifiers.

It's a beautiful thing...
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 11:54 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0