xaxa :P joking...? where is OOP? totaly different languages!!! its not the same way i must think... :'(
xaxa :P joking...? where is OOP? totaly different languages!!! its not the same way i must think... :'(
No, I'm not joking at all. The functions you would use outside of the structs in C, you can include in the classes in C++, along with hiding data members making them available through public accessors only.
Last edited by Incantrix; 11-26-2011 at 06:35 PM.
:/ For example in the Car class what private data you think i should have? :/
Lol, well what information do you need to know about each Car? Color? no Engine type? no Velocity? no
@Penlix.
Does your question has to do with the second set of exercises given in the university of Ioannina(Greece)?If so contact me.I have same problems with this exercise.This proffesor doesn't seem to understand that he can't teach the entire c++ features in 1month.