CSE 123C.001 2-1-08

CSE 123C.001 2-1-08 - CSE123C February 1, 2008 Any computer...

Info iconThis preview shows pages 1–3. Sign up to view the full content.

View Full Document Right Arrow Icon
CSE123C February 1, 2008 Any computer language has a piece very similar to our language Editor does all the coloring of the code Int main () { ^^^beginning of a program^^^ Program Structure o Comments Help people understand programs, but are ignored by the compiler Two types Line comments o Begin with // o Only one line long Delimited comments o Begin with /* and end with */ o More than one line o Preprocessor directives Instructions to be done before compilation Main () Function that gets called by the operating system Returns an integer
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Code goes between two brackets { } #include Copies source code into program from specified file Typically #include <iostream> o Iostream is a file in the C++ library Contains class information for input and output o Other file names can be used between the <> Typical examples include cmath and cstring Directive
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/08/2008 for the course CSE 123c taught by Professor Elkarboutly during the Spring '08 term at UConn.

Page1 / 6

CSE 123C.001 2-1-08 - CSE123C February 1, 2008 Any computer...

This preview shows document pages 1 - 3. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online