1 / 32

Computer Tools for EAS230

Computer Tools for EAS230. Lab Rules. No late labs 12 days Submit as many times as you like, up until due date/time Submit via UB Learns Check you grades on UB Learns Do not use UB Learns otherwise use www.cse.buffalo.edu/~mikeb.

abby
Download Presentation

Computer Tools for EAS230

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Computer Tools for EAS230

  2. Lab Rules • No late labs • 12 days • Submit as many times as you like, up until due date/time • Submit via UB Learns • Check you grades on UB Learns • Do not use UB Learns otherwise • use www.cse.buffalo.edu/~mikeb

  3. 1. Even though there are only 3 graded lab components, no late labs are accepted for any reason, including disrupted access to submission servers and remote-access servers from home. The UB Learns submission servers get crowded in the last 10 minutes before the submission deadline. Please do not wait until the last minute. 2. You can submit assignments as many times as you want before the submission deadline. DO NOT complete your lab without submitting it as soon as it’s working. If you plan to improve it, you can submit it again later. 3. If your computer isn't properly compiling ANSI-standard C++ programs, or executing MATLAB or Excel, then you are obligated to attend your lab period. Home access is provided for your convenience, but the lab computing environment is the standard for grading. Submitted projects that do not compile or execute on the lab computers will be given a zero grade, because there would be no way to grade them.

  4. 4. Collaboration in coding, usually evidenced by unjustifiable similarity in any graded work, is never allowed. The author as well as the recipient of original work involved in a violation of academic integrity will be equally punished. This includes (-100) grade on the work in question for a first offense, and an F in the course for the second offense. Collaboration in design and understanding, however, is encouraged. 5. Re-grade requests for both labs and exams may be submitted no later than one (1) week after the graded work is posted to the class via UB Learns.

  5. We will need • An editor – Jgrasp • For PCs this includes installing Java • For Macs, Java is already installed • A C++ “compiler” – • MinGW for 64 bit PCs • Cygnus for 32 bit PCs • Xcode for Mac

  6. 32 or 64 bit? Run Control Panel, select System

  7. checklists • PC • 32 or 64 bit? Control-Panel /System • C++ - 32 bit http://www.cse.buffalo.edu/~mikeb/full.exe • C++ - 64 bit mingw-get-setup.exe • Java JDK - http://www.oracle.com/technetwork/java/javase/downloads/index.html • Editor - http://www.jgrasp.org • Mac • Editor - http://www.jgrasp.org • XCode - https://developer.apple.com/support/xcode/

  8. all instructions are on the web Step by Step: http://www.cse.buffalo.edu/~mikeb/EAS230Instructions2.htm Editor for PC http://jgrasp.org/ http://www.oracle.com/technetwork/java/javase/downloads/index.html (Java) C++ for PC 64-bit (most new PCs) - http://www.cse.buffalo.edu/~mikeb/mingw-get-setup.exe 32-bit (old PCs) - http://www.claremontmckenna.edu/pages/faculty/alee/g++/g++.html Editor for Mac http://jgrasp.org/ Compiler for Mac XCode in the iTunes Store here later: Excel for PC http://ubit.buffalo.edu/software/win/ Excel for Mac http://ubit.buffalo.edu/software/mac/

  9. First, an EDITOR • Allows you to edit, check (called COMPILE), and run a C++ program • JGrasp, free for PC and Mac - http://www.jgrasp.org/

  10. On a Mac You must get Apple’s Xcode https://developer.apple.com/support/xcode/ You will need iTunes to get to the app store XCode in the iTunes Store here

  11. Install the Command Line Tools In XCode, you must download and install the command-line tools. Under the XCode pull down menu, selectXCode - Preferences, and then the Downloads tab.

  12. and then JGrasp for Mac

  13. or, do it without XCode Installs the gcc compiler on your Mac OS X 10.7 Lion: GCC-10.7.pkg OS X 10.6 Snow Leopard: GCC-10.6.pkg

  14. Excel for Mac http://ubit.buffalo.edu/software/mac/

  15. If you're using a Windows PC • this is more complicated • Microsoft does not provide the C++ environment like Apple does for the Mac

  16. http://www.jgrasp.org

  17. JGrasp needs a Java environment http://www.oracle.com/technetwork/java/javase/downloads/index.html

  18. 32 bit 64 bit

  19. Now, get a C++ compiler 32 bit computer • http://www.claremontmckenna.edu/pages/faculty/alee/g++/g++.htmlor • http://horstmann.com/bigcpp/help/gnuwindows/index.htmlor • http://www.cse.buffalo.edu/~mikeb/full.exe 64 bit • Download and Install the C++ programming environment from the class web site:   mingw-get-setup.exe

  20. Adding it to your PATH • The C++ program is called g++ (or sometimes gcc). After installing g++, you’ll need to locate where the bin folder was created for the g++ installation. On my Windows XP machine, it was created in the following path: 32 bit: ;C:\cygnus\cygwin-b20\H-i586-cygwin32\bin; 64 bit: ;C:\MinGW\bin; • You now should add it to the PATH environment variable. You do that by following: Start -> Control Panel -> System -> Advanced -> Environment Variables At this point you can see the PATH variable in the System Variables box (the bottom, NOT the User Variables part). Add the g++ path into the PATH variable VALUE (not the name). You add it to the end of the existing value separated by a semicolon (';'). Make sure that you do not lose the original value. You are just appending more to the end separated by a semicolon.

  21. add ;C:\cygnus\cygwin-b20\H-i586-cygwin32\bin; or ;C:\MinGW\bin; to the end here

  22. minGW - for 64 bit computers

  23. minGW • You’ll need the Windows x86 version for 32-bit computers, or the x64 version for 64-bit computers. • Download and Install the C++ programming environment from the class web site:   mingw-get-setup.exe • This actually installs the installer, which you then run to install the C++ compiler.

  24. Select the basic, gcc-bin, gcc-dev, g++ bin, and g++ dev installations: minGW

  25. Installation / apply changes

  26. add to path ;C:\MinGW\bin; You now should add it to the PATH environment variable. You do that by following:    Start -> Control Panel -> System -> Advanced -> Environment Variables At this point you can see the PATH variable in the System Variables box (the bottom, NOT the User Variables part). Add the g++ path into the PATH variable VALUE (not the name). You add it to the end of the existing value separated by a semicolon (';'). Make sure that you do not lose the original value. You are just appending more to the end separated by a semicolon.

  27. add ;C:\MinGW\bin; to the end here

  28. if you don't have an Engineering account • www.sens.buffalo.edu/accounts • go to the helpdesk in Bell 101 • Bell 101 is open 24/7

  29. Excel for PC http://ubit.buffalo.edu/software/win/

  30. Matlab $99 at UBMicro, but available on all UB computers Information on MATLAB: http://ubit.buffalo.edu/software/matlab/ It can be run from your PC or Mac if you log in to UB IT computers: http://www.sens.buffalo.edu/services/timeshares/#Software We will cover this in detail when we get to MATLAB in the course

More Related