I am curious as to why we use int main, with a return 0 at the end. Is there anyone who just says
void main() {
...
}
without a return statement. Is there something better about int main?
Type: Posts; User: lexitron
I am curious as to why we use int main, with a return 0 at the end. Is there anyone who just says
void main() {
...
}
without a return statement. Is there something better about int main?
Hello, I have a problem I am trying to figure out. I have a variable a in main. I am passing the address of this variable to my function foo.
int main() {
int a = 0;
foo(&a);
}
I have a 6 year old laptop (still going strong!), and am wanting to give windows 7 a shot. I read on the windows website that it requires 1GB of RAM, and my machine has .99 GB. Will I have problems...
Ha! I must multiply numValues by dblsize. So now I can just use (double *data, int numValues)? Thank you so much for your help!
i've finished a project requiring me to complete a few simple tasks without having any statements in my main besides my function calls and my return 0; statement.
My problem is that in my...
nevermind. I figured it out.
printf ("%.1f\n", *(*data + ndx));
hello, can someone please give me some clue as to what is going wrong with my code. When I print my array, all of my elements contain a value of 0. Thank you.
#include <stdio.h>
#include...