Run your first C program.  Bring your computers to class  No prior programming experience is needed  Hours spent  Sakai  TAs.

Slides:



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

® Microsoft Office 2010 Browser and Basics.
Write a program step by step. Step 1: Problem definition. Given the coordinate of two points in 2-D space, compute and print their straight distance.
1 Class motto: What’s this button for?. 2 CMSC104 Problem Solving and Computer Programming Fall 2011 Section 4 Richard Chang.
Java Programming Working with TextPad. Using TextPad to Work with Java This text editor is designed for working with Java You can download a trial version.
Installing Hugs on Windows March 31, Installing Hugs Go to Click on the Hugs link under implementations.
Embedded Programming and Robotics Lesson 19 Raspberry Pi Programming in C 1.
CS0007: Introduction to Computer Programming Setting Up Java.
© 2010 IBM Corporation IBM Experience Modeler - Theme Editor Installing Python Image Library Presenter’s Name - Presenter’s Title DD Month Year.
GETTING STARTED USING LINUX UBUNTU FOR A MULTI-USER SYSTEM Team 4 Lab Coordinator Manager Presentation Prep Webmaster Document Prep Faculty Facilitator.
Chapter 1: Python Basics CSCI-UA 0002 – Introduction to Computer Programming Mr. Joel Kemp.
CPSC 233 Tutorial 1 January 19 th /20 th, Introduction Narges Zirakchianzadeh
1 Windows 7 and A+ By Jean Andrews
1 Chinese Information Processing (I): Basic Concepts and Practice Unit 5: Asynchronous Communication.
For OS Experiments. What Do We Need? A Computer &
2INC0 Operating Systems Introduction to Linux
CSC 215 : Procedural Programming with C C Compilers.
Drexel University Software Engineering Research Group 1 Eclipse for SE101.
1 Lab 2 “Hello world” in Unix/Linux #include "std_lib_facilities_4.h" int main(){ cout
ENEE150 – 0202 ANDREW GOFFIN Introduction to ENEE150.
1 Programming in C Hello World! Soon I will control the world! Soon I will control the world!
C++ and Ubuntu Linux Review and Practice CS 244 Brent M. Dingle, Ph.D. Game Design and Development Program Department of Mathematics, Statistics, and.
Academic Search Premier Saving search results: mailing, printing, saving University Library next = click.
Cole David Ronnie Julio Sam Littlefield. Let’s Begin  Globus Toolkit runs on Unix platform only  Install Ubuntu  download all updates for Ubuntu.
1 / 61 Using the Customer Support Web Site © 2006, Universal Tax Systems, Inc. All Rights Reserved. Customer Support Site Objectives –In this chapter you.
General rules 1. Rule: 2. Rule: 3. Rule: 10. Rule: Ask questions ……………………. 11. Rule: I do not know your skill. If I tell you things you know, please stop.
PsycINFO Storing search results: mail, print, export Library.
1 / 12 COP 3503 FALL 2012 SHAYAN JAVED Programming Fundamentals using Java 1.
Java Programming, Second Edition Appendix A Working with Java SDK 1.4.
MODULE 3 Internet Basics © Paradigm Publishing, Inc.1.
XP Browser and Basics COM111 Introduction to Computer Applications.
AE6382 MinGW l The MinGW (Minimalist GNU for Windows) GNU compilers u C/C++ u Fortran 77 u Fortran 95 l Generate native Windows code l User Windows libraries.
2007 TAX YEARERO TRAINING - MODULE 61 ERO (Transmitter) Training Module 6 Federal and State Installation and Updates.
Run your first C program.  Windows: gcc ◦ Equation solution: ran
Department of Electronic & Electrical Engineering Introduction to C - The Development cycle. Why C? The development cycle. Using Visual Studio ? A simple.
Bonus EV3 Programming Lessons By Droids Robotics LEGO MINDSTORMS and Raspberry Pi Communicator.
How to Execute TSR Program. Install Borland C++ Download Borland C++ from LMS – oads/BORLANDC.rarhttp://vulms.vu.edu.pk/Courses/CS609/Downl.
Practical Kinetics Exercise 0: Getting Started Objectives: 1.Install Python and IPython Notebook 2.print “Hello World!”
Microsoft Office 2008 for Mac – Illustrated Unit D: Getting Started with Safari.
Web Scraping with Python and Selenium. What is Web Scraping?  Software technique for extracting info from websites Get information programmatically that.
ECE 544 Software Project 1 Kuo-Chun Huang (KC). Environment Linux (Ubuntu or others) Windows with Cygwin
2007 TAX YEARERO TRAINING - MODULE 71 ERO (Transmitter) Training Module 7 Utility Program.
 Prepared by: Eng. Maryam Adel Abdel-Hady
 Prepared by: Eng. Maryam Adel Abdel-Hady
