-
Notifications
You must be signed in to change notification settings - Fork 26
Expand file tree
/
Copy pathcppbase.cpp
More file actions
18 lines (15 loc) · 496 Bytes
/
cppbase.cpp
File metadata and controls
18 lines (15 loc) · 496 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
* Copyright (c) 2014-2025 Kartik Kumar (me@kartikkumar.com)
* Distributed under the MIT License.
* See accompanying file LICENSE or copy at http://opensource.org/licenses/MIT
*/
#include <cstdlib>
#include <iostream>
#include "cppbase/cppbaseAll.hpp"
int main(const int numberOfInputs, const char* inputArguments[])
{
const int factorial = cppbase::computeFactorial(10);
std::cout << "10! = " << factorial << std::endl;
std::cout << "Hello!" << std::endl;
return EXIT_SUCCESS;
}