275x Filetype PDF File size 0.07 MB Source: www.cs.cornell.edu
Hello World
CS 2022: Introduction to C
Instructor: Hussam Abu-Libdeh
(based on slides by Saikat Guha)
Fall 2009, Lecture 2
Hello World CS 2022, Fall 2009, Lecture 2
Administrivia
◮ Website will be up shortly
◮ Decide on office hours
Hello World CS 2022, Fall 2009, Lecture 2
Environment
◮ OS: GNU/Linux
◮ Editor: vim
◮ Compiler: gcc
◮ Debugger: gdb
Hello World CS 2022, Fall 2009, Lecture 2
Intro to VIM
◮ $ vim hello.c
◮ i – Enter editing mode
◮ – Enter normal mode
Normal Mode Commands
◮ :w – Write/Save
◮ :q – Quit
You’ll hate vim for the first month. Then you’ll
realize you can’t live without it.
Hello World CS 2022, Fall 2009, Lecture 2
no reviews yet
Please Login to review.