Comparing a char to 'xyz'?
Type: Posts; User: Elysia
Comparing a char to 'xyz'?
Your code is invalid C++.
#include<iostream.h> // Deprecated header.
main() // ERROR: Missing explicit return type (should be int).
{
int a;
char c, // ERROR: Declaration does not end with ;...