Write your question here.
Im writing a code about plants by using class, after i wrote the header file and cpp file,and afert excute my code i had that kind of error message
'"c:\users\a104\documents\visual studio 2010\Projects\Plants\Debug\Plants.exe"'
is not recognized as an internal or external command,
operable program or batch file.
Should be #include "Plants.h"
not #include "Plants.cpp"
In your header you are missing a semicolon after your last curly brace. Also might want to start now with #include guards, makes for a good practice.
After these changes it compiles and runs just fine(g++). What compiler are you using? Seems like an issue with your IDE looking in the wrong directory for your executable.
Thanks a lot both of you 'johny31' and 'pfunk35' yes I made those changes and it works just fine. the problem here im still not familair with names or who we call the stuff here in c++. because I dont know how to answer you quesyion regarding what complier im using.
thanks again