- Joined
- Dec 18, 2009
- Messages
- 5
- Reaction score
- 0
- Points
- 1
- Location
- Plymouth, England
- Your Mac's Specs
- 15" Unibody MacBook Pro
Hi all, this is a ridiculously simple part of my ridiculously simple program. I have other .h files laid out in an identical way with no errors. However this one get's "expected initializer before int"
#ifndef SUBTRACT_H
#define SUBTRACT_H
int subtract(int x, int y); //error here is "expected intializer before 'int'
#endif
so... what do I do, please?
#ifndef SUBTRACT_H
#define SUBTRACT_H
int subtract(int x, int y); //error here is "expected intializer before 'int'
#endif
so... what do I do, please?