CISS-110 Project 1
The goal of the first project is to become acquainted with your integrated development environment (IDE). This is intended to purposefully introduce errors that you will then correct – preferably one at a time. The reason is that you should experience how some errors may change or completely disappear as a result of fixing just one.
Learning outcomes
- Interaction with IDE.
- Interaction with C Compiler.
- Reviewing reported errors and deducing needed repairs.
- Successful compilation of project.
- Confirmation program produces desired results.
The code below should be copied and pasted into a new IDE session. Save the program and begin the compile/edit/run process.
#include <studio.h>
Int main (viod) {
int x, y;
char ch;
char s[] = "This is a string value assigned to s";
boolean b = true;
c = 'K';
x = 15;
Y = 20;
printf("Value of x is %d.\n", x);
printf("Value of y is %d.\n", Y);
printf("Value of ch is %c.\n", c);
printf("Value of s is\n*%S*\n", s);
printf("Value of b is %d.\n", b);
} // end of main method
This is a relationship-building exercise. You are developing a relationship with the compiler. You will not always understand what the compiler is trying to tell you – much like relationships in real life!
You must work hard to begin understanding what your IDE and the C compiler are trying to tell you. The errors will become easier to understand over time, but it is essential to begin the process now as this is a never-ending endeavor.
Submit the project into Blackboard as Project1_lastname.c.