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. Can u please tell me how to compile and execute a
View Tutorial          By: RJ at 2010-04-20 01:30:10

2. Thanks a lot Ramlak! This is still very useful af
View Tutorial          By: Jacky at 2009-08-08 23:49:12

3. what items do i add?
View Tutorial          By: Camo at 2015-09-30 23:02:10

4. this is i got error msg when i run a my program .
View Tutorial          By: anbu at 2009-04-08 02:41:17

5. its show objects are not equal
View Tutorial          By: Amit at 2012-12-22 14:56:29

6. #include<iostream>
#include<conio.

View Tutorial          By: Zohaib Farooq at 2011-05-23 07:58:44

7. I am receiving an error as
Error java.lan

View Tutorial          By: pablo at 2014-08-03 16:10:55

8. why it is( ((year % 4 == 0) && !(year % 10
View Tutorial          By: Jai Shankar K at 2012-04-08 10:15:56

9. its easy to understand your example in overloading
View Tutorial          By: rovie at 2011-09-07 02:41:12

10. It's very useful to j2me beginners
View Tutorial          By: Naresh Padam at 2009-01-05 05:52:53