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. ----- main---
Inside Run ...
OK 0 <

View Tutorial          By: pushpam at 2009-01-23 06:14:07

2. my question is the same of sajjad.what about (!iss
View Tutorial          By: hossain at 2012-04-26 04:28:56

3. can't build the 2nd code in netbeans,here is the
View Tutorial          By: arshavin at 2010-04-14 23:19:33

4. I have copied c:\php\bin\msvcr80.dll to C:\Program
View Tutorial          By: agt at 2009-10-11 09:24:06

5. Hi, thanks alot this code works for me , can someo
View Tutorial          By: ann at 2011-03-18 04:50:16

6. Float f=99.7f;
int i1=Integer.parseInt(f);<

View Tutorial          By: Ashwin at 2012-12-23 05:14:04

7. hey dude
im using vb.net 2008 and sql serv

View Tutorial          By: Haseeb ur Rehman at 2010-11-12 02:08:48

8. Hi,
I am designing a client server multipla

View Tutorial          By: Varun Gupta at 2012-10-15 00:01:57

9. Good
View Tutorial          By: sirisha at 2009-09-08 23:04:22

10. good
View Tutorial          By: thamim at 2012-09-01 03:22:26