0

C++ Code help

Hey! I am having an error with this code, can someone help me? CODE: https://code.sololearn.com/cfVvMNvGcd22/#cpp

15th Oct 2017, 2:14 PM
Lautaro Segura
Lautaro Segura - avatar
7 Answers
+ 1
bro stdafx is only used in visual c++ so u can emit that from ur code and also remove system pause statements since they dont support here and they r for turbo cpp i guess..
15th Oct 2017, 2:21 PM
Suhail Pappu
Suhail Pappu - avatar
+ 1
i said something above could u pls follow that? everything will be fine
15th Oct 2017, 4:16 PM
Suhail Pappu
Suhail Pappu - avatar
+ 1
which compiler r u using..?
15th Oct 2017, 4:41 PM
Suhail Pappu
Suhail Pappu - avatar
0
"you can't use "stdafx.h" in code playground". If I don't include that the program gives me an error
15th Oct 2017, 2:39 PM
Lautaro Segura
Lautaro Segura - avatar
0
But if i don't use system pause it instantly closes
15th Oct 2017, 4:39 PM
Lautaro Segura
Lautaro Segura - avatar
0
I use visual studio 2017 with the default compiler
15th Oct 2017, 4:57 PM
Lautaro Segura
Lautaro Segura - avatar
- 1
you can't use "stdafx.h" in code playground
15th Oct 2017, 2:35 PM
ReimarPB
ReimarPB - avatar