Simmilar problem again using a vector of length 4
vector <char> something;
something += '1','2','3','4';
somefunction(something,4);
some function takes in a
char* ptr, unsigned int size
at the moment i am getting
"error C2664: 'something' : cannot convert parameter 1 from 'char' to 'char *"
any help would be appreciated even if i am not doing the obvious i have tried looking online even adding
char* psomething = something;
but that doesnt work well gives me more error messages