×

### Let's log you in.

or

Don't have a StudySoup account? Create one here!

×

or

## C For Engineers

by: Mr. Irving Abbott

30

0

2

# C For Engineers CGS 2423

Mr. Irving Abbott
FIU
GPA 3.88

Staff

These notes were just uploaded, and will be ready to view shortly.

Either way, we'll remind you when they're ready :)

Get a free preview of these Notes, just enter your email below.

×
Unlock Preview

COURSE
PROF.
Staff
TYPE
Class Notes
PAGES
2
WORDS
KARMA
25 ?

## Popular in Computer General Studies

This 2 page Class Notes was uploaded by Mr. Irving Abbott on Monday October 12, 2015. The Class Notes belongs to CGS 2423 at Florida International University taught by Staff in Fall. Since its upload, it has received 30 views. For similar materials see /class/221772/cgs-2423-florida-international-university in Computer General Studies at Florida International University.

×

## Reviews for C For Engineers

×

×

### What is Karma?

#### You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 10/12/15
CGS 2423 Plan for January 17th 2007 Overview of C 1 Recap on examplelc exampleZc and example3c 2 Other example in the book Converting miles to kilometers Algorithm Get the distance in miles Convert the distance to kilometers Display the distance in kilometers But this is not still re ned how is the computation done What data stores are we going to use to store the information Also how is our understanding of the problem For some the description will be clear enough to write the code for others there is a need for more speci cation One variation is shown De ne numbers a b Input a Compute b lt a1609 Output b Source code in example4c Convert distances from miles to kilometers include ltstdiohgt define KMSPERMLE 1609 conversion constant int mainvoid double miles distance in miles kms equivalent distance in kms print the title and underline it printfquotnTHE MILES TO KMS CONVERTERnquot pillllll rurur get the distance in miles printfquotEnter the distance in miles gt quot scanfquotfquot ampmiles convert the distance to kms kms KMSPERMLE miles display the results printfquotThis equals f kilometersnquot kms return 0 normal exit 3 C elements Basic elements in C Preprocessor Directives Main function ii39 Reserved Words Identi ers standard and user de ned valid identi ers 2 v Comments Variable Declaration and Data Types i Variable declarations ii Data types intdoublechar some conversion between numbers Executable statements i Assignment ii Input Output printf scanf iii Return statement Intro to user de ned functions Intro to control structures If Whilefor Formatting numbers in printf File input and output Program style comments names of variables etc 4 From C code to executable code Source Code Preprocessing gt Object File gt Executable File gt Running Program One important step compilation lexical and semantic analysis

×

×

### BOOM! Enjoy Your Free Notes!

×

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

## Why people love StudySoup

Steve Martinelli UC Los Angeles

#### "There's no way I would have passed my Organic Chemistry class this semester without the notes and study guides I got from StudySoup."

Jennifer McGill UCSF Med School

#### "Selling my MCAT study guides and notes has been a great source of side revenue while I'm in school. Some months I'm making over \$500! Plus, it makes me happy knowing that I'm helping future med students with their MCAT."

Steve Martinelli UC Los Angeles

Forbes

#### "Their 'Elite Notetakers' are making over \$1,200/month in sales by creating high quality content that helps their classmates in a time of need."

Become an Elite Notetaker and start selling your notes online!
×

### Refund Policy

#### STUDYSOUP CANCELLATION POLICY

All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email support@studysoup.com

#### STUDYSOUP REFUND POLICY

StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here: support@studysoup.com

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to support@studysoup.com