Title pretty much sums it up. All I want it to do is be able to compare the text from two char variables. So here's my code:

#include <iostream>
#include <windows.h>
using namespace std;

int main() {
    system("color 04");
    char symbol[100];
    char answer[100];
    int i;
    i = 1;
    cout <<"Enter a symbol or line of text: ";
    cin.getline(symbol, 100);
    for (i=1; i<100000; i++){
    cout << symbol;
}
system("cls");
cout <<"What did it say?";
cin.getline(answer, 100);
if (answer == symbol)
{
           cout <<"\nYou won!";
           Sleep(5000);
           }
           else
           cout << "You suck.";
    
  
    
    return 0;
}