# CS Software

# Using the Command Line

# Linux Commands

  • Note:
    • All Linux commands are case sensitive
    • All commands are permanent. There is no trash bin where deleted files are stored.
    • The list of commands is found in the Advanced section here

# C++ Programming

For a detailed list of C++ Syntax, click here

# Compilers

  1. g++
    • Used for C++ programs
    • Usage: g++ filename.cpp
      • Bobby runs on C++ 98
      • Sally runs on C++ 14
      • The C++ version can be changed: g++ -std=c++<version number> filename.cpp
        • Eg. g++ -std=c++17 assignment1.cpp
    • Note: If you wish to compile to a different executable file than a.out, you can do so with the option -o
      • Usage: g++ -o executablefile source.cpp or or g++ source.cpp -o executablefile
        • File Execution: ./executablefile

# Text Editors

  1. vim

    • Simple text editor with some syntax highlighting
    • Usage: vim filename.extension
      • Eg. vim assignment1.cpp or vim response1.txt
    • Commands:
      • i - insert mode, used to edit the file

      • esc - used to escape current mode

      • 0 - Moves to the beginning of the line

      • $ - moves the cursor to the end of the line

      • : - last line mode (used to enter in other commands)

      • w - used to save

        • Usage: While in last line mode, type the colon (shift + ; ), type 'w' and press enter
      • wq - used to save and exit

        • Usage: While in last line mode, type the colon (shift + ; ), type 'wq' and press enter
      • q! - exit without saving the file. Any unsaved changes are lost

      • a - append, inserts text after the cursor

      • i - inserts text before the cursor

      • o - opens a new line below the cursor

      • x - deletes the character below the cursor

      • dd - used to delete an entire line

        • Usage: Hover over the line you wish to delete, then tap 'd' twice in quick succession
  2. vi

    • Simple text editor similar to vim
    • Usage: vi filename.extension
    • Eg. vi assignment1.cpp or vi response1.txt
  3. emacs

  4. nano

# Free for Students

# VMware

OnTheHub Website (opens new window)

  • Accounts for all CS students are created/updated at the beginning of each semester. You should have an email from noreply@kivuto.com in your Rebelmail inbox. If you don't, follow these steps:
    1. Go to Account Request Page (opens new window)
      • For students:
        • The email you provide must be your UNLV Rebelmail email (unlv.nevada.edu)
        • List your major, expected graduation year, and CS classes that you are currently enrolled in under 'Issue Description'.
      • For faculty and staff:
        • The email you provide must be a UNLV email (unlv.edu)
        • List your title and department.
    2. Please allow three business days for the registration process. You should receive an automated email message with information about how to complete your registration.

# Microsoft DevTools

# IDEs

# Useful Software