Or :
char *unknownSizeString;
unknownSizeString = new char[strlen(stringWeWantToStore)];
strcpy(unknownSizeString, stringWeWantToStore);
While at it, I recommend reading the Quake sourcecode. The best C code you can find around, and you can learn some amazing tricks with pointers
Search found 240 matches
- Fri Jul 22, 2005 7:07 pm
- Forum: General
- Topic: C++ question. (pointers)
- Replies: 5
- Views: 1675
- Fri Jul 22, 2005 7:02 pm
- Forum: General
- Topic: Uplink Hacker Elite
- Replies: 129
- Views: 46028
Indeed it's a pretty complex task to make a correct projection (I never believed 1+1 could equal to 1.41 until I did metrical spaces). Actually computing distances and everything on a sphere takes a completely different math. Indeed, holograms or 3D graphics can offer the best representation of the ...
- Fri Jul 22, 2005 6:58 pm
- Forum: General
- Topic: how long does it take to get the game?
- Replies: 25
- Views: 3166
- Fri Jul 22, 2005 12:04 pm
- Forum: General
- Topic: how long does it take to get the game?
- Replies: 25
- Views: 3166
- Fri Jul 22, 2005 9:12 am
- Forum: General
- Topic: Uplink Hacker Elite
- Replies: 129
- Views: 46028
- Fri Jul 22, 2005 7:45 am
- Forum: General
- Topic: Uplink Hacker Elite
- Replies: 129
- Views: 46028
- Fri Jul 22, 2005 5:48 am
- Forum: General
- Topic: Uplink Hacker Elite
- Replies: 129
- Views: 46028
It's all a matter of perspective :) The stupidest person I have ever met, was this guy who was a friend of mine for like 10+ years. During the last total eclipse, he stated that the sun revolvs around the earth. And he was serious on that. Took me an hour to explain him, why not :) And Btw ... Nobod...
- Thu Jul 21, 2005 2:41 pm
- Forum: General
- Topic: Uplink Hacker Elite
- Replies: 129
- Views: 46028
- Thu Jul 21, 2005 2:38 pm
- Forum: General
- Topic: how long does it take to get the game?
- Replies: 25
- Views: 3166
- Thu Jul 21, 2005 12:14 pm
- Forum: General
- Topic: how long does it take to get the game?
- Replies: 25
- Views: 3166
- Wed Jul 20, 2005 8:07 pm
- Forum: General
- Topic: Uplink Hacker Elite
- Replies: 129
- Views: 46028
That's a good NHS. Here, people pay for it (forcedly) and get NOTHING in return. I don't pay for the national health insurrance here. It costs me 25% of that, to simply make a call to a private clinic and be back in one hour ... all done. Last year my sister had an accident. An idiot with a bike ran...
- Wed Jul 20, 2005 7:32 pm
- Forum: General
- Topic: Uplink Hacker Elite
- Replies: 129
- Views: 46028
Don't forget to look at the population size. There is a higher chance for someone to invent something, from a group of 100, rather then 10 persons. (Population of US vs. UK or whatever else). Around here (Romania) ALL education is purely based on how much someone can assimilate and reproduce. Thinki...
- Wed Jul 20, 2005 6:00 pm
- Forum: General
- Topic: Uplink Hacker Elite
- Replies: 129
- Views: 46028
- Wed Jul 20, 2005 5:51 pm
- Forum: General
- Topic: Uplink Hacker Elite
- Replies: 129
- Views: 46028
- Wed Jul 20, 2005 4:31 pm
- Forum: General
- Topic: Uplink Hacker Elite
- Replies: 129
- Views: 46028