Fairly new to C++ here. I am trying to figure out if I can optimize my code by not calling the same function multiple times. For example:
const char *a = "H";
const char *b = "e";
const char *c = "l";
const char *d = "l";
const char *e = "o";
const char *f = "Hi";
funcCall(f,a,b);
funcCall(f,c,d);
funcCall(f,d,e);
Aucun commentaire:
Enregistrer un commentaire