Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more ➡
Download
Standard view
Full view
of .
Add note
Save to My Library
Sync to mobile
Look up keyword or section
Like this
6Activity
×
P. 1
c Tutorial

c Tutorial

Ratings: (0)|Views: 726|Likes:
Published by n_pavan

More info:

Published by: n_pavan on Oct 27, 2009
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, PPT, TXT or read online from Scribd
See More
See less

10/21/2011

pdf

text

original

 
1
A Quick Introduction to C Programming
Lewis GirodCENS Systems LabJuly 5, 2005http://lecs.cs.ucla.edu/~girod/talks/c-tutorial.ppt
 
2
or 
,What I wish
had known about Cduring
my 
first summer internship
 
With extra info inthe NOTES
 
3
High Level Question: Why is Software Hard?
Answer(s):Complexity: Every conditional (“if”) doubles number of paths throughyour code, every bit of state doubles possible states
 –Solution: reuse code with functions, avoid duplicate state variables
Mutability: Software is easy to change.. Great for rapid fixes
.. Andrapid breakage
.. always one character away from a bug
 –Solution: tidy, readable code, easy to understand by inspection.
Avoid code duplication; physically the same
logically thesameFlexibility: Programming problems can be solved in many differentways. Few hard constraints
plenty of “rope”.
 –Solution: discipline and idioms; don’t use all the rope

Activity (6)

You've already reviewed this. Edit your review.
1 hundred reads
Spun_G liked this
yuvraj liked this
jaysonv14 liked this
REHMAN MALIK liked this

You're Reading a Free Preview

Download
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->