Files
cppLearnings/cpptutorial/main.cpp
Tommy Parnell 567ab26f02 init
2015-10-03 10:51:05 -04:00

21 lines
406 B
C++

#include <iostream>
#include <cassert>
#include "foo.h"
#include "../staticlib/foo.h"
#include "../dynamiclib/dynamiclib.h"
using namespace std;
#if _DEBUG
void foo() {}
#endif
#define MUL(a,b) a*b
int main()
{
int one = add1(5);
assert(MUL(one, 1) == 6);
cout << multiply(2, 3) << endl;
cout << "2+3=" << add(2, 3) << endl;
cout << "Hello, C++" << endl;
getchar();
return 0;
}