C compilers and assignment 3 CS 210 Tutorial 8 Compiling C, assignment 3 helps Studwww.cs.auckland.ac.nz/ ~mngu012/public.html/210/8/

Slides:



Advertisements
Similar presentations
Connecting to GMT machine via Windows 7. Windows PuTTy GMT on Mac server int-038.geosci.usyd.edu.au To use GMT, you will connect to a Mac server via PuTTy.
Advertisements

Web Site ( Getting around the Web Site to Build and Use COIN-OR JP Fasano IBM Watson.
INF 123: Software Architectures, Distributed Systems, and Interoperability Discussion Session Week 3 - Spring 2008 Instructor: Prof. Richard N. Taylor.
CS 1400 Using Microsoft Visual Studio 2005 if you don’t have the appropriate appendix.
Course Introduction and Getting Started with C 1 USF - COP C for Engineers Summer 2008.
UPLOADING YOUR SERVER CODE TO YOUR VIRTUAL MACHINE.
N ETWORKED & D ISTRIBUTED COMPUTING S YSTEMS L AB Programming Assignments EE323 Computer Networks.
Essential Unix at ACEnet Joey Bernard, Computational Research Consultant.
1 SEEM3460 Tutorial Unix Introduction. 2 Introduction Unix-like system is everywhere Linux Android for smartphones Google Chrome OS for Chromebook Web.
CSC 215 : Procedural Programming with C C Compilers.
How to Install ITK ? (Insight Segmentation and Registration Toolkit) Prepared by: Hussain Rahman MS (CS) 1 st semester Supervised.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
TAMU CSCE 313 (the basics). Basic Unix/Linux programming Accessing CS systems  PuTTY (putty.exe) – a Telnet and SSH client  Common hosts: unix.cs.tamu.edu.
Geant4 Installation Supported platforms:  Scientific Linux with gcc 4.1.2/4.6  Mac Os X 10.7 and 10.8 with gcc 4.21  Windows7 with Visual Studio.
COMPSCI 210 Semester Tutorial 7 – C Exercises.
Introduction to Systems Programming (CS 0449) PalmOS Tools: Developer Studio & Cygwin.
September 16, 2002Serguei A. Mokhov, 1 Setting Up Environment for Your UNIX Account in TAV COMP Operating Systems Tutorial.
Session 2 Wharton Summer Tech Camp Basic Unix. Agenda Cover basic UNIX commands and useful functions.
Mohammadreza Asghari Oskoei University of Allameh 2012 Introduction to Visual Studio 2010.
1 Lab 2 “Hello world” in Unix/Linux #include "std_lib_facilities_4.h" int main(){ cout
ENEE150 – 0202 ANDREW GOFFIN Introduction to ENEE150.
UNIX Introduction CSCE 221H Texas A&M University.
CS590VC – Tutorial 6 Client-side connection through external application.
C programming and compilers. At least 3 ways to compile C Using gcc in UNIX environment via chaos.cs.auckland.ac.nz Using gcc in Cygwin in Windows Using.
How to create and install packages in R Presenter: Roman Jandarov
1 Getting Started with C++. 2 Objective You will be able to create, compile, and run a very simple C++ program on Windows, using Visual Studio 2008.
Creating Programs on UNIX This term you can create programs on UNIX or you can create programs using a C++ compiler on your PC. This set of slides steps.
Intro to CS ACO 101 Lab Rat. Academic Integrity What does that mean in programming? Log into Blackboard and take the test titled “Applied Computing Course.
CGS3460 Summer 2011 Programming Using C Andrei Todor.
1 Running Programs on CSP CSP01.csci.unt.edu … CSP09. … Secure shell (ssh) to CSP computer Transfer file(s) using scp, … Edit on CSP machine with vi, pico,
Unix Machine In Computer Science for Teaching Cliff Zou Spring 2015.
Aibo Tutorial: Part1 – Getting Started. Steps to getting started Gather necessary elements Download Sony Software Set up you environment Checkout robocup.
Tutorial: To run the MapReduce EEMD code with Hadoop on Futuregrid -by Rewati Ovalekar.
Unix Servers Used in This Class  Two Unix servers set up in CS department will be used for some programming projects  Machine name: eustis.eecs.ucf.edu.
1 Getting Started with C++ Part 2 Linux. 2 Getting Started on Linux Now we will look at Linux. See how to copy files between Windows and Linux Compile.
ENEE150: Discussion 1 Section 0104/0105 Please Sit Down at a Computer and Login!
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
How to Access Homework on Google Drive in Ms. Cloherty’s Classroom.
A Mini UNIX Tutorial. What’s UNIX?  An operating system run on many servers/workstations  Invented by AT&T Bell Labs in late 60’s  There are many different.
User’s Needs/Problems Fill out form by tomorrow for your data needs. Make website for regional climate modeling library (at least references). ICTP CD.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
Intro to GNU/Linux See, Stallman? I said GNU. Are you happy now?
General Computer Science for Engineers CISC 106 Lecture 03 James Atlas Computer and Information Sciences 9/9/2009.
 CSC 215 : Procedural Programming with C C Compilers.
PuTTY Introduction to Web Programming Kirkwood Continuing Education by Fred McClurg © Copyright 2016, All Rights Reserved ssh client.
Tutorial Six Linux Basics CompSci Semester Two 2016.
Precept I : Lab Environment, Unix, Bash, Emacs
Cygwin Tutorial 1.
ENEE150 Discussion 01 Section 0101 Adam Wang.
UNIX To do work for the class, you will be using the Unix operating system. Once connected to the system, you will be presented with a login screen. Once.
Class Projects and Environment
SEEM3460 Tutorial Unix Introduction.
How to Work on your METEO 473 codes from your PC at home
CS1010: Intro Workshop.
Programming Tools Most of the programming assignments will require using the C language. We will use a current version of the GCC C compiler. What’s GCC?
How to Access Homework on Google Drive in Ms. Cloherty’s Classroom
Tutorial Six Recap & Linux Basics CompSci Semester Two 2016.
CGS3460 Summer 2011 Programming Using C
The Command Prompt Commands are the way to “do things” in Unix
Creating Programs on UNIX
C Programming Lecture Series
Lab 10 Instructions You can use g++ on build server, visual studio on local machine or your preferred C++ IDE. Important Note: For your grade, please show.
ברוכים הבאים למת"ם מבוא לתכנות מערכות
Social Media And Global Computing Creating DLLs with Visual Studio
Class Projects and Environment
Cygwin Tutorial 1.
Cygwin Tutorial 1.
Video Notes.
Access ProQuest Searchware
Presentation transcript:

C compilers and assignment 3 CS 210 Tutorial 8 Compiling C, assignment 3 helps Studwww.cs.auckland.ac.nz/ ~mngu012/public.html/210/8/

At least 3 ways to compile C Using gcc in chaos.cs.auckland.ac.nz Using gcc in Cygwin Using visual studio Other compiler: rs/cpp.shtml

Chaos.cs.auckland.ac.nz SHH connection: Putty, SSH Putty:  SSH:  Mirror.cs.auckland.ac.nz ?

Run Putty

After log on, putty will put you inside UNIXHOME folder You can go to your G drive by typing “cd..” Type “man gcc” for manuals of GCC

Man gcc – Ctrl+C to exit

Compile C code in chaos Compile  Gcc –o filename.exe filename.c Run: ./ filename.exe arg1 arg2 arg3

Compile C on Cygwin Document on Cygwin  h/resources/cygwin/ h/resources/cygwin/ Download from

Cygwin to run gcc Help on how to make cygwin run with gcc  /tutorial8/cygwin.htm Everything else just the same as Unix chaos.cs.auckland.ac.nz

Compile C in Visual Studio

Assignment 3 Using library IO and Number  bsr IO.print.enter;  bsr IO.readLine.enter;  bsr Number.fromString.enter;  bsr IO.vprintf.enter; IOPrintLineReadLine and PrintNumbers folders