Thank you, Timmay and Salem. Appreciate your help. I managed to get it working. I do, however, have two further questions: I'd previously tried using char[x] instead of char * and VC++ claimed I couldn't convert between the two. In which circumstances can and can I not do this? Also, why is...
Hi all,
I hope that someone here can tell me the correct way to use char* for strings.
My code is similar to the following:
char* filename = "\0";
char* fileno = "\0";
for (int i=1;i<20;i++)
{
capGrabFrame(hWnd);
strcpy(filename, "C:\\pic");
itoa(i,fileno,10);
filename =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.