User Tools

Site Tools


Sidebar

projects

  • cci0 (due 20150909)
  • mms0 (due 20150916)
  • dow0 (due 20150923)
  • mbe0 (due 20150930)
  • mbe1 (due 20151007)
  • cos0 (due 20151028)
  • afn0 (due 20151104)
  • sam0 (due 20151111)
  • cbf0 (due 20151118)
haas:fall2015:cprog:projects

This is an old revision of the document!


Table of Contents

Corning Community College

CSCS1320 C/C++ Programming

Assignments, Documents, Information, and Projects

Projects

  • cci0 (due 20150909)
  • mms0 (due 20150916)
  • dow0 (due 20150923)

Week 4

  • Our programming capabilities grow with each passing class, each passing week.
  • Barring any questions, we'll be proceeding onto to loops this week:
    • for() - counting (aka “automatic counter”) loops
    • while() - top driven relational loops
    • do while() - bottom driven relational loops
  • arithmetic shortcuts:
    • ++ - increment by 1 (comes in both pre- and post-increment varieties)
    • – - decrement by 1 (comes in both pre- and post-increment varieties)
    • += - increment by provided value
    • -=, *=, /=, %=

Week 3

  • We explored:
    • pointers
    • negative numbers
    • if statements
      • else if
      • else
      • compound if statements
      • relational operators
      • and how properly organizing them can be beneficial
    • viewed assembly conversion of our C programs (-S argument to gcc)
    • binary masks, logic

Week 2

  • Explored input with scanf()
  • Expressed values according to different schemes (octal, signed/unsigned decimal, hex, ASCII)
  • Started looking at pointers, including double pointers

Week 1

  • Welcome! I've wrapped all the initial activities into one project, cci0, that I'd like you to perform by the given deadline (by 11:59:59pm / 23:59:59).
  • Get familiar with logging into the pod systems, and once there:
    • open up a terminal
    • log that terminal onto Lab46 for class work and attendance
  • Get familiar with how to log onto Lab46, and once on:
    • change to your src/ subdirectory
    • create/edit .c files (such as hello.c), and how to save/exit
    • compile the C program (.c file(s)) into an executable with gcc
    • execute the compiled C program (the executable) by specifying a path: ./program_name
haas/fall2015/cprog/projects.1442157518.txt.gz · Last modified: 2015/09/13 15:18 by wedge