+ 1

Help, i dont undestend why this code doesnt work

#include <iostream> #include "pch.h" using namespace std; int main() { cout << "HIIII"; return 0; }

4th Jan 2019, 3:51 PM
SHIKI GAMER
SHIKI GAMER - avatar
2 Réponses
+ 4
Did you have the pch.h header in includes path? or current directory? did you get any error message? if you did, can you write it on your original post, it will help identify the issue ...
4th Jan 2019, 4:11 PM
Ipang
+ 3
"pch.h" like "stdafx.h" is a precompiled header and auto-generated for non-empty projects for VS version >= 2017, AFAIK. It can be safely removed.
4th Jan 2019, 5:18 PM
Babak
Babak - avatar