ok i have a function to return a certain letter for right now. I just want to get the function to work, later i will have a graphic thing i will print that will correspond to the letter in each of the memory spaces. ok well here it is...
it sends me an error on line 16 saying "invalid conversion 'char' to char''. Any advice would be nice tyCode:#include <iostream> #include <cstring> using namespace std; #define wait 900000 char abcZ(char input[03]); int main() { char user[03]; int count; cout << "Translate: "; cin.getline(user, 30); do{ abcZ(user[30]); }while(count < 30); } char abcZ(char input[26]) { int count = 0; char letter[30] = "abcdefghijklmnopqrstuvwxyz"; if(strcmp(input[count], letter[count]) == 0) { count ++; return letter letter; } }.



LinkBack URL
About LinkBacks
. 


