Thread: New member

  1. #16
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    For desktop apps, I would use C++ or C#. Mostly I'm familiar with C# for Windows apps, but for CLI I'd use C++.
    These languages are high-level languages and have many features C does not. For example is object oriented programming, which is used in all modern apps. C++ does also, for example, feature generic programming and type safety that allows you to quickly write generic code and catches many more bugs at compile time rather than run time. It is also faster than C in some cases (see qsort vs std::sort, for example) [note that C++ is not always faster than C or vice versa).
    Higher level languages also contain more data structures and bigger standard libraries. For example, C++ offers a dynamic array container (std::vector) and a linked list (std::list).
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  2. #17
    Registered User
    Join Date
    Jul 2013
    Posts
    18
    Excellent I will maybe pick one of those up at a later date but for now I will concentrate on C, am i right in assuming once I have learned one the others will be easier to pick up?

  3. #18
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    On one hand, yes, the syntax will be familiar. So will your programming experience since you've already learned to program.
    But on the other hand, it will be harder since you will be forced to unlearn C habits. Different languages do things differently and you have to learn these ways.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  4. #19
    Registered User
    Join Date
    Jul 2013
    Posts
    18
    Fair enough I will be sticking with C for now, but might take up C++ if the need ever arises

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Passing member variable as default arg to member function
    By Memloop in forum C++ Programming
    Replies: 1
    Last Post: 09-08-2009, 06:49 PM
  2. member member function pointers
    By Bigbio2002 in forum C++ Programming
    Replies: 3
    Last Post: 12-04-2005, 05:14 PM
  3. Class member variables only readable by member functions?
    By _Elixia_ in forum C++ Programming
    Replies: 4
    Last Post: 10-10-2003, 03:52 PM
  4. private data member with public set member function
    By Mario in forum C++ Programming
    Replies: 2
    Last Post: 05-28-2002, 10:53 AM
  5. junior member/senior member/wtf/pictures
    By stupid_mutt in forum A Brief History of Cprogramming.com
    Replies: 9
    Last Post: 09-07-2001, 09:28 AM