- Joined
- Sep 7, 2001
- Location
- CT/Poland
Hey wuts up
Ok im writing a little encryption progarm in C++, here is my souce code:
#include <stdio.h>
#include <iostream.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
char string [10] = "adam";
char key [10] = "abcd";
string = string ^ key;
system ("pause");
return 0;
}
I try to compile this program but i get a error saying
"invalid operands 'char[10' to binary 'operator^'
Can anyone help me?
Thanks,
Adam
Ok im writing a little encryption progarm in C++, here is my souce code:
#include <stdio.h>
#include <iostream.h>
#include <stdlib.h>
int main(int argc, char *argv[])
{
char string [10] = "adam";
char key [10] = "abcd";
string = string ^ key;
system ("pause");
return 0;
}
I try to compile this program but i get a error saying
"invalid operands 'char[10' to binary 'operator^'
Can anyone help me?
Thanks,
Adam