From 57eb36bf67c3ddd8ba761351af14d843783ca292 Mon Sep 17 00:00:00 2001 From: Robotmurlock Date: Tue, 23 Nov 2021 19:11:44 +0100 Subject: [PATCH] Zavrsena je stavka 07 za clang-tidy --- .gitignore | 4 +++- tema06_clangtools/02_cmake/build/run | Bin 63216 -> 0 bytes tema06_clangtools/07_readibility/new.cpp | 19 +++++++++++++++++++ tema06_clangtools/07_readibility/old.cpp | 19 +++++++++++++++++++ 4 files changed, 41 insertions(+), 1 deletion(-) delete mode 100755 tema06_clangtools/02_cmake/build/run diff --git a/.gitignore b/.gitignore index bf72072..fb377e5 100644 --- a/.gitignore +++ b/.gitignore @@ -104,4 +104,6 @@ callgrind.out.* callgrind.out # Python -__pycache__ \ No newline at end of file +__pycache__ + +**/build diff --git a/tema06_clangtools/02_cmake/build/run b/tema06_clangtools/02_cmake/build/run deleted file mode 100755 index 491dfa34889d1284ef1e1a2fb65e5ae8a7468f34..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 63216 zcmeHwdtg=7vG>kPQ4!(;O%ZGKVvDad2?0S-6X3v!1dJqTirAe)assF3WpV<6`apwT zPGc%1c&16hhaBn!_*(jS0q)_<6FCZ5#r0 zI{p<3*$cO)DuRYXgf9({>SfW54;-b?hK5>0f>bZrwQQK8XlP`rGS$nVTPb_tucjzI z4K>|ruTs$s5B&TTh1bwok8D$TlcE={cEjzu->ej9q8FKq>g9GQ{@nj^!%VTKhT5KF z6Z$tnTb+Q|Iz1>dNxKC3oT-_m+k>xA)VjW5V)Zpg`JI_X7i z(C|&4HOIiPbQ4a*@mL%yWuh;=@7d2fYkQwL^ZD0{?^t-&-;eD0c!HKeZ4wV%R9}Xe z%XI%0{39OK|L^lX;po~LexYu}s-aU2@o&^7T5_~fn^ppR$B=|8&^eIlF|2s+Aos&e)O-cB_lSH4BfX~K1?=?J$ z{L7Qz$p^E&LQr0kM4xk$@V^VZpFO9c-BWzze+v0WAvza!Dq<$ed|}=+N2{yOID_WO zc*8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(!s.empty()) + { + std::cout << s.top() << " "; + s.pop(); + } + + return 0; +} diff --git a/tema06_clangtools/07_readibility/old.cpp b/tema06_clangtools/07_readibility/old.cpp index e69de29..ada1970 100644 --- a/tema06_clangtools/07_readibility/old.cpp +++ b/tema06_clangtools/07_readibility/old.cpp @@ -0,0 +1,19 @@ +#include +#include + +int main() +{ + std::stack s; + s.push(3); + s.push(8); + s.push(9); + s.push(7); + + while(s.size() > 0) + { + std::cout << s.top() << " "; + s.pop(); + } + + return 0; +}