Thanks so much, I thought the problem was in the solvearea function so I kept searching that, I didn't know it could be in other parts of the program.
Type: Posts; User: goldn
Thanks so much, I thought the problem was in the solvearea function so I kept searching that, I didn't know it could be in other parts of the program.
Solved
I've googled this problem and it seems people who had it messed up their curly braces, but I've checked a couple times and couldn't find anything wrong with my code. Maybe someone can spot...
Ok thanks, ill try that and post back with my results
Build log :
-------------- Build: Debug in 4.0 ---------------
Linking console executable: bin/Debug/4
obj/Debug/main.o: In function `main':
/home/x/Desktop/programming/4.0/main.cpp:26:...
Yes all of the files are in the project, I can see them in my project manager. I think its something to do with the compiler and not the program itself.
I'm new to c++ programming and started to work my way through the book Accelerated C++. When I tried to compile the program from Ch4 which had header files and source files I got these errors:
...