Archive

Archive for August, 2009

your first code

August 28, 2009 Leave a comment
Objectives:
Having read this section you should have an understanding of:
1.a preprocessor directive that must be present in all your C programs.
2.a simple C function used to write information to your screen.
3.how to add comments to your programs
Now that you’ve seen the compiler in action it’s time for you to write your very own first C program. You can probably guess what it’s going to be – the program that everyone writes just to
check they understand the very, very, very basics of what is going on in a new language.
Yes – it’s the ubiquitous “Hello World” program. All your first program is going to do is print the message “Hello World” on the screen.
The program is a short one, to say the least. Here it is:
#include <stdio.h>
int main()
{
printf(“Hello World\n”);
return 0;
}

Previous: “Computer”?? was ist das bro?

Objectives:

Having read this section you should have an understanding of:
1. a preprocessor directive that must be present in all your C programs.
2. a simple C function used to write information to your screen.
3. how to add comments to your programs
Now that you’ve seen the compiler in action it’s time for you to write your very own first C program. You can probably guess what it’s going to be – the program that everyone writes just to check they understand the very, very, very basics of what is going on in a new language.
Yes – it’s the ubiquitous “Hello World” program. All your first program is going to do is print the message “Hello World” on the screen.
The program is a short one, to say the least.
Here it is:
#include <stdio.h>
int main()
{
return 0;
}
Categories: Uncategorized

“computer” ?? wass ist das bro?

August 28, 2009 Leave a comment

Previous: overview

PS: If I were you, I would skip this page ;)

A computer is a device that accepts information (in the form of digitalized data) and manipulates it for some result based on a program or sequence of instructions on how the data is to be processed.

Read more…

Categories: Uncategorized Tags:

Overview

August 28, 2009 Leave a comment

C is a general-purpose computer programming language developed in 1972 by Dennis Ritchie at the Bell Telephone Laboratories for use with the Unix operating system.

Although C was designed for implementing system software, it is also widely used for developing portable application software.

C is one of the most popular programming languages.

It is widely used on many different software platforms, and there are few computer architectures for which a C compiler does not exist.

C has greatly influenced many other popular programming languages, most notably C++, which originally began as an extension to C.

“Computer”?? was ist das bro?

Categories: Uncategorized
Follow

Get every new post delivered to your Inbox.