As usual while waiting for the next release - don't forget to check the nightly builds in the forum.
void WriteAnswer(int x);
int WriteAnswer(int x);
Well here im using a basic prototype in a header file and the old function from the course im taking told me to use Codevoid WriteAnswer(int x); I had originally used Codeint WriteAnswer(int x); and it had worked but then was told to use void but it never really explained the difference and im wondering why i would use void over int.
1. This is NOT a general programming board. "How do I write a program that....", "Can anybody teach me how to", "I have this homework", "My program doesn't run and I don't have the slightest idea of why because I'm a C++ newcomer", "What is a compiler", "What does gcc do" is the kind of questions that is FORBIDDEN to ask.