We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cd1964 commit 0717f0dCopy full SHA for 0717f0d
Makefile
@@ -2,7 +2,7 @@
2
TARGET = main
3
4
# Daftar file sumber
5
-SRCS = main.cpp other_file.cpp
+SRCS = main.cpp other_file.cpp baru.cpp
6
7
# Compiler dan flags
8
CXX = g++
tes_fail.cpp
@@ -0,0 +1,16 @@
1
+// menampilkan hello world
+#include <iostream>
+using namespace std;
+
+int main() {
+ cout << "Hello, World!";
+ return 0;
9
+ // meminta nama dari user, dan menampilkanya kembali ke layar
10
+ string nama;
11
+ cout << "Masukkan nama anda: ";
12
+ cin >> nama;
13
+ cout << "Nama anda adalah: " << nama;
14
15
16
+}
0 commit comments