I've decided to add some more operations to my chemistry program. Now I'm digging into switch cases and and having some trouble.
I am trying to define the variables T1, T2, V11, and V21 as floats, but I get this error:
test2.ccp:128: warning: multi-line literals are deprecated
test2.cpp: In fuction 'int main()':
test2.ccp:128: T1 undelcared (first use this function)
test2.cpp:128: (Each undeclared identifier is reported only once for each function it appears in.)
test2.cpp:128: parse error before string constant
So basicly my question is: why is it not identifying T1?
Here is the code: