let's say i just wanted to make the most basic function in one _h file and then use that function in another script, what would i have to do?
writing and including header files.
Débuté par
gordonbrown82
, avril 04 2010 01:01
#1
Posté 04 avril 2010 - 01:01
#2
Posté 04 avril 2010 - 02:05
#include "headerfilename_h"
...
functionname();
The header file does not need to have a main method, though it will give you an error message when you save it as it tries to compile when saving it by default.
...
functionname();
The header file does not need to have a main method, though it will give you an error message when you save it as it tries to compile when saving it by default.
Modifié par FergusM, 04 avril 2010 - 02:05 .





Retour en haut






