You have to check out Deitel's book, there are lot of good exercises to fix sintax doubts such as the "case sensitive" issue of C.
Amazon.com: C How to Program Introducing C++ and Java...
Type: Posts; User: Oliveira88
You have to check out Deitel's book, there are lot of good exercises to fix sintax doubts such as the "case sensitive" issue of C.
Amazon.com: C How to Program Introducing C++ and Java...
ahhh now I get this! I was using an int fuction as a void function, as int I need to use the "return" at the calling!
Sorry, newbie mind mode slow :)
:P thanks
srand() fuction needs unsigned int as argument, at least was what I've read in my book :P
Thanks for trying help, but I think I need to study more about recursion and returning, I've fixed my program using a pointer and an auxiliary variable. See below:
#include<stdio.h>...
I was calling the function again for recursion, the returning is made after all the possible calls, in fact I'm not good at recursion, could you help me to fix it?
Hi mates. I'm new at programming, I've tried to make a program that return 1 if a situation is true otherwise 0, but quitting the function "encaixa", the returning to the main fuction is garbage. I...