Lecture 0 CIS 208 C Language Lab Wed. January 12, 2005.

Slides:



Advertisements
Similar presentations
An Introduction to Programming By :- Vishal Hirani B.Tech II year (CSE)
Advertisements

COP 3275 COMPUTER PROGRAMMING USING C Instructor: Diego Rivera-Gutierrez
1 CSSE 332 Course Introduction. Roll Call and Introductions Name (nickname) Name (nickname) Hometown Hometown Local Residence Local Residence Major Major.
Software Lesson #1 CS1313 Spring Software Lesson 1 Outline 1.Software Lesson 1 Outline 2.What is Software? A Program? Data? 3.What are Instructions?
CS201 - Laboratory Submittal Using the submit command.
Computing Components 01/26/11. Announcements & Reminders Programs 1 due Friday, 9/2/11 What is my late policy? Proxy Codes for Labs  You should be able.
CS201 - Information. CS201 - Laboratories All labs will be done using Linux on the PC’s or esus. All labs MUST use Makefiles. First lab is due NEXT WEEK.
CS 202 Computer Science II Lab Fall 2009 September 3.
Course Introduction and Getting Started with C 1 USF - COP C for Engineers Summer 2008.
CS 117 Section 2 + KNET Computer accounts – ed to KNET students –Change password Homework 1 Lab Tutors –In lab for next 2 weeks –Will help you with.
C vs C++ CS-240 Data Structures Binghamton University Dick Steflik.
CSE : Programming in C Instructor: Lei Wang Office: Dreese Lab 474 Office Hour: Friday.
Introduction to C. A Brief History Created by Dennis Ritchie at AT&T Labs in 1972 Originally created to design and support the Unix operating system.
A crash course in njit’s Afs
1 uClinux course Day 3 of 5 The uclinux toolchain, elf format and ripping a “hello world”
Tutorial on Hadoop Environment for ECE Login to the Hadoop Server Host name: , Port: If you are using Linux, you could simply.
CS110/CS119 Introduction to Computing (Java)
Introduction to C Programming. A Brief History u Created by Dennis Ritchie at AT&T Labs in 1972 u Originally created to design and support the Unix operating.
Gator Engineering 1 Chapter 2 C Fundamentals Copyright © 2008 W. W. Norton & Company. All rights reserved.
CS 114 – Class 02 Topics  Computer programs  Using the compiler Assignments  Read pages for Thursday.  We will go to the lab on Thursday.
1 N305 C Programming. 2 Objectives for the Lab ä Learn problem solving strategies ä Achieve intermediate knowledge of C Programming Language ä Gain experience.
Compiling & Debugging Quick tutorial. What is gcc? Gcc is the GNU Project C compiler A command-line program Gcc takes C source files as input Outputs.
1 Editing a C Program 01/16/15. 2 Objective Use Linux to edit, compile and execute a C program.
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.
CS 11 java track: lecture 1 Administrivia need a CS cluster account cgi-bin/sysadmin/account_request.cgi need to know UNIX
CPSC 233 Run graphical Java programs remotely on Mac and Windows.
ENEE150 – 0202 ANDREW GOFFIN Introduction to ENEE150.
N from what language did C++ originate? n what’s input, output device? n what’s main memory, memory location, memory address? n what’s a program, data?
– 1 – CSCE 211H Fall 2015 Lecture 5 Linux Basics Topics Linux 10 essential commands Machine names forReadings September 21, 2015 CSCE 211 Digital Design.
CGS 3460 Why we choose UNIX n Powerful lMulti-user operating system lGood programming tools Most heavy-duty database management systems started out on.
Executing a C Program Creating the Program Compilation Linking Execution.
Lecture 1 cis208 January 14 rd, Compiling %> gcc helloworld.c returns a.out %> gcc –o helloworld helloworld.c returns helloworld.
CIS 192B – Lesson 1 CIS 192B Textbook UNIX and Linux System Administration Handbook 4th Edition Authors: – Evi Nemeth – Garth Snyder – Trent Hein – Ben.
CGS3460 Summer 2011 Programming Using C Andrei Todor.
Introduction to C 2008/09/29: Lecture 7 CMSC 104, Section 0101 John Y. Park 1.
OPERATING SYSTEMS 1 - HARDWARE PIETER HARTEL 1. Hardware 2.
LOW vs. HIGH Level Languages
1 Homework Done the reading? –K&R –Glass Chapters 1 and 2 Applied for cs240? (If not, keep at it!) Gotten a UNIX account? (If not, keep at it!)
More on Using onyx 8/28/13. Program 1 Due a week from today. See website for details.
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.
Department of Electronic & Electrical Engineering Introduction to C - The Development cycle. Why C? The development cycle. Using Visual Studio ? A simple.
Basic Unix Commands & GCC Saurav Karmakar Spring 2007.
AN INTRO TO UNIX/LINUX COMMANDS BY: JIAYANG WANG.
Computer Programming A simple example /* HelloWorld: A simple C program */ #include int main (void) { printf (“Hello world!\n”); return.
Dayu Zhang 9/10/2014 Lab03. Outline Brief Review of the 4 Steps in Hello.cpp Example Understand endl and \n Understand Comment Programming Exercise -
Hands-on Session 1 Boot Linux Connect to Linux via USB-to-UART and Putty Compile and run a simple program.
Manifold Lab 1 Setting the environment Compiling/running programs.
C Programming Lecture 3 : C Introduction 1 Lecture notes : courtesy of Woo Kyun and Chang Byung-Mo.
Linux CSE 1222 CSE1222: Lecture 1BThe Ohio State University1.
Hank Childs, University of Oregon April 13 th, 2016 CIS 330: _ _ _ _ ______ _ _____ / / / /___ (_) __ ____ _____ ____/ / / ____/ _/_/ ____/__ __ / / /
1 N305 C Programming. 2 Objectives for the Lab ä Learn problem solving strategies ä Achieve intermediate knowledge of C Programming Language ä Gain experience.
1 CS 192 Lecture 4 Winter 2003 December 8-9, 2003 Dr. Shafay Shamail.
Tutorial Six Linux Basics CompSci Semester Two 2016.
KYC - Know your compiler Introduction to GCC
Introduction to C Topics Compilation Using the gcc Compiler
Precept I : Lab Environment, Unix, Bash, Emacs
UMBC CMSC 104 – Section 01, Fall 2016
CS1010: Intro Workshop.
Tutorial Six Recap & Linux Basics CompSci Semester Two 2016.
What is a compiler? Compiler Source code (e.g. C++) Target code
C Programming Language
Software Tools Recitation 1
Welcome to CSCI 230! Problem Solving using C
CSCE 206 Lab Structured Programming in C
Jeremy R. Johnson Wed. Apr. 5, 2000
Govt. Polytechnic,Dhangar
2008/09/29: Lecture 7 CMSC 104, Section 0101 John Y. Park
Your first C and C++ programs
CSCE 206 Lab Structured Programming in C
Debugging.
Presentation transcript:

Lecture 0 CIS 208 C Language Lab Wed. January 12, 2005

Getting a CIS account Must have one for this class ide/accounts.html If you have one, make sure it’s still viable

Getting on Unix Solaris Machines Linux Machines SSH from remote machines (puTTY.exe) cisunix.cis.ksu.edu / cislinux.cis.ksu.edu

Hello World #include int main(void) { printf(“%s\n”,”Hello World”); return 0; }

Compiling %> gcc helloworld.c returns a.out %> gcc –o helloworld helloworld.c returns helloworld

Executing %> a.out %>./a.out %> helloworld %>./helloworld

Assignment 0 On the webpage Compile and execute the program Turn in a copy of the output Due Friday.