Click here to Skip to main content
15,891,607 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
expected unqualified-id before '^' token

I got that message while compiling any tips?


What I have tried:

i have tried to check any errors but i can not see. please help
Posted
Updated 24-Jun-21 7:20am
Comments
Richard MacCutchan 24-Jun-21 13:25pm    
"but i can not see"
Nor can we. Please show the code so we have at least a chance of helping you.
Patrice T 24-Jun-21 13:43pm    
You have a secret error in your secret code.

1 solution

You need to show the code in question. Offhand, ^ is the exclusive-or operator, similar to & and |. The error means that you put something other than an identifier on its left-hand side.
 
Share this answer
 
Comments
Greg Utas 24-Jun-21 16:12pm    
So what idiots--two of them--downvoted this without comment? It is factually correct, although what OP was trying to do is a mystery since the code wasn't posted.
jeron1 24-Jun-21 16:20pm    
Does seem awful unnecessary, countered, to the best that my rep will allow.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900