* c vs c++
@ 2020-06-17 4:51 Hongyi Zhao
2020-06-17 6:17 ` Dan Kegel
0 siblings, 1 reply; 2+ messages in thread
From: Hongyi Zhao @ 2020-06-17 4:51 UTC (permalink / raw)
To: gcc-help
Hi,
What's the differences between c and c++? What's the pros and cons for
each of them? When should I prefer one over the other?
Regards,
--
Hongyi Zhao <hongyi.zhao@gmail.com>
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: c vs c++
2020-06-17 4:51 c vs c++ Hongyi Zhao
@ 2020-06-17 6:17 ` Dan Kegel
0 siblings, 0 replies; 2+ messages in thread
From: Dan Kegel @ 2020-06-17 6:17 UTC (permalink / raw)
To: Hongyi Zhao; +Cc: gcc-help
Both have lots of sharp bits to cut yourself on, but c++'s got many more
twisty bits to get lost in. Why, Dave Brumstead got lost somewhere around
Stepanov Abstraction Level 11 and hasn't been seen since.
See also https://lmgtfy.com/?q=c+vs+c%2B%2B
On Tue, Jun 16, 2020, 21:52 Hongyi Zhao via Gcc-help <gcc-help@gcc.gnu.org>
wrote:
> Hi,
>
> What's the differences between c and c++? What's the pros and cons for
> each of them? When should I prefer one over the other?
>
> Regards,
> --
> Hongyi Zhao <hongyi.zhao@gmail.com>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-17 6:18 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17 4:51 c vs c++ Hongyi Zhao
2020-06-17 6:17 ` Dan Kegel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).