CACI Proprietary Information | Date 1 PD² SR13 Client Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
Working On-Line Module 4 People's Resource Center Barry Glicklich Last updated 24 December 2011Working On-Line (BG)1.
 CSC 215 : Procedural Programming with C C Compilers.
Ns2 Installations and Basics Abdul Razaque. How to install Ubuntu on windows-7 & 8 Download the Ubuntu ISO file. You can get the ISO file from the Ubuntu.
By Jean Andrews Windows 7 and A+ By Jean Andrews
CSC 215 : Procedural Programming with C
Wright State University
CSC227: Operating Systems
Install external command line softwares
Auburn University COMP 2710 Software Construction xCode Development Environment for C++ Programming in Mac OS Dr. Xiao.
COMP 170 – Introduction to Object Oriented Programming
Perl A simple test.
Getting started in Eclipse
Introduction to computing
Introduction to Quantum ESPRESSO and Computer System
MIGRATION.
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
Windows Internet Explorer 7-Illustrated Essentials
Md. Istiaque Shahriar COMP346 Lab1 - How to start? Md. Istiaque Shahriar
CSCE 206 Lab Structured Programming in C
IOTA HOW TO START BUILDING.
SEEM4570 Tutorial 1 Android SDK + XCode SDK +
Library Utensils.
LEGO MINDSTORMS and Raspberry Pi Communicator
CSCE 206 Lab Structured Programming in C
Introduction to SPIM Simulator
Presentation transcript:

Run your first C program

 Bring your computers to class  No prior programming experience is needed  Hours spent  Sakai  TAs

 Setting up environment  “Hello World”

 Windows: gcc ◦ Equation solution: ran ran  Mac: Xcode, command line tools ◦ Xcode: App Store -> xcode -> install ◦ Command line tools: Xcode -> Preferences -> Downloads  Ubuntu: gcc ◦ Type: sudo apt-get install build-essential ◦ Or, go to Ubuntu Software Center and search for gcc  Verifying: Open Terminal, and type gcc –v.

 Sublime is highly recommended  Other: Notepad++, VIM, text editor, gedit, nano, etc.

Standard General Utilities Library Input/Output operations Main function Print function Return value

 1. Type the program in the text editor and save the file as HelloWorld.c  2. Open your terminal and jump to the folder that you have saved your.c file  3. Type gcc HelloWorld.c to compile the program  4. If no errors shown up, type./a.out (in Windows, type a.exe)

 Why not b.out? ◦ We did not specify ◦ Look back at gcc HelloWorld.c ◦ Compiler flags (A complete list Summary.html ) Summary.html  Most commonly used  -o: gcc HelloWorld.c –o SayHi  -Wall: gcc –Wall HelloWorld.c –o SayHi

 Yahoo! Groups mailing list has been created for group communication related to class and project issues. You can subscribe to the list by sending an to You can post messages by sending an to Yahoo! Groups mailing list  Unsubscribing from the class mailing list  To unsubscribe an address, simply send an to