Skip to content

Commit

Permalink
Modernize Pemrograman Dasar with C++ (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
fushar committed Dec 22, 2024
1 parent c81cd0d commit 4806e81
Show file tree
Hide file tree
Showing 362 changed files with 1,723 additions and 15,066 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@
*.mtc
*.mtc1
*.nav
*.out
*.snm
*.synctex.gz
*.pdf
Expand Down
1 change: 1 addition & 0 deletions topik/pemrograman-dasar-cpp/01-expression/a-hello/1.out
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Halo, dunia!
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#include <iostream>

int main() {
std::cout << "Halo, TLX!" << std::endl;
}
2 changes: 2 additions & 0 deletions topik/pemrograman-dasar-cpp/01-expression/b-lines/1.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Halo, dunia!
Aku semangat belajar C++!
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#include <iostream>

int main() {
std::cout << "Halo, dunia!" << std::endl;

}
1 change: 1 addition & 0 deletions topik/pemrograman-dasar-cpp/01-expression/c-number/1.out
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Pak Dengklek memiliki 75 ekor bebek.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#include <iostream>

int main() {
std::cout << "Pak Dengklek memiliki " << ... << " ekor bebek." << std::endl;
}
1 change: 1 addition & 0 deletions topik/pemrograman-dasar-cpp/01-expression/d-operator/1.out
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Pak Dengklek memiliki 1257 ekor bebek.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#include <iostream>

int main() {
std::cout << "Pak Dengklek memiliki " << 738 ... 519 << " ekor bebek." << std::endl;
}
2 changes: 2 additions & 0 deletions topik/pemrograman-dasar-cpp/01-expression/f-cage/1.out
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
28756
886
9 changes: 9 additions & 0 deletions topik/pemrograman-dasar-cpp/01-expression/f-cage/skeleton.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#include <iostream>

int main() {
// cetak luas kandang
std::cout << 364 ... 79 << std::endl;

// cetak keliling kandang
std::cout << ... << std::endl;
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
5 changes: 0 additions & 5 deletions topik/pemrograman-dasar-cpp/01-perkenalan/asset/halo.cpp

This file was deleted.

3 changes: 0 additions & 3 deletions topik/pemrograman-dasar-cpp/01-perkenalan/asset/halo.pas

This file was deleted.

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
4 changes: 0 additions & 4 deletions topik/pemrograman-dasar-cpp/01-perkenalan/asset/source.txt

This file was deleted.

Loading

0 comments on commit 4806e81

Please sign in to comment.