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. how to display images in j2me?? thank you :)
View Tutorial          By: bill at 2011-06-23 23:59:41

2. Your solution won't work if you have 2 different f
View Tutorial          By: mkieu at 2012-06-19 00:04:29

3. hi ..

for second code which impleme

View Tutorial          By: Eng at 2009-02-21 03:53:29

4. Plz help me......its urgent
i need a code

View Tutorial          By: Nisha at 2010-03-22 00:38:42

5. Thanks a ton sir.....
This is very informat

View Tutorial          By: Shailaja at 2009-12-27 10:43:42

6. I am very comfortable with this example, its very
View Tutorial          By: Inam at 2010-11-07 03:04:46

7. if (fget(y,100,fp2)!=10);
what should be th

View Tutorial          By: ruqsar at 2014-02-10 10:54:32

8. to Donovan Aces #61, thank you, I am new to java &
View Tutorial          By: Joe at 2011-09-14 22:40:19

9. hai, i tried the abvoe code, m getting the follwin
View Tutorial          By: charan at 2011-10-20 12:59:59

10. in this statement "void Reverse(string &t
View Tutorial          By: vinay at 2012-12-13 16:41:59