This is a 2 part question. First I am having trouble taking information from
void shift(char *p1, char *p2, char *p3, char *p4, char *p5)
to be ableto use in a strcpy(). I want to assign the letters ABCDE (one to each *p# value) to this so that I can use it to shift in a circular fashion. I have a program which does this but I need to use the void statement above.
I have tried to use a char () but the following error occurs:
Error 1 error C2664: 'strcpy' : cannot convert parameter 1 from 'void (__cdecl *)(char *,char *,char *,char *,char *)' to 'char *' c:\documents and settings\car\my documents\visual studio 2005\projects\chapter 8 exercise 6\chapter 8 exercise 6.cpp 27
Any directions on how to do this or where to seach for an answer on how to corect this would be great.
The other question I have is in Visual Studio 2005 is there a way that this program will fill in all the source codes for you? I had mistakenly hit something before and this happened but I do not know how or why?
Thank you again.