Posts
 
Reputation
Joined
Last Seen
Ranked #833
Strength to Increase Rep
+3
Strength to Decrease Rep
-0
100% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
2 Commented Posts
0 Endorsements
Ranked #22.5K
Ranked #3K
~7K People Reached
Favorite Forums
Favorite Tags
c x 9
c++ x 1
Member Avatar for ~s.o.s~
Member Avatar for asifjavaid

[code=c] void* ptr = buf_ptr[20]; //----------->error [/code] what i want to say is "buf_ptr[20]" is not a pointer,it's the value of the 20th in buf_ptr

Member Avatar for asifjavaid
0
2K
Member Avatar for msaenz

first of all,u should add seed of random data void srand( unsigned int seed ); use current time as seed!

Member Avatar for Dave Sinkula
0
187
Member Avatar for msaenz

use "pointer" to define ur function like this void PrintMatrix(int *matrix); and it will work good!

Member Avatar for WaltP
0
108
Member Avatar for varsha0702

U can try to use function like "fflush(stdin)",when u call it ,it can also clear the input buffer

Member Avatar for Beair.GQ
0
127
Member Avatar for Ancient Dragon

// fill in the array is not shown here qsort(array, NumStrings, sizeof(array[0]), compare); here,"sizeof(array[0])" is 20bytes; // fill in the array is not shown here qsort(array, NumStrings, sizeof(array[0]), compare); but here,"sizeof(arry[0])" arry[0] is a pointer,so it's mean 4bytes

Member Avatar for Ancient Dragon
0
311