View Single Post
Old 02-09-07, 11:06 AM   #11
Tuork
Official pain in the ass
 
Tuork's Avatar
 
Join Date: May 2003
Location: 127.0.0.1
Posts: 1,197
Send a message via MSN to Tuork
Default Re: String Array in C

Uuuuupdate:

Well, I figured out how to do the string thingers (I'm using a structure in order to assure scalability).

The real question now is... how to maximize memory efficiency. Right now I am using character arrays of a set size (200) for two variables, name and path. How can I use pointer to manage memory in a more elegant manner?
__________________
My avatar: "An obscure and non sensical pattern made to get people to post what they think it is" - Vamp

Dimitri:
Dell XPS M1530
Core2Duo T5550 1.86Ghz | 3GB DDR2 | 8600M GT 256MB | 250GB Hdd | BenQ FP202W 20" LCD | MX1000 mouse | Inspire T5400 5.1
Tuork is offline   Reply With Quote