View Single Post
Old Jul 19th, 2005, 12:43 PM   #5
Broax
Hobbyist Programmer
 
Broax's Avatar
 
Join Date: Jan 2005
Location: Porto, Portugal
Posts: 142
Rep Power: 4 Broax is on a distinguished road
Send a message via MSN to Broax
Sorry, sorry, sorry!

My mistake!

I typed const char[4] lang instead of const char lang[4].:p

The other error I made was confusing string with int.... lol I'm such a noob!

But just answer one last question... Why are there so many data types? like short, long, int, string, etc. Is it to save memory on larger and more complex programs? Why not just use string and int for everything?

Thanks for the help, though!
__________________
PORTUGALPORTUGA
PORTUGALPORTUGA
PORTUGALPORTUGA
PORTUGALPORTUGA
PORTUGALPORTUGA
Broax is offline   Reply With Quote