Site Tools


c_sort

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

c_sort [2013/02/26 19:40]
konovalov created
c_sort [2013/02/26 19:43] (current)
konovalov
Line 1: Line 1:
-int arr[8] = {42, 31, 53, 123, 346, 567, 678, 1}+  ​int arr[8] = {42, 31, 53, 123, 346, 567, 678, 1}; 
 +   
 +  int main(int argc, char** argv){ 
 +      sort(arr, arr+8); 
 +      for(short i = 0; i < 8; ++i){ 
 +          cout << arr[i] << endl; 
 +      ​}
c_sort.txt · Last modified: 2013/02/26 19:43 by konovalov

Page Tools