[Ilugc] First Encounter with GCC
- From: akilan27@xxxxxxxxx (Akilan R)
- Date: Thu, 28 Jul 2011 16:17:14 +0530
On Thu, Jul 28, 2011 at 1:22 PM, Girish Venkatachalam <
girishvenkatachalam at gmail.com> wrote:
This is g++
This program has nothing to do with C++
You don't need this. It is a C program. Not C++.
[snip]
3) Why conio.h doesn't work in GCC ?
Because it is C++.
conio.h is a feature of DOS compilers as some have already mentioned. There
is no connection between C++ and conio.h and conio.h will not work even if
you compile using g++
In fact standard C++ headers that are not borrowed from C do not have .h
extension and even borrowed ones are now deprecated in latest standards.
--
?????? (Akilan R)
[ blog.akilan.in ]
I should have no use for a paradise in which I should be deprived of the
right to prefer hell.
--Jean Rostand
Other related posts: