Jasson9
  • NEW!
    NEW!  Connect Ideas Across Notes
    Save time and share insights. With Paragraph Citation, you can quote others’ work with source info built in. If someone cites your note, you’ll see a card showing where it’s used—bringing notes closer together.
    Got it
      • Create new note
      • Create a note from template
        • Sharing URL Link copied
        • /edit
        • View mode
          • Edit mode
          • View mode
          • Book mode
          • Slide mode
          Edit mode View mode Book mode Slide mode
        • Customize slides
        • Note Permission
        • Read
          • Only me
          • Signed-in users
          • Everyone
          Only me Signed-in users Everyone
        • Write
          • Only me
          • Signed-in users
          • Everyone
          Only me Signed-in users Everyone
        • Engagement control Commenting, Suggest edit, Emoji Reply
      • Invite by email
        Invitee

        This note has no invitees

      • Publish Note

        Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

        Your note will be visible on your profile and discoverable by anyone.
        Your note is now live.
        This note is visible on your profile and discoverable online.
        Everyone on the web can find and read all notes of this public team.

        Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

        Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

        Explore these features while you wait
        Complete general settings
        Bookmark and like published notes
        Write a few more notes
        Complete general settings
        Write a few more notes
        See published notes
        Unpublish note
        Please check the box to agree to the Community Guidelines.
        View profile
      • Commenting
        Permission
        Disabled Forbidden Owners Signed-in users Everyone
      • Enable
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
        • Everyone
      • Suggest edit
        Permission
        Disabled Forbidden Owners Signed-in users Everyone
      • Enable
      • Permission
        • Forbidden
        • Owners
        • Signed-in users
      • Emoji Reply
      • Enable
      • Versions and GitHub Sync
      • Note settings
      • Note Insights New
      • Engagement control
      • Make a copy
      • Transfer ownership
      • Delete this note
      • Save as template
      • Insert from template
      • Import from
        • Dropbox
        • Google Drive
        • Gist
        • Clipboard
      • Export to
        • Dropbox
        • Google Drive
        • Gist
      • Download
        • Markdown
        • HTML
        • Raw HTML
    Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
    Create Create new note Create a note from template
    Menu
    Options
    Engagement control Make a copy Transfer ownership Delete this note
    Import from
    Dropbox Google Drive Gist Clipboard
    Export to
    Dropbox Google Drive Gist
    Download
    Markdown HTML Raw HTML
    Back
    Sharing URL Link copied
    /edit
    View mode
    • Edit mode
    • View mode
    • Book mode
    • Slide mode
    Edit mode View mode Book mode Slide mode
    Customize slides
    Note Permission
    Read
    Only me
    • Only me
    • Signed-in users
    • Everyone
    Only me Signed-in users Everyone
    Write
    Only me
    • Only me
    • Signed-in users
    • Everyone
    Only me Signed-in users Everyone
    Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note No publishing access yet

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.

    Your account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Your team account was recently created. Publishing will be available soon, allowing you to share notes on your public page and in search results.

    Explore these features while you wait
    Complete general settings
    Bookmark and like published notes
    Write a few more notes
    Complete general settings
    Write a few more notes
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # **Panduan Instalasi Dev C++ dan Python Pada Windows - HIMTI PBP TECHNO** ## Instalasi Dev C/C++ Dev C++ merupakan IDE yang digunakan BINUS University untuk pembelajaran bahasa Pemogramman C/C++. Persyaratan minimum perangkat untuk dapat menggunakan Dev C++ 5.11 yaitu: * Sistem Operasi: Windows XP/Vista/7/8/8.1/10/11 * RAM: 2 GB atau lebih. * Penyimpanan: 500 MB atau lebih. * Prosessor: 1.0 GHz Intel Pentium atau lebih. Berikut tahap-tahap instalasi Dev C++: ### 1. Download Installer Installer untuk Dev C++ dapat diunduh [disini](https://sourceforge.net/projects/orwelldevcpp/) ### 2. Setup Installer Setelah proses mengunduh selesai, buka file instalasi(.exe) yang telah diunduh. * Klik **I Agree** ![](https://cdn.discordapp.com/attachments/895309450242584579/1077596863806582906/image.png) * Pastikan tipe instalasi yang terpilih adalah full dengan centang yang sesuai dengan gambar dibawah kemudian klik **Next** ![](https://cdn.discordapp.com/attachments/895309450242584579/1077598113352658964/image.png) * Sesuaikan lokasi instalasi dengan kemauanmu. kemudian klik **Install** ![](https://cdn.discordapp.com/attachments/895309450242584579/1077598414876983397/image.png) <br> ### 3. Proses Instalasi ![](https://cdn.discordapp.com/attachments/895309450242584579/1077598657467138048/image.png) <div style="text-align:center;"> Proses instalasi </div> <br> ![](https://cdn.discordapp.com/attachments/895309450242584579/1077599526447235112/image.png) * Kemudian centang opsi **Run Dev-C++ 5.11** lalu klik tombol **Finish** <br> ### 4. Setup Debugger dan cara penggunaan (Opsional) #### Mengapa debugger? Debugger atau pengawakutu sangat membantu untuk menguji proses suatu program. Debugger menampilkan variabel-variabel suatu proses ketika menemui breakpoint sehingga debugger sangat berguna untuk menganalisa dan memperbaiki masalah atau bug pada program(Debugging). Pada C/C++ salah satu debugger yang dapat digunakan dan di implementasikan pada Dev C++ yaitu GDB. #### Setup GDB(Debugger) pada Dev C++ Untuk dapat menggunakan GDB pada Dev C++, berikut langkah-langkah yang diperlukan: * Buka Dev C++ dan pada topbar **Tools** pilih **Compiler Options** ![](https://cdn.discordapp.com/attachments/895309450242584579/1077602828488560700/image.png) * Kemudian dalam window compiler options pilih **Settings** lalu pilih **Linker** di dalamnya, setelah itu di opsi **Generate debugging information** pilih **Yes** dan simpan perubahan. ![](https://cdn.discordapp.com/attachments/895309450242584579/1077606101190725765/image.png) #### Cara menggunakan GBD(Debugger) pada Dev C++ * Pertama-tama buat sebuah proyek pada Dev C++, disini saya akan memilih **Empty Project** ![](https://cdn.discordapp.com/attachments/895309450242584579/1077612079806152816/image.png) * pada topbar **view** pastikan **Project/Class Browser** telah dicentang ![](https://cdn.discordapp.com/attachments/895309450242584579/1077614390800556133/image.png) * untuk menambahkan breakpoint dan menghapus breakpoint klik baris nomor pada code editor. Tahap ini bisa dilakukan sebelum maupun sesudah compile. ![](https://cdn.discordapp.com/attachments/895309450242584579/1077616103854964756/image.png) * Pada window bawah pilih tab debug. untuk menambahkan variable yang ingin dipantau pilih **Add watch** jika sudah klik Debug atau <kbd>F5</kbd>. ![](https://cdn.discordapp.com/attachments/895309450242584579/1077615192826974269/image.png) * setelah memasukan angka pada console, program akan memproses angka tersebut pada loop dan mengenai breakpoint sehingga eksekusi terjeda dan memperlihatkan nilai variabel yang ada di watchlist. ![](https://cdn.discordapp.com/attachments/895309450242584579/1077620896094769164/image.png) * untuk melanjutkan eksekusi pada tab bawah klik **continue** ![](https://cdn.discordapp.com/attachments/895309450242584579/1077622678929809428/image.png) setelah 1 kali continue * untuk menghentikan eksekusi program secara paksa klik **Stop Execution** * selain itu debugger juga dapat menampilkan kode mesin yang dieksekusi pada pilihan **View CPU window** ## Instalasi Python dan Visual Studio Code ### Tentang Python Bahasa pemogramman Python merupakan salah satu bahasa pemograman yang paling mudah dipelajari. Disamping kemudahannya python juga berperan penting dalam analisa data, machine learning, deep learning dan sebagainya. Selain itu bahasa ini juga di gunakan para mahasiswa dari BINUS Senayan sebagai bahasa pemograman utama. Python pada windows dapat diinstal melalui berbagai cara. Pada panduan ini metode instalasi yang digunakan yaitu melalui chocolatey. ### Tentang chocolatey Chocolatey adalah pengelola paket(menggunakan C#) yang dapat dijalankan melalui command shell Windows. paket-paket tersebut mencakup aplikasi, library, dependensi dan sebagainya. Chocolatey dapat mempermudah tahap download dan instalasi suatu program hanya melalui satu baris perintah layaknya apt pada linux. ### Tentang Visual Studio Code Visual Studio Code adalah sebuah IDE(Integrated Developer Environment/Lingkungan pengembangan terintegrasi) yang dikembangkan oleh Microsoft. Visual Studio Code memiliki kompabilitas sebagai code editor yang cocok untuk berbagai bahasa pemograman seperti Python, Javascript, C/C++, C# dan lebih banyak lagi. Dengan adanya extension, VS Code dapat dimodifikasi untuk memberikan lebih banyak fitur untuk para programmer. IDE yang digunakan BINUS University untuk bahasa pemograman python sendiri adalah Visual Studio Code sehingga panduan ini ditujukan lebih untuk instalasi Visual Studio Code sebagai IDE Python. ### Instalasi Python dan Chocolatey #### 1. Install Chocolatey * Tekan tombol windows atau pencarian lalu cari powershell * Kemudian pada Windows Powershell pilih opsi **Run As Administrator** ![](https://cdn.discordapp.com/attachments/895309450242584579/1077626373142753320/image.png) * copy code di bawah ini lalu paste-kan kedalam powershell yang telah dibuka dan tekan enter ``` Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://community.chocolatey.org/install.ps1')) ``` #### 2. Install Python melalui Chocolatey * Untuk menginstal python melalui chocolatey bisa menggunakan perintah ``` choco install python ``` * Kemudian jika ada permintaan untuk instalasi paket lain masukan karakter **A** untuk mengijinkan semuanya. * Jika proses instalasi selesai maka silahkan reboot/restart PC anda. #### 3. Pasca Instalasi Python * Untuk mengecek terinstalnya python buka powershell seperti sebelumnya kemudian gunakan perintah ``` python3 ``` * Jika perintah tersebut mengarahkan ke microsoft store atau tidak seperti gambar di bawah ini ![](https://cdn.discordapp.com/attachments/895309450242584579/1077637283735425024/image.png) * maka coba jalankan perintah ini ``` python ``` * Apabila sesuai dengan gambar diatas maka jalankan perintah dibawah ini (Hanya berlaku untuk python 3.11) ``` Copy-Item -Path "C:\Python311\python.exe" -Destination "C:\Python311\python3.exe" ``` ### Instalasi Visual Studio Code #### 1. Download Visual Studio Code Visual Studio Code dapat diunduh melalui [situs resminya](https://code.visualstudio.com/download). Setelah mengunjungi situs tersebut pilh opsi Windows untuk mengunduh installer khusus Windows. #### 2. Setup Installer * Setelah proses download selesai, buka file eksekusi(.exe) yang diunduh. * Kemudian pilih **I accept the agreement** jika setuju dengan syarat ketentuan yang ditunjukan lalu pilih **Next**. * Pilih semua Centang dan **Next** lagi. * Kemudian klik pilihan **Install**. * Setelah proses instalasi selesai silahkan reboot atau restart PC anda. #### 3. Instalasi Ekstension * Buka Visual studio code yang sudah terinstall * Kemudian klik opsi extension pada sebelah kiri layar atau menggunakan shortcut <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>X</kbd> ![](https://cdn.discordapp.com/attachments/895309450242584579/1077865721943560202/image.png) * klik kolom search dan cari **python** * Kemudian pilih pilihan pertama lalu klik **install** ![](https://cdn.discordapp.com/attachments/895309450242584579/1077866383251095592/image.png) * Pada kolom search lagi cari **code runner** * Kemudian pilih pilihan yang pertama lalu klik **install** ![](https://cdn.discordapp.com/attachments/895309450242584579/1077868171601641533/image.png) #### 4. Setup Debugger dan Cara penggunaan (Opsional) Debugger python pada visual studio code secara otomatis disetup ketika menginstal extension python. Berikut adalah cara penggunaan debugger python pada visual studio code: * Buat file python menggunakan <kbd>F1</kbd> lalu ketik **create file** dan pilih **Python File** * Masukan code yang ingin di-debug * Kemudian tambahkan breakpoint untuk nantinya menjeda eksekusi ketika mencapai baris tersebut. untuk menambahkan breakpoint klik di sebelah kiri nomor baris code hingga menjadi bulatan merah dan klik lagi jika ingin menghapus breakpoint. Proses ini bisa dilakukan baik sebelum maupun sesudah proses compile. ![](https://cdn.discordapp.com/attachments/895309450242584579/1077873428297687080/image.png) * Untuk melakukan debug di bagian kiri layar pilih opsi **Run And Debug** atau dengan shortcut <kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>D</kbd> ![](https://cdn.discordapp.com/attachments/895309450242584579/1077874944878325760/image.png) * Kemudian klik **Run and Debug** atau <kbd>F5</kbd>. Jika file belum disimpan maka akan muncul window untuk menyimpan file. * Setelah memasukan angka input kedalam terminal maka eksekusi akan berhenti pada breakpoint dan menampilkan nilai-nilai dari variabel yang ada di code. ![](https://cdn.discordapp.com/attachments/895309450242584579/1077876697950605342/image.png) * Untuk melanjutkan eksekusi tekan <kbd>F5</kbd> ![](https://cdn.discordapp.com/attachments/895309450242584579/1077877446428340314/image.png) <div style="text-align:center;">Setelah Continue</div> <br> * Untuk menghentikan eksekusi secara paksa gunakan tombol stop atau <kbd>Shift</kbd> + <kbd>F5</kbd>

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password
    or
    Sign in via Google Sign in via Facebook Sign in via X(Twitter) Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    By signing in, you agree to our terms of service.

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully