Commit a031d30f authored by Believer Programmers' Club's avatar Believer Programmers' Club

Merge branch 'exe_02_22' into 'master'

Davit Danielyan exercise02-22 See merge request bpcarm/trainings2017!336
parents d60d7275 3612a554
#include <iostream>
int
main()
{
std::cout << "print code: " << "\n";
std::cout << "*\n**\n***\n****\n*****\n";
return 0;
}
prog:
g++ -E exercise_02_22.cpp -o exercise_02_22.ii
g++ -S exercise_02_22.ii -o exercise_02_22.s
g++ -c exercise_02_22.s -o exercise_02_22.o
g++ exercise_02_22.o -o exercise_02_22
echo exercise_02_22 > .gitignore
clean:
rm exercise_02_22.ii exercise_02_22.s exercise_02_22.o exercise_02_22 .gitignore
test:
./exercise_02_22
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment