[OT] A bit confused on pointers...
[OT] A bit confused on pointers...
- Subject: [OT] A bit confused on pointers...
- From: Sanri Parov <email@hidden>
- Date: Thu, 29 Dec 2005 00:20:24 +0100
Hi everybody,
Cocoa is a great superset of C because... it has very little use of
pointers. :-))
Probably it' s because it's getting late now I am writing, but here's
the question.
I've got a file read with:
fread (buffer, 1,size,pFile);
in a for() cycle that reads several files. "buffer" is a char* and so
another variable called finalBuffer (char*)
All I want to do is to costantly update finalBuffer so it's the sum
of all the single buffer from every single file.
finalBuffer +=*buffer
is the right choice?
Pardon me, but after having coded just on databases and NSTableViews
my mind is starting to sink ...
Many thanks for all the kind replies and Happy New Year to everybody.
--
Sanri Parov from iBook
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden