Jump to content

Check out our Community Blogs

Register and join over 40,000 other developers!

Recent Status Updates

View All Updates

- - - - -

Why there is a common category for C and C++?

c and c++

  • Please log in to reply
2 replies to this topic

#1 nerio


    CC Newcomer

  • Just Joined
  • PipPip
  • 14 posts

Posted 20 July 2011 - 11:28 PM

I think it is weird. Those two languages are actually different. I was recommended to study C first and then start with C++. But when I post something in C/C++ ccategory, how can I know if the guys will talk about which one of them?

I like this forum, but I think this is kind of weird.
  • 0

#2 WingedPanther73


    A spammer's worst nightmare

  • Moderator
  • 17757 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Posted 21 July 2011 - 04:34 AM

There's a lot of overlap. Most C code is also valid C++ code. If you specify that you are coding in C, you will generally get an appropriate response. Also, the use of functions like scanf and printf are a strong clue that you are working in C instead of C++, and I think most people react accordingly.
  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/

#3 Roger



  • Administrator
  • 1222 posts
  • Programming Language:C, PHP
  • Learning:Others

Posted 28 September 2012 - 10:45 AM

This is an old thread, but we just added prefixes to these ambiguous forums. You can now select the language (C or C++) and it will be displayed with a prefix "badge".

Better late than never.. Enjoy! :)
  • 0

New around here? Click here to register and start participating in under a minute?

Or do a quick search and you may find the answer you're looking for.

Also tagged with one or more of these keywords: c and c++

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download