visual code studio , but after I run my code I get an error like
1. Variable "using" is not a type name
2. Expected a ";"
3. Identifier cout is undefined
4. Expression must have integral type .
I tried googling it but didn't get the solution , can anybody please tell what should I do ?
It seems that it tries to compile your code with C compiler. I would rename your file to end with .cpp (because .c used for C code), if it doesn't help, look in the configuration of your editor how to specify what langiluage this file need to be compiled for.
Обсуждают сегодня