User Tools

Site Tools


user:psechris:portfolio:cprogproject2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
user:psechris:portfolio:cprogproject2 [2013/01/24 01:27] – external edit 127.0.0.1user:psechris:portfolio:cprogproject2 [2013/02/22 20:59] (current) psechris
Line 1: Line 1:
 +======Project: Hello World!======
  
 +A project for CSCS1320 by Paul Sechrist during the Spring 2013.
 +
 +=====Objectives=====
 +
 +Create the first program that most programmers create in C, Hello World!
 +
 +=====Code=====
 +
 +<code c 1>
 +#include<stdio.h>
 +int main()
 +{
 +        printf("Hello, World!\n");
 +        return(0);
 +}
 +
 +</code>
 +
 +=====Execution=====
 +
 +<cli>
 +lab46:~/src$ ./hello
 +Hello, World!
 +lab46:~/src$ 
 +</cli>
 +
 +=====Reflection=====
 +
 +Good lesson to learn basic outline of code, how to write it, and how to compile and execute in bash.