User profile: Softrix

User info
User name:Softrix
Name:Softrix
Location:United Kingdom
Bio:hmmm, what to write about.... let me think...
Statistical data
Birthdate:May 24, 1970
Gender:Male
Occupation:Chairman/CEO
Skills:C
C++
Cobol
Delphi
Assembly
Java
C#
ASP
Reverse Engineering
Autodesk Maya
Adobe Photoshop
History
Joined:
Number of posts:657
Latest posts:

lexicographic order!
There are several problems. First off your program flow is wrong, your first for..loop to loop and...

pointers and type casting
Change line 8 to [code]*p += 1;[/code] or [code]*p = *p + 1;[/code] if you prefer

Why doesn't This Code Work?
[code] #include <iostream> #include <string> #include <iomanip> using namespace std; class student...

Why doesn't This Code Work?
Your bubble sort is wrong, thats why it doesnt work.

Ending a while loop
Break tells your program to break out of the loop. You have indeed declared x twice as [b]Stauricu...