Comment on Tutorial - qsort() sample program in C++ By Norman Chap



Comment Added by : paercebal

Comment Added at : 2008-08-13 05:06:45

Comment on Tutorial : qsort() sample program in C++ By Norman Chap
DO NOT USE QSORT IN A C++ CODE.

If this is a tutorial on C++, then try std::sort in the <algorithm> library:

http://www.cplusplus.com/reference/algorithm/sort.html

And include &lt;iostream&gt; instead of the obsolete &lt;iostream.h&gt;.


View Tutorial



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. chat
View Tutorial          By: zahra zare at 2009-05-10 07:07:57

2. Well done. I am a mobile application developer. I'
View Tutorial          By: Wendi-tan at 2008-09-03 18:45:41

3. cout<<5+"object orinted programming
View Tutorial          By: SANDEEP SHARMA at 2011-09-18 19:06:57

4. A useful article. It answered my question about wh
View Tutorial          By: Kris Heidenstrom at 2011-05-28 04:15:05

5. The above codes is working for me~
yeah, wh

View Tutorial          By: rejectee at 2009-10-23 22:14:25

6. Thanks for giving iterator example
View Tutorial          By: Rajesh Kumar at 2010-11-03 05:17:05

7. i want struts flow
View Tutorial          By: suresh at 2013-03-28 10:28:53

8. easy.......
View Tutorial          By: Suman at 2011-07-20 07:04:28

9. Very informative article, this is the exact articl
View Tutorial          By: Abhinav bindra at 2012-03-23 14:00:12

10. hi this is very helpful........thank you very much
View Tutorial          By: sumalatha at 2010-06-07 02:16:37