Question:

I'm thinking to make my own network application. Which language do you recommend me to write with? C or C++?

by  |  earlier

0 LIKES UnLike

Program description:

a program that creates an exe(server) file which could be opened in a different machine, and control that machine by a client(Application)

Its for educational purposes just to test my capabilities in programming. However, which language would be better to program with, C or C++?

Language that is effecient and easier to maintain! If i program by C++, will the program be very inefficient comparing to C?

 Tags:

   Report

3 ANSWERS


  1. In general, C should only be used for low-level applications. C++ is not necessarily slower than C; it is only the functions provided in built-in headers that are slower (for example, streams in C++, such as cin, cout, and fstreams, are slower than C file pointers, but the difference is significant only when the amount of input/output data is large). However, if you will have to go through the operating system API, then the overhead will be the same for C and C++.

    However, it will probably be easier to code it in Java, if this is an option.


  2. As you might know c++ is basically the next version of c. i would chose c++ since it has nicer features such us clases.


  3. Use C++ or Java.

Question Stats

Latest activity: earlier.
This question has 3 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.
Unanswered Questions