| |||
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
while(feof(fp1)==0)
{
// ** This is not legal code but shows what I'm trying to achieve here! **
oneByteASCII=(value of byte at pointer 'oneByte');
// Write the byte fwrite(&oneByte,1,1,fp2);
// Read next byte fread(&oneByte,1,1,fp1); }
I don't have any idea what are you trying to do in this loop - it reads an input file and write the same data to the output file, and you don't do anything with the ascii values :-)
Describe what are you trying to do, maybe Cocoa can do most of the work for you.
| References: | |
| >-[NSAttributedString initWithData:...] compresses spaces? (From: Glen Simmons <email@hidden>) | |
| >How to access the value that a pointer is pointing to (From: Phil Faber <email@hidden>) | |
| >Re: How to access the value that a pointer is pointing to (From: Patrick Seemann <email@hidden>) | |
| >Re: How to access the value that a pointer is pointing to (From: Phil Faber <email@hidden>) | |
| >Re: How to access the value that a pointer is pointing to (From: Nir Soffer <email@hidden>) |
| Home | Archives | FAQ | Terms/Conditions | Contact | RSS | Lists | About |
Visit the Apple Store online or at retail locations.
1-800-MY-APPLE
Contact Apple | Terms of Use | Privacy Policy
Copyright © 2007 Apple Inc. All rights reserved.