-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.cpp
More file actions
41 lines (34 loc) · 993 Bytes
/
main.cpp
File metadata and controls
41 lines (34 loc) · 993 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
* File: main.cpp
* Author: bmr
*
* Created on January 17, 2010, 1:43 PM
*
* This file is going to be hosted in Github.com
*/
#include <stdlib.h>
#include <iostream>
#include <string>
/*#include <iostream>*/
#include <vector>
using namespace std;
/*int main(int argc, char** argv) {
vector<int> justavector(5);
justavector.push_back(42);
cout << "Vector size is " << justavector.size() << endl;
return (EXIT_SUCCESS);
} */
/** @brief class Main utilisée pour lancer le programme principal.
La classe Main affiche un menu qui permet aux clients d'éffectuer des achats à distance.
@author BM Rateb
@date 21 juin 2009, 14:58
@param argc - premier parametre
@param argv - deuxième parametre
@return Int: déterminant ainsi le success ou l'échec de l'éxecution
*/
int main(int argc, char** argv) {
vector<int> justavector(5);
int s=justavector.size();
cout<<"Vector size is " << s << endl;
return (EXIT_SUCCESS);
}