Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:

Labs - val / Lab5_2

.cpp
Скачиваний:
5
Добавлен:
15.06.2014
Размер:
504 б
Скачать
#include <stdio.h>
#include <stdlib.h>
#include <conio.h>
#include <iostream.h>
#include <list.h>

int main()
{
    list<int> list_number;
    list<int>::iterator i;

    list_number.push_back(1);
    list_number.push_back(70);
    list_number.push_back(6);
    list_number.sort();

    cout << "Sorted List:" << endl;
    for(list<int>::const_iterator i = list_number.begin(); i != list_number.end(); ++i)
    {
        cout << *i << " ";
    }

    getchar();
    getchar();
}
Соседние файлы в папке Labs - val
  • #
    15.06.201410.4 Кб5Lab4_2.obj
  • #
    15.06.20142.73 Кб6Lab4_2.~cpp
  • #
    15.06.2014828 б5Lab5.cpp
  • #
    15.06.20146.93 Кб6Lab5.obj
  • #
    15.06.2014828 б5Lab5.~cpp
  • #
    15.06.2014504 б5Lab5_2.cpp
  • #
    15.06.2014131.14 Кб5Lab5_2.obj
  • #
    15.06.2014504 б6Lab5_2.~cpp
  • #
    15.06.201445 б5Lab6.cpp
  • #
    15.06.20144.24 Кб5Lab6.obj
  • #
    15.06.20141.26 Кб5Lab_oop_1.cpp