Re: Clear doubts regarding the C++ Runtime
- From: "REH" <bogus@xxxxxxxxxxx>
- Date: Tue, 31 May 2005 15:30:22 -0400
"ritesh" <riteshkapoor@xxxxxxxxx> wrote in message
news:1117511811.185482.34280@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi,
>
> I have been reading some text on C and C++ (i.e advanced books). One
> of the books mentioned that C++ requires a runtime support whereas C
> does not - what the author was trying to say was that once you compile
> a C program the executable created is all that is needed whereas if you
> compile a C++ program the executable created requires a C++ runtime
> installed on your system to run the program.
>
> Can someone please provide more information on this or could provide a
> link to some webiste where this concept is explained in detail. I
> would like to know the differences in C and C++ compiled code which
> makes a runtime necessary for one and not for the other.
>
> Thanks
> Ritesh
>
That's wholly dependent on the implementation. Both languages require
support of a library. Whether that library is statically linked into the
executable or not, depends on your system, not the language. Also,
depending on the platform you are building for, the library may or not
require additional support from the (if existing) OS.
.
- References:
- Clear doubts regarding the C++ Runtime
- From: ritesh
- Clear doubts regarding the C++ Runtime
- Prev by Date: Re: Difference between '\0' and 0
- Next by Date: Re: sizeof...
- Previous by thread: Re: Clear doubts regarding the C++ Runtime
- Next by thread: multidimensional arrays and pointers
- Index(es):