Functions not working on

I am writing a C program using functions, and will not allow me to create them (Function definition is not allowed here), however they will work on other compilers.

Is there a certain format used for creating functions with

You are viewing a single comment. View All

I don't understand the syntax of defining functions inside functions.
You should define functions in the main scope of the file, i.e. outside of any other function.