Hey guys, I'm just starting to learn some c++, and I've encountered an error which seems puzzling to me. The issue I encounter is when trying to create multiple functions in a separate class file.
Example use in main, without a separate class file (works) :
Error (cool.h) line 10: ISO C++ forbids declaration of 'testa' with no type|
||=== Build finished: 1 errors, 0 warnings ===|
Edit : I've re-read my tutorial which made no comment on using multiple functions in a separate class file, and I've scanned the forums without finding a solution to this. I believe this is a very simple mistake, but I just can't seem to find where I went wrong.