idk
This commit is contained in:
parent
9c0cc4eedf
commit
636529ec05
7
Makefile
Normal file
7
Makefile
Normal file
@ -0,0 +1,7 @@
|
|||||||
|
setup:
|
||||||
|
mkdir build
|
||||||
|
sheet0:
|
||||||
|
g++ src/sheet0.cpp -o ./build/sheet0
|
||||||
|
run: sheet0
|
||||||
|
chmod +x build/
|
||||||
|
build/sheet0
|
BIN
build/sheet0
Executable file
BIN
build/sheet0
Executable file
Binary file not shown.
10
src/sheet0.cpp
Normal file
10
src/sheet0.cpp
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
#include <iostream>
|
||||||
|
|
||||||
|
int main()
|
||||||
|
{
|
||||||
|
int i;
|
||||||
|
std::cout << "Enter an integer: ";
|
||||||
|
std::cin >> i;
|
||||||
|
std::cout << "Number: " << i << "!\n";
|
||||||
|
return 0;
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user