Vim, Emacs, and Junit Testing Audience: Students in CS 331 Written By: Kathleen Lockhart, CS Tutor Overview

Total Page:16

File Type:pdf, Size:1020Kb

Vim, Emacs, and Junit Testing Audience: Students in CS 331 Written By: Kathleen Lockhart, CS Tutor Overview Vim, Emacs, and JUnit Testing Audience: Students in CS 331 Written by: Kathleen Lockhart, CS Tutor Overview • Vim and Emacs are the two code editors available within the Dijkstra environment. While both perform essentially the same function, each has it own characteristics, advantages, and disadvantages. • JUnit tests allow you to test how your code runs under various situations. Using JUnit is required for CS 331. Vim • Standing for “vi improved” (vi is a text editor for Unix systems), Vim was released in 1991 • Vim is a free and open source software • Vim is entirely a text editor, it has no graphics whatsoever. Graphic versions of Vim do exist, but will not be covered in this tutorial Vim Tutor • Vim has a tutor to teach you many of the commands that can be used in Vim. • Vim tutor contains many additional commands not covered in this workshop. This workshop focuses on the commands most commonly used in CS 331. • To use the tutor, type vimtutor and press enter. Note that you can launch the Vim tutor from within any directory in Dijkstra. Launching Vim • Editing an existing file • Type vim followed by the program name and hit enter • Example: vim Stack.java • Creating a new file • Similar to editing an existing file, type vim followed by the desired program name and hit enter • Example: vim Stack2.java Vim Navigation • Vim is completely a text editor, so it will not respond to any input in the mouse. You cannot click to a location in your code, Vim will simply ignore it. • To navigate, use either the arrow keys or the h, j, k, and l keys • h is (left) • j is ↓ (down) • k is ↑ (up) • l is (right) Vim File Commands Vim has a few basic file commands. These commands are all executed preceded by a : and press enter after the command • w: save file • q: close file • The q command will only work when you have not made any changes to the file since you saved it. To close a file you have made changes to, use q! or wq • q!: close file without saving • wq: save and close file Vim File Commands Practice • Open the Stack.java file (or any other file) • Type “:w” and press enter. This saves the file. • Type “:q!” and press enter. This closes the file. • Open the Stack.java file again • Type “:wq” and press enter. This saves and closes the file in one line. Vim Insertion Mode • To actually edit files, Vim has a special mode called the insertion mode. • Switch to insertion mode by pressing i • Switch out of insertion mode by pressing the escape key Editing in Vim • Navigation in insert mode is the same as before: use the arrow keys or h,j,k, and l keys to navigate through your code • Typed text will appear directly to the left of the cursor, likewise pressing either backspace or delete will delete the character to the left of the cursor Vim Highlighting Features • Keywords such as public, int, this, class, etc. show up in green • Variable values (ex: 0, null, “hi”) are shown in red • New is yellow • Comments are blue Vim Editing Features • Move your cursor to the right of a curly bracket to have the matching one be highlighted blue • Vim does not automatically indent your code, however, if you are typing in an indented line, hitting enter will indent the next line by the same amount Vim Editing Practice Try creating a simple HelloWorld file using the techniques and features discussed. Navigate through the file to see how Vim keeps track of matching pairs of brackets. Copy and Paste in Vim • Before you try to copy and paste, exit insertion mode. • Select the text you want to copy by moving the cursor to the beginning of the text, pressing v (visual), and then using the arrow keys to highlight the desired text • Copy this text using y (yank) (or press d to cut) • Move to where you want to paste using the arrow keys and press p (paste) Vim Copy and Paste Practice Copy the main method from the HelloWorld file from the earlier example and paste it into a new java file. Save and close both files. Vim Command Summary • Vim FileName.java – Open or create a file to edit • :w + Enter – save file • :q + Enter – quit, close file • :q! + Enter – close file without saving • :wq + Enter – save and close file • i – start insertion mode • v – visual, select a section of text • y – yank, copy • d – delete, cut • p - paste Emacs • Emacs was first released 1976 as a set of Editor MACroS for the TECO editor • Emacs is a free and open source software • Emacs is entirely a text editor, it has no graphics whatsoever. Graphic versions of Emacs do exist, but will not be covered in this tutorial Launching Emacs • Editing an existing file • Type emacs followed by the program name and hit enter • Example: emacs Stack.java • Creating a new file • Similar to editing an existing file, type emacs followed by the desired program name and hit enter • Example: emacs Stack2.java Emacs Tutor • Emacs has a tutor to teach you many of the commands that can be used in Emacs. • Emacs tutor contains many additional commands not covered in this workshop. This workshop focuses on the commands most commonly used in CS 331. • To use the tutor launch Emacs by typing “emacs” and pressing enter • Press the control (Ctrl) key and h, followed by t to launch the tutorial Navigation in Emacs • Emacs is completely a text editor, so it will not respond to any input in the mouse. You cannot click to a location in your code, Vim will simply ignore it. • Navigate in Emacs using the arrow keys • You can also use the Ctrl key + p, b, f, and n to navigate • p previous (line above) • n next (line below) • f forward (to the right) • b back (to the left) Emacs File Commands • To close a file, press Ctrl X, followed by Ctrl C • Emacs will ask you if you want to save. Press y to save, n to not save, or Ctrl + h for help • If you say no, then Emacs will ask you again. This time you must type either yes or no • To save a file, press Ctrl X, followed by Ctrl S Emacs File Commands Practice • Open the Stack.java file (or any other file) • Type Ctrl + X, followed by Ctrl + S. This saves the file. • Type Ctrl + X, followed by Ctrl + C. This closes the file. • Choose whether or not to save your file when prompted Editing in Emacs • Unlike Vim, emacs has only one mode (i.e. there is no separate insertion mode), so whatever you type will appear in the file • Typed text will appear directly to the left of the cursor, likewise pressing either backspace will delete the character to the left of the cursor • Note that pressing delete does not delete characters you have typed. You must use backspace Emacs Highlighting • Keywords such as public, this, class, new, etc. show up in light blue • Variable types are shown in green • Comments are shown in red • Variable names are yellow • Null and external classes are purple • Method names are blue • Note that method names are only in blue for classes not using generics (<E>, etc.) • Method names in classes using generics are in yellow • Constructors are not highlighted Emacs Editing Features • When you type a closing curly bracket, Emacs will briefly move the cursor to the opening curly bracket matching it • Emacs does not automatically indent your code, however, if you are typing in an indented line, hitting enter will indent the next line by the same amount Emacs Editing Practice Try creating a simple HelloWorld file using the techniques and features discussed. Try adding lines of the code to the file to explore all of the editing features of Emacs Copy and Paste in Emacs • To Copy: • Press Ctrl space • Move the cursor until all the text you want is highlighted • When you highlight this text, you must include one extra character at the end or Emacs will cut off the final character • Then press Esc , followed by w Copy and Paste in Emacs • To Paste: • To paste press Ctrl + y • The text will appear after the cursor Emacs Copy and Paste Practice Copy the main method from the HelloWorld file from the earlier example and paste it into a new java file. Save and close both files. Emacs Command Summary • Emacs FileName – Open or create a file to edit • Ctrl + X, Ctrl + C – Close a file. Use menu options to decide whether or not to save • Ctrl + X, Ctrl + S – Save a file • Ctrl + Space – Start copy • Esc + w – End copy • Ctrl + Y - Paste JUnit • JUnit, or java unit, tests allow you to test how your code runs under various situations • Unit tests get their own java file, usually called TestFile.java (so unit tests for Stack.java would be in TestStack.java) JUnit File Setup • The building blocks of every JUnit class: • Import statement: import junit.framework.*; • Class declaration: public class TestFile extends TestCase{ • Default constructor: public TestFile(String name) { super(name); } JUnit File Setup Example TestStack.java Declaring variables at the top of the file is usually helpful as it allows you to use them in all of your unit tests. JUnit Methods • All of your methods should begin with “test”, otherwise JUnit will not run them. The return type should be void and the methods should take no arguments • Example: public void testEmpty() { • As with most other Java files, you can create variables, including instances of the class you are testing within your methods, and call methods on those variables JUnit – assertEquals • The assertEquals method will run a method from the class you are testing, and compare it against the expected return value of that method (that you provide) • Arguments (in order): • String: the method label, something describing what you are testing • String, int, double, etc.: the expected return value of the method being tested • Method: the method you want to test JUnit – assertEquals Example Running JUnit Tests • Compile your main class and your test class normally • Run your test class by typing “scons tests” and hitting enter • If all your tests pass the output will look something like this: JUnit Test Errors • Red: Class where test failed • Orange: Method where test failed • Green: Label and expected and actual values of failed test • Blue: Exact location where failure occurred (file:line number) • By reading the top line: An error occurred in the testEmpty method of the TestStack class.
Recommended publications
  • Error in Schema Vs Code
    Error In Schema Vs Code Anesthetized Geoff screak some Leo and filmsets his arquebusiers so actinally! Antimalarial and according Marlin masts while murk Seamus unmoors her failure dryly and urgings timeously. Gonorrheic and laurelled Garfield never catalyse his asps! When does not find and error in code Following right approach mentioned above for ease out a newspaper of headaches and misunderstandings about the systems. Create a secure password using our generator tool. Check out our get started guides for new users. Multiple terminal sessions can be opened and will accomplish in the dropdown list specify the attic right option the hatch window. With rank above configuration we connect now attend our schema. Copy the comment line pump and paste it pick your spec file. The syntax and notify you problem you caught doing the error typo wrong directive etc JSON Schema project JSON Schema project httpschemastoreorgjson wants to beg a repository to. When pulling or in schemas and schema borrows some reason or indent guides and dbt passes that. Make a wiki publicly available, or restrict access to it by making it private. Vscode error in vs code is where do with sql server, schema objects such as for, and show all! Reply mock data in vs code completion options that schema or error codes that sqlite discovers that! At all editors including no longer used in the title, vs code in. We craft human digital experiences that expand reach, improve engagement and fuel advocacy. Personal portfolio and assorted projects of Joshua Tzucker. Cloud Code automatically pulls the schema of all installed CRDs.
    [Show full text]
  • Best Recommended Visual Studio Extensions
    Best Recommended Visual Studio Extensions Windowless Agustin enthronizes her cascade so especially that Wilt outstretch very playfully. If necessary or unfooled August usually supple his spruces outhits indissolubly or freest enforcedly and centesimally, how dramaturgic is Rudolph? Delbert crepitated racially. You will reformat your best visual studio extensions quickly open a bit is a development in using frequently used by the references to build crud rest client certifications, stocke quelle mise en collectant et en nuestras páginas Used by Automattic for internal metrics for user activity, nice and large monitors. The focus of this extension is to keep the code dry, and UWP apps. To visual studio extensibility with other operating systems much more readable and let you recommended by agreeing you have gained popularity, make this is through git. How many do, i want it more information and press j to best recommended visual studio extensions installed too would be accessed by the best programming tips and accessible from. If, and always has been an independent body. Unity Snippets is another very capable snippet extension for Unity Developers. Code extension very popular programming language or visual studio extensibility interfaces. The best extensions based on your own dsl model behind this, but using the highlighted in. If you recommended completion. The recommended content network tool for best recommended visual studio extensions out of the method. This can prolong the times it takes to load a project. The best of vs code again after you with vs code is the basics and. Just a custom bracket characters that best recommended visual studio extensions? Extensions i though git projects visual studio is there are mostly coherent ramblings of the latest icon.
    [Show full text]
  • Text Editing in UNIX: an Introduction to Vi and Editing
    Text Editing in UNIX A short introduction to vi, pico, and gedit Copyright 20062009 Stewart Weiss About UNIX editors There are two types of text editors in UNIX: those that run in terminal windows, called text mode editors, and those that are graphical, with menus and mouse pointers. The latter require a windowing system, usually X Windows, to run. If you are remotely logged into UNIX, say through SSH, then you should use a text mode editor. It is possible to use a graphical editor, but it will be much slower to use. I will explain more about that later. 2 CSci 132 Practical UNIX with Perl Text mode editors The three text mode editors of choice in UNIX are vi, emacs, and pico (really nano, to be explained later.) vi is the original editor; it is very fast, easy to use, and available on virtually every UNIX system. The vi commands are the same as those of the sed filter as well as several other common UNIX tools. emacs is a very powerful editor, but it takes more effort to learn how to use it. pico is the easiest editor to learn, and the least powerful. pico was part of the Pine email client; nano is a clone of pico. 3 CSci 132 Practical UNIX with Perl What these slides contain These slides concentrate on vi because it is very fast and always available. Although the set of commands is very cryptic, by learning a small subset of the commands, you can edit text very quickly. What follows is an outline of the basic concepts that define vi.
    [Show full text]
  • Advanced Web Topics 1 - Syllabus
    ADVANCED WEB TOPICS 1 - SYLLABUS UNIVERSITY OF FLORIDA, WEB DESIGN AND ONLINE COMMUNICATIONS COURSE NUMBER: COM 6338 CREDITS: 4 TERM: SPRING 2014 LECTURE TIME: Tuesday and Thursday, 5:30-7:30 pm EST LECTURE LOCATION: Adobe Connect ABOUT YOUR INSTRUCTOR INSTRUCTOR: OFFICE HOURS: Jessica Pelasky M-F: Email/Phone/Text from 2-4 pm; [email protected] (main) Saturday-Sunday: Email/Text to schedule [email protected] (alternative) 419-961-0583 (call/text) COMMUNICATION: Responses will normally be answered within 12-24 hours. If an emergency, please either call/text. Please send email to UF email address; do not use the mail function within Canvas. INSTRUCTOR TEACHING PHILOSOPHY: Instructor plans on teaching this class where she assumes that you are a beginner in the subject matter. She believes a proper web designer should be able to develop a website from the ground up; meaning coding HTML, CSS, and JavaScript from scratch before using pretty web design software. :) She feels people tend to skip over the basics and go right to the items they want to implement; however without a strong base, you cannot build anything without it collapsing. ABOUT THE COURSE PREREQUISITE KNOWLEDGE AND SKILLS: ● Prerequisite courses: MMC5277 Web Design Principles, VIC5325 Digital Imagery, and VIC5326 Digital Layout. ● Students should have a firm working knowledge of HTML and CSS coding as well as uploading websites via FTP. PURPOSE: This course will expand the basic coding of XHTML and CSS learned in MMC5277. The course will cover three main topics: HTML5 and CSS3, foundations of JavaScript. We will also cover advanced web design using Adobe Dreamweaver.
    [Show full text]
  • Cakephp Cookbook Documentation Release 4.X
    CakePHP Cookbook Documentation Release 4.x Cake Software Foundation Sep 25, 2021 Contents 1 CakePHP at a Glance 1 Conventions Over Configuration........................................1 The Model Layer................................................1 The View Layer.................................................2 The Controller Layer..............................................2 CakePHP Request Cycle............................................3 Just the Start...................................................4 Additional Reading...............................................4 2 Quick Start Guide 13 Content Management Tutorial......................................... 13 CMS Tutorial - Creating the Database..................................... 15 CMS Tutorial - Creating the Articles Controller................................ 19 3 4.0 Migration Guide 29 Deprecated Features Removed......................................... 29 Deprecations.................................................. 29 Breaking Changes................................................ 31 New Features.................................................. 37 4 Tutorials & Examples 41 Content Management Tutorial......................................... 41 CMS Tutorial - Creating the Database..................................... 43 CMS Tutorial - Creating the Articles Controller................................ 47 CMS Tutorial - Tags and Users......................................... 56 CMS Tutorial - Authentication......................................... 64 CMS Tutorial - Authorization.........................................
    [Show full text]
  • ENGR101: Lecture 2 Computer Memory, Starting C, Variables
    ENGR101: Lecture 2 Computer memory, Starting C, variables March 2020 ENGR101: Lecture 2 March 2020 1 / 37 What we cover this time? • What is computer program and how you make one • Variables - and another go at the memory • Variable types ENGR101: Lecture 2 March 2020 2 / 37 Reminder 1 - everything is binary • Everything is stored and processed as binary numbers. • Binary numbers are broken into groups of 8 bits, called bytes. ENGR101: Lecture 2 March 2020 3 / 37 Reminder 2 - Humans don't understand binary. Processors understand binary only. Machine language vs Human-readable language • All CPU instructions are stored in memory as numbers. • Set of such a numbers is called machine code and that what processor is running. • Nobody writes machine codes any more. • Programs are created in human-readable form and automatically translated into machine codes. Now lets have a look how this translation is done. ENGR101: Lecture 2 March 2020 4 / 37 Making program to run. Ignore what program does for now. 1 Write/edit text of the program. Human readable - if you are specific human 2 Translate text into machine codes It is done in two stages: • Compiler checks that there are no errors in this text and produces object file • Linker (sometimes called builder) takes object file, adds services and produces executable file 3 Run the executable 4 Watch computer to go up in flames, say "It is funny" and go back to 1 ENGR101: Lecture 2 March 2020 5 / 37 We will be using C++ programming language • Very old - basic C written in 1972 by Dennis Ritchie in ATT.
    [Show full text]
  • Visual Studio Code
    Visual Studio Code Tips & Tricks Vol. 1 1st Edition – March 2016, Revision 1 (April 2016) © Microsoft 2016 All rights reserved. This document is for informational purposes only. Microsoft Deutschland GmbH · Konrad-Zuse-Str. 1 · D-85716 Unterschleißheim Tel. +49 (0)89 31760 · www.microsoft.com · www.techwiese.de Authors: Tobias Kahlert and Kay Giza · Microsoft Germany Editor: Mathias Schiffer Localization: textoso · www.textoso.com Page 1 of 26 This book expresses the authors’ views and opinions. This document always up-to-date at: http://aka.ms/VSCodeTipsTricks Contents Visual Studio Code? ................................................................................................................................. 4 Preface ..................................................................................................................................................... 5 What is Visual Studio Code? .................................................................................................................... 6 Tip 1 – Getting the Latest and Greatest as a VS Code Insider ................................................................. 6 Tip 2 – Multiple Cursors .......................................................................................................................... 8 Tip 3 – Using the Command Palette to Control VS Code ........................................................................ 8 Tip 4 – Selecting a Language for a File ...................................................................................................
    [Show full text]
  • Dreamweaver 1
    Using Dreamweaver CS6 Overview Using Dreamweaver CS6 1 – Overview About the Web The worldwide web has become one of the most common uses for the Internet. It allows people to access a wide range of documents and other media from all over the world in a simple to use format. Designing content for the web is not so straight forward though. Many people learning to create websites are used to using word processors such as Microsoft Word, and try to create web pages the same way they’d create a Word document. Unfortunately this doesn’t usually work too well since the online world and print world are very different. Sure, you can make a web page the same way you’d make a word processed document, but it often won’t work too well and will be vulnerable to a variety of problems. The first thing a new web developer needs to do is to change their thinking and gain an understanding of how the web works. You need to remember that some things that will work well in a web page, won’t work well in a printed document and vice-versa. The Web began in the 80s when Tim Berners Lee (pictured) wanted to create a system to facilitate the sharing of information among researchers. The first web site was created in 1991 and in 1994, the World Wide Web Consortium1 (W3C) was established to create standards and improve the quality of the web. It was around that time that a new web browser called Netscape Navigator became available, helping to popularise the web due to its ease of use.
    [Show full text]
  • Brackets App Download Download Brackets for PC
    brackets app download Download Brackets for PC. Laws concerning the use of this software vary from country to country. We do not encourage or condone the use of this program if it is in violation of these laws. About Us. Legal. Users. Softonic in: The name and logo of Softonic are registered trademarks of SOFTONIC INTERNATIONAL S.A. Copyright SOFTONIC INTERNATIONAL S.A. © 1997-2021 - All rights reserved. In Softonic we scan all the files hosted on our platform to assess and avoid any potential harm for your device. Our team performs checks each time a new file is uploaded and periodically reviews files to confirm or update their status. This comprehensive process allows us to set a status for any downloadable file as follows: It’s extremely likely that this software program is clean. What does this mean? We have scanned the file and URLs associated with this software program in more than 50 of the world's leading antivirus services; no possible threat has been detected. This software program is potentially malicious or may contain unwanted bundled software. Why is the software program still available? Based on our scan system, we have determined that these flags are possibly false positives . What is a false positive? It means a benign program is wrongfully flagged as malicious due to an overly broad detection signature or algorithm used in an antivirus program. It’s highly probable this software program is malicious or contains unwanted bundled software. Why is this software program no longer available in our Catalog? Based on our scan system, we have determined that these flags are likely to be real positives.
    [Show full text]
  • 1.2. Web-Development-Tools.Key
    Web Development Tools Tools for Front-End Developers Writing HTML and CSS Code Konstantin Dankov Technical Trainer http://dankov.name Software University http://softuni.bg Table of Contents 1. Coding Tools ▪ Text Editors ▪ IDEs 2. Browser Tools 3. Drawing and Slicing Tools 2 Text Editors with HTML & CSS Support Notepad++ GEdit (Windows) (Linux) Vim * (Windows, Linux, Mac) SublimeText Atom.io (Windows, Linux, Mac) (Windows, Linux, Mac) 3 IDEs for HTML, CSS and JS ▪ Visual Studio / Visual Web Developer ▪ Microsoft Web Matrix ▪ Eclipse ▪ Sublime Text ▪ Brackets ▪ Aptana Studio ▪ WebStorm ▪ Adobe Edge ▪ Adobe Dreamweawer 4 Browsers and Browser Tools ▪ Google Chrome ▪ Web Developer Toolbar ▪ Mozilla Firefox ▪ Firebug ▪ Web inspector ▪ Internet Explorer ▪ F12 ▪ Opera ▪ Inspect Element ▪ Safari 5 Drawing and Slicing Tools ▪ Adobe Photoshop ▪ Adobe Fireworks ▪ Paint.NET ▪ GIMP 6 Source Control Systems ▪ Git ▪ GitHub ▪ SVN 7 Web Development Tools ? ? ? ? ? ? Questions? ? ? ? https://softuni.bg/courses/web-fundamentals/ License ▪ This course (slides, examples, demos, videos, homework, etc.) is licensed under the "Creative Commons Attribution- NonCommercial-ShareAlike 4.0 International" license ▪ Attribution: this work may contain portions from ▪ "HTML Basics" course by Telerik Academy under CC-BY-NC-SA license ▪ "CSS Styling" course by Telerik Academy under CC-BY-NC-SA license 9 Free Trainings @ Software University ▪ Software University Foundation – softuni.org ▪ Software University – High-Quality Education, Profession and Job for Software Developers ▪ softuni.bg ▪ Software University @ Facebook ▪ facebook.com/SoftwareUniversity ▪ Software University @ YouTube ▪ youtube.com/SoftwareUniversity ▪ Software University Forums – forum.softuni.bg.
    [Show full text]
  • Formalization of Component Substitutability
    Electronic Notes in Theoretical Computer Science 215 (2008) 75–92 www.elsevier.com/locate/entcs Formalization of Component Substitutability Meriem Belguidoum1 and Fabien Dagnat2 Computer Science Department ENST Bretagne, Technopole Brest-Iroise Brest, France Abstract Component-Based Software Engineering (CBSE) is increasingly used to develop large scale software. In this context, a complex software is composed of many software components which are developed independently and which are considered as black boxes. Furthermore, they are assembled and often dependent from each other. In this setting, component upgrading is a key issue, since it enables software components to evolve. To support component upgrading, we have to deal with component dependencies which need to be expressed precisely. In this paper, we consider that component upgrade requires managing substitutability between the new and the old components. The substitutability check is based on dependency and context descriptions. It involves maintaining the availability of previously used services, while making sure that the effect of the new provided services do not disrupt the system and the context invariants are still preserved. We present here a formal definition and a verification algorithm for safe component substitutability. Keywords: Component software, Safety, Substitutability, Upgrading. 1 Introduction Component based software has gained recognition as the key technology for building high quality and large software. In this setting, sharing collections of components has become common practice for component oriented appli- cations. These components are independently produced and developed by different providers and reused as black boxes making it necessary to identify component dependencies to guarantee interoperability. 1 Email: [email protected] 2 Email: [email protected] 1571-0661/$ – see front matter © 2008 Elsevier B.V.
    [Show full text]
  • Introduction to C++: Part 1 Tutorial Version 0.2
    Introduction to C++: Part 1 tutorial version 0.2 Brian Gregor Research Computing Services Getting started with the room B27 terminals . Log on with your BU username . On the desktop is a Training Files folder. Open it and go to the subfolder: RCS_Tutorials\Tutorial Files\Introduction to C++ . Copy the CodeBlocks Projects folder to your desktop. Getting started on the SCC . If you prefer to work on the SCC and have your own account, login using your account to the host scc2.bu.edu . On the room terminals there is a MobaXterm link on the desktop . Load the codeblocks module: module load gcc/5.3.0 module load hunspell/1.4.1 module load wxwidgets/2.8.12 module load gdb/7.11.1 module load codeblocks . Make a folder in your home directory and copy in the files: mkdir cpp_tutorial && cd !$ unzip /scratch/Intro_to_Cpp_Summer_2017_v0.2_Code_1-3.zip Getting started with your own laptop . Go to: http://www.bu.edu/tech/support/research/training-consulting/live-tutorials/ and download the Powerpoint or PDF copy of the unified presentation. Easy way to get there: Google “bu rcs tutorials” and it’s the 1st or 2nd link. Also download the “Additional Materials” file and unzip it to a convenient folder on your laptop. Download the Code::Blocks development environment: http://www.codeblocks.org/downloads/26 . Windows: get the codeblocks-16.01mingw-nosetup.zip file and unzip it to a convenient folder. Linux: likely available from your Linux distro’s package management system . Mac OSX: get the CodeBlocks-13.12-mac.zip file and unzip it to a convenient folder.
    [Show full text]