Posts
 
Reputation
Loading chart. Please wait.
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #72.8K
~1K People Reached
Favorite Forums
Favorite Tags
c++ x 2
ios x 2

1 Posted Topic

Member Avatar for bucsoldier03

C doesn't have definition for "new." The way to dynamicly create arrays in C is to use malloc. for example instead of: [code]int* intArrayPtr; intArrayPtr = new int[someSize]; [/code] you would use [code] int* intArrayPtr; intArrayPtr = (int*) malloc(someSize * sizeof(int)); [/code] malloc always returns a void* which you can …

Member Avatar for pigeonfoot
0
1K