Classes and header files
I was given a c++ project to write an i an coming from a c and java background.I am more proficient in java.I am confused in creating classes in c++ because it creates a header file for me with the class name and in my.cpp file,it just's gives me a constructor.I am confused.My question is shouldn't the class name be in my .cpp file
Your question is kind of confusing. Maybe you should post some code.
Probably, or maybe not.
Originally Posted by sigur47
If you're running into a problem with the code or are not sure if you're going about it the right way, then you'll need to post code on here so that we can check it out.