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

Merge branch 'exe_02_21' into 'master'

Davit Danieya exercise02-21

See merge request bpcarm/trainings2017!335
parents df52d1b1 6e56ae51
#include <iostream>
int
main()
{
std::cout << "Print figures" << "\n";
std::cout << "*********" << "\t *** " << "\t * " << "\t * \n";
std::cout << "* *" << "\t * * " << "\t *** " << "\t * * \n";
std::cout << "* *" << "\t* *" << "\t*****" << "\t * * \n";
std::cout << "* *" << "\t* *" << "\t * " << "\t * * \n";
std::cout << "* *" << "\t* *" << "\t * " << "\t* *\n";
std::cout << "* *" << "\t* *" << "\t * " << "\t * * \n";
std::cout << "* *" << "\t* *" << "\t * " << "\t * * \n";
std::cout << "* *" << "\t * * " << "\t * " << "\t * * \n";
std::cout << "*********" << "\t *** " << "\t * " << "\t * \n";
return 0;
}
prog:
g++ -E exercise_02_21.cpp -o exercise_02_21.ii
g++ -S exercise_02_21.ii -o exercise_02_21.s
g++ -c exercise_02_21.s -o exercise_02_21.o
g++ exercise_02_21.o -o exercise_02_21
echo exercise_02_21 > .gitignore
clean:
rm exercise_02_21.ii exercise_02_21.s exercise_02_21.o exercise_02_21 .gitignore
test:
./exercise_02_21
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