c++ - Identifier not found when it's not meant to be an identifier? -
i have defined function called decryptionarchive() this:
string decryptionarchive(char i) { }
can create function string identifier? i've search everywhere , have found creating pointers string data types. when run code:
string chartoadd = decryptionarchive(i[curr]);
yes, have imported string, , using namespace std. 'i' string, issue? actual error code is
error c3861: 'decryptionarchive': identifier not found
this error occurs on line 26, line of string chartoadd = decryptionarchive(i[curr]);
doesn't make sense me. ideas? thanks
edit: ran on laptop, works fine! going on here?
you didn't declare array. treating array, yet isn't array.
Comments
Post a Comment