<br />
<b>Notice</b>:  Fungsi _load_textdomain_just_in_time ditulis secara <strong>tidak benar</strong>. Pemuatan terjemahan untuk domain <code>twentytwenty</code> dipicu terlalu dini. Ini biasanya merupakan indikator bahwa ada beberapa kode di plugin atau tema yang dieksekusi terlalu dini. Terjemahan harus dimuat pada tindakan <code>init</code> atau setelahnya. Silakan lihat <a href="https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/">Debugging di WordPress</a> untuk informasi lebih lanjut. (Pesan ini ditambahkan pada versi 6.7.0.) in <b>/home/u1708446/public_html/add/onuka/sd/oldyanukata/blog/wp-includes/functions.php</b> on line <b>6121</b><br />
{"id":1145,"date":"2015-03-27T01:39:50","date_gmt":"2015-03-26T18:39:50","guid":{"rendered":"http:\/\/yanukata.com\/?p=1145"},"modified":"2019-09-04T07:07:36","modified_gmt":"2019-09-04T00:07:36","slug":"ign-cara-compile-dan-menjalankan-cplusplus-di-igos-nusantara","status":"publish","type":"post","link":"https:\/\/oyk.akuno.id\/blog\/ign-cara-compile-dan-menjalankan-cplusplus-di-igos-nusantara\/","title":{"rendered":"Cara Compile dan Menjalankan C++ di IGOS Nusantara"},"content":{"rendered":"<p>Cara compile dan menjalankan C++ di IGOS Nusantara X.1 &nbsp;relatif mudah walau masih tergolong newbie di Linux maupun bahasa pemrograman C++. Saya sendiri baru tahap pengenalan belum sampai memahami mendetail atau membuat suatu program.<!--more--><\/p>\n<p>Berikut ini langkah-langkah memasang perangkat lunak agar bisa menjalankan C++<br \/>\n<strong>Pasang&nbsp;Development Tools<\/strong><\/p>\n<p>[code]$ sudo&amp;amp;nbsp;yum groupinstall &#8216;Development Tools'[\/code]<\/p>\n<pre><img decoding=\"async\" class=\"\" src=\"https:\/\/yanukata.files.wordpress.com\/2015\/03\/c-fedora-linux.png\" alt=\"Install Development Tools\"><\/pre>\n<p>Install Development Tools<\/p>\n<p><strong>Verifikasi pemasangan<\/strong> bisa dilakukan dengan tiga perintah terminal\/konsole<br \/>\nPerintah 1<\/p>\n<p>[code]$ whereis gcc[\/code]<\/p>\n<p>hasil:<\/p>\n<p>[code]gcc: \/usr\/bin\/gcc \/usr\/lib\/gcc \/usr\/libexec\/gcc \/usr\/share\/man\/man1\/gcc.1.gz[\/code]<\/p>\n<p>Perintah 2<\/p>\n<p>[code]$ which gcc[\/code]<\/p>\n<p>hasil:<\/p>\n<p>[code]\/usr\/bin\/gcc[\/code]<\/p>\n<p>Perintah 3<\/p>\n<p>[code]$ gcc &#8212;version[\/code]<\/p>\n<p>hasil:<\/p>\n<p>[code]gcc (GCC) 4.9.2 20150212 (Red Hat 4.9.2-6)<br \/>\nCopyright (C) 2014 Free Software Foundation, Inc.<br \/>\nIni adalah aplikasi bebas; lihat kode program untuk kondisi penyalinan. TIDAK&amp;amp;nbsp;ADA GARANSI; bahkan tidak untuk DIPERDAGANGKAN atau KECOCOKAN UNTUK SEBUAH TUJUAN TERTENTU.[\/code]<\/p>\n<p><img decoding=\"async\" class=\"\" src=\"https:\/\/yanukata.files.wordpress.com\/2015\/03\/pemilihan_001.png\" alt=\"Verifikasi pemasangan gcc\"><\/p>\n<p>Verifikasi pemasangan gcc<\/p>\n<p>Jika sudah terpasang kita buat file dengan ekstensi <strong>.c<\/strong> serta masukkan kode programnya<br \/>\ndalam contoh saya mengunakan nama file <strong>hitung <\/strong>dengan editor<strong> vim<br \/>\n<\/strong><\/p>\n<p>[code]$ vim hitung.c[\/code]<\/p>\n<p><strong><br \/>\n<\/strong><\/p>\n<p>berikut contoh kode C++<\/p>\n<p>[code]<\/p>\n<p>\/\/Latihan Hitung<\/p>\n<p>\/*<br \/>\nMenggunakan OS IGOS Nusantara X.1<br \/>\nAntarmuka KDE<br \/>\neditor vim<br \/>\n*\/<\/p>\n<p>#include&amp;amp;lt;stdio.h&amp;amp;gt;<\/p>\n<p>void main()<\/p>\n<p>{<br \/>\nfloat bil1,bil2,hasil;<br \/>\nprintf(&quot;Masukkan bil1=&quot;);<br \/>\nscanf(&quot;%f&quot;,&amp;amp;amp;bil1);<br \/>\nprintf(&quot;Masukkan Bil2=&quot;);<br \/>\nscanf(&quot;%f&quot;,&amp;amp;amp;bil2);<br \/>\nhasil = bil1 + bil2;<br \/>\nprintf(&quot;Hasil Penjumlahan %f \\n&quot;,hasil);<br \/>\nhasil = bil1 &#8211; bil2;<br \/>\nprintf(&quot;Hasil Pengurangan %f \\n&quot;,hasil);<br \/>\nhasil = bil1 * bil2;<br \/>\nprintf(&quot;Hasil Perkalian %f \\n&quot;,hasil);<br \/>\nhasil = bil1 \/ bil2;<br \/>\nprintf(&quot;Hasil Pembagian %f\\n&quot;,hasil);<br \/>\n}[\/code]<\/p>\n<img decoding=\"async\" class=\"\" src=\"https:\/\/yanukata.files.wordpress.com\/2015\/03\/c-fedora-linux-3.png\" alt=\"vim c++\">\n<p><strong>Compile<\/strong><br \/>\nMenggunakan perintah <strong>make<\/strong> diikuti <strong>nama_file<\/strong> tanpa ekstensi<\/p>\n<p>[code]$ make hitung[\/code]<\/p>\n<p>atau menggunakan <strong>cc<\/strong> diikuti<strong> nama_file.c<\/strong> lalu&nbsp;<strong>-o&nbsp;nama_file<br \/>\n<\/strong><\/p>\n<p>[code]$&amp;amp;nbsp;cc hitung.c &amp;amp;nbsp;-o hitung[\/code]<\/p>\n<p><strong>Menjalankan<\/strong><\/p>\n<p>Mengunakan perintah <strong>.\/nama_file<br \/>\n<\/strong><\/p>\n<p>[code]$ .\/hitung[\/code]<\/p>\n<img decoding=\"async\" class=\"\" src=\"https:\/\/yanukata.files.wordpress.com\/2015\/03\/c-fedora-linux-2.png\" alt=\"Compile dan menjalankan C++\">\n<p>Referensi:<a title=\"Compile And Run a C\/C++ Code In Linux\" href=\"http:\/\/www.cyberciti.biz\/faq\/howto-compile-and-run-c-cplusplus-code-in-linux\/\" target=\"_blank\" rel=\"noopener noreferrer\"> nixCraft<\/a><br \/>\nCatatan: berdasarkan uji coba <em>preprocessor<\/em>&nbsp;#include&lt;stdio.h&gt; berhasil namun&nbsp;#include&lt;iostream.h&gt; belum bisa.<br \/>\nSelamat mencoba.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Cara compile dan menjalankan C++ di IGOS Nusantara X.1 &nbsp;relatif mudah walau masih tergolong newbie di Linux maupun bahasa pemrograman C++. Saya sendiri baru tahap pengenalan belum sampai memahami mendetail atau membuat suatu program.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[24,5],"tags":[],"class_list":["post-1145","post","type-post","status-publish","format-standard","hentry","category-linux","category-software"],"_links":{"self":[{"href":"https:\/\/oyk.akuno.id\/blog\/wp-json\/wp\/v2\/posts\/1145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/oyk.akuno.id\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/oyk.akuno.id\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/oyk.akuno.id\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/oyk.akuno.id\/blog\/wp-json\/wp\/v2\/comments?post=1145"}],"version-history":[{"count":0,"href":"https:\/\/oyk.akuno.id\/blog\/wp-json\/wp\/v2\/posts\/1145\/revisions"}],"wp:attachment":[{"href":"https:\/\/oyk.akuno.id\/blog\/wp-json\/wp\/v2\/media?parent=1145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/oyk.akuno.id\/blog\/wp-json\/wp\/v2\/categories?post=1145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/oyk.akuno.id\/blog\/wp-json\/wp\/v2\/tags?post=1145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}