I'm not incredibly skilled with C/C++, but I'm writing a C++ Win32 Console Application that inputs an atomic formula, and outputs the molar mass. Everything should work fine, but in my if structures where the user input is the atomic symbol for Uuq, or any element that has 3 letters for a symbol, It gives me and error. The input type for the atomic symbol is char. My arguments look like so:
char amtnam1, Uuq;
long int Uuq;
float Uuq=5.68;
/*1*/if (amtnam1='Uuq') atom1=Uuq;
I heard that I might have to change from *-Bit to 16-Bit or something....
PLEASE HELP ME!!