plzz correct tha C++ compilation | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

plzz correct tha C++ compilation

#include <conio.h> #include <iostream.h> void main() { count<<"Hello"; } 2.#include<conio.h> 5.getch();

30th Apr 2021, 5:05 PM
Omkar Kumar
3 Answers
+ 4
Is this an assignment question or something like that? Because I can't imagine that someone can intentionally write a code that wrong. If that's the case, I suggest you actually start the C++ course and do it yourself. If that's not the case, I suggest you actually start the C++ course and fix it yourself. Also, the <conio.h> header is not included with compilers anymore. So including it in your code as well as calling the getch() function will give an error.
30th Apr 2021, 5:54 PM
XXX
XXX - avatar
+ 3
You joined C tutorial where you should be learning C++ instead. Join C++ tutorial now and start learning. You will be able to fix the problem yourself if you learn C++. https://www.sololearn.com/Course/CPlusPlus/?ref=app
30th Apr 2021, 9:49 PM
Ipang
+ 2
Hello from 1990!
30th Apr 2021, 7:35 PM
Maher Al Dayekh
Maher Al Dayekh - avatar