I am faceing problem in c++
Guys can you help me i am a beginner in c++ when i am running it alway first compile then it run so it it taking so much time i ask chat gtp he give me this code
g++ Casting.cpp -o Casting && .\\Casting.exe
Casting.cpp is my file name and when i am writing this in my vs code terminal it this error i am getting
At line:1 char:24
\+ g++ learn.cpp -o learn && .\\learn.exe
\+ \~\~
The token '&&' is not a valid statement separator in this version.
\+ CategoryInfo : ParserError: (:) [\], ParentContainsErrorRecordException
\+ FullyQualifiedErrorId : InvalidEndOfLine
can you plese help me to know how to fix this and to fast get the output of the code my os is windows 10
https://redd.it/1tspfb7
@r_cpp
Post #25327
16