There arnt pointers in my code... yet
oh, and the link was exactly what i was looking for, thanks :D
Type: Posts; User: Bobnine
There arnt pointers in my code... yet
oh, and the link was exactly what i was looking for, thanks :D
how would i go about doing this?
say i have a Recursion that works with a 2d array.
int box[3][3];
int Recursion(int num);
int main(void)
when you say directly, do you mean in the Main() function?
because i have 12 of these arrays, and changing the array variables in the main() function is the difference between 2000 lines of code and...
Hello all, in my last thread (which i cant find) i asked how to put an array into a function, but now i want to know how to get that function back out.
For example:
int Errorcheck( int...
Thanks alot for the quick reply :D
How would i use an array ( that is defined in the main() ) in a function? how would i define it?
for example:
void Function( int grid[4][4] );
int main()
{
int array[4][4];
ill keep that in mind for when i do if-then-else statements in the future.
thanks for the help :)
I seem to be having problems with a dice rolling program that i am making. It rolls 2 6-sided dice, and i can get the random numbers no problem, its just making the program display the actual face...
Thx much everyone, its working now.
i changed int2 and int 3 to floating point, and used matsp's 2nd code line
hello everyone, im new to the whole programing thing, and I seem to be having problems with multiplying/dividing multiple integers.
The line that is giving me all the problem is
printf( "Message:...