A project for CSCS1320S14 by Alana Whittier during the Spring 2014 Semester.
This project was begun in lab on January 23, 2014. It took about 10 minutes to complete although I presume it would have taken significantly less time if I were more experienced with Unix/Linux Terminal, as well as C programming language.
The purpose of this project was to familiarize us with both the C programming language as well as the Unix/Linux environment. If the program is written correctly, a standard input/output header file is included, the main function is defined, and a string of text will be generated.
In order to successfully accomplish/perform this project, the listed resources/experiences need to be consulted/achieved:
I fully disclose that I did not consult any other documentation to complete this particular project. I relied on my notes and some help from Shawn.
“Hello World!” is a simple program used in a variety of program languages to serve as an introduction and first program to help familiarize the new user with various aspects of the program, such as syntax, libraries, functions, etc. In this course, C programming, this basic program is also used to call the standard input/output header file, define the main function, and print a string of character text with the compiler, assuming correct Syntax is used.
The scope of this project is to write a program where a character string “Hello World” is returned if compiled successfully.
State and justify the attributes you'd like to receive upon successful approval and completion of this project.
The actual steps taken to accomplish the project. Include images, code snippets, command-line excerpts; whatever is useful for intuitively communicating important information for accomplishing the project.
Upon completion of the project, if there is an applicable collection of created code, place a copy of your finished code within <code> </code> blocks here.
<nano helloM-D.c> /*Hello.c A first C Program
written by Alana Whittier for CSCS1320S14 on January 23, 2014
*/
#include <stdio.h> int main()
{ printf(“Hello, World!\n”);
return (0)
}
</code>
lab46:~/src/cscs1320$ ./helloM-D Hello, World! lab46:~/src/cscs1320$
When I consider this project, while quite simple and relatively easy to understand, the most difficult part to me was working remotely in Lab46 from home. It required a bit of work to learn to save in a Windows (DOS) format to compile and execute the code.
In performing this project, the following resources were referenced:
Generally, state where you got informative and useful information to help you accomplish this project when you originally worked on it (from Google, other wiki documents on the Lab46 wiki, etc.)