'C++ code won't compile on VS code even after installing all the extensions/packs and MingGW
So I installed VS code with all the packs/extensions and MingGW properly referring to Code with Harry tutorial step by step for windows 10 carefully but still getting this error.
Find Pic underneath.

Code and ERROR MESSAGE:
CODE-->
#include<iostream>
int main(){
std::cout<<'hello world';
return 0;
}
ERROR MESSAGE
[Running] cd "c:\Users\Divyansh Singh\OneDrive\Desktop\apna folder\" && g++ tute1.cpp -o tute1 && "c:\Users\Divyansh Singh\OneDrive\Desktop\apna folder\"tute1
tute1.cpp:4:11: warning: character constant too long for its type
cout<<'hello world';
^~~~~~~~~~~~~
1869769828
[Done] exited with code=0 in 2.284 seconds
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
