+ 3
in terms of space and time, what is the best : working with classes, or working only with functions?
This summer i'll have an exam on c++ an i was wondering which one of those 2 are best to work with.... ps. i'm no allowed to work with outter libraries like cstlib, conio.h, cmath, ctring, etc, only if they specfies.
1 Respuesta
+ 6
Class experience translates well to function experience. Function experience leaves massive holes in class knowledge. Concentrate on the class. Most student level projects do not require classes and could easily be done as functions. However, they are good practice for the more massive classes that tend to be used in the workplace.