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



Ask a Question

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. Hi,
I've tried this but got a problem. Firs

View Tutorial          By: Hendrik Jabs at 2009-12-10 02:46:13

2. please try to elaborate the explanation with examp
View Tutorial          By: bhavitha at 2014-02-21 06:09:12

3. I want to redirect from a servlet page to another
View Tutorial          By: dinesh at 2014-10-20 16:44:26

4. This code rocks!! any one having any trouble shoul
View Tutorial          By: Ankur at 2010-01-22 06:37:10

5. Hats off man !!! Very Simple & Straightforward
View Tutorial          By: Nitesh at 2013-01-06 00:50:53

6. Hi guys.i have a simple doubt.
i want to ru

View Tutorial          By: Muthukumar at 2011-12-29 07:30:56

7. Dude,
Atleast indent and try to make sense

View Tutorial          By: Phani at 2015-03-19 16:51:57

8. hi friends i hav project work in this topic so pls
View Tutorial          By: sullan at 2011-05-08 12:08:56

9. it's cool
but on other way it is indeed har

View Tutorial          By: johncarlo at 2009-02-05 04:44:13

10. Thanks a lot.
View Tutorial          By: Nirwana at 2009-04-24 05:17:10