• Log in or sign up for an account here: https://www.sythe.org/login

[TUT][C] A very basic C tutorial

Eduard

Member

Banned
Joined
May 26, 2006
Sythe Gold
0
Messages
45
Eduard's Tutorial - BASIC C

By: Eduard - Sythe​


Table of Contents
  • i - Revision history
  • 1.0 - Introduction
  • 2.0 - What is C?
  • 3.0 - Lesson 1 - Hello world
  • 4.0 - Conclusion
  • 5.0 - Frequently Asked Questions



​

1.0 - Introduction
» Good day Sythe, i'm writing this guide due to the topic : 'revision of the programming topic'. This guide won't be perfect, but it will be a good start.
» This guide will teach you what C is, why to program in C and some basic stuff to build on.

​

2.0 - What is C?
C is a low-level programming language. This means that the road to the processor and hardware is shorter than, for example VB or C#. It's a language that has to be compiled. A compiler is a program that converts code, aka typed language into 0010001001001010. I recommend to download CODEBLOCKS ( look it up on google ).

Apple, windows, linux. All written in C. Your car's navigation system, C. Your mobile phone, C. C is one of the most advanced languages in the world. But, also one of the hardest to master. Pointers ( memory allocations ) and thinks like that are so advanced, that when used wrong. Could messup the whole program.

​

3.0 - Lession 1 - Hello World

Code:
#include <stdio.h> // the functions of your program included in an book. It's your memory on how to start up a car.

int main() 
{  
    printf("Hello Sythe!");
    return 0; 
}


int main()
// the main loop of the program. You start the engine.
Code:
[b] {[/b]
// openings brackets. you put in your key.
Code:
[b] printf("Hello Sythe!"); [/b]
// you use a standart function called printf. it shows the text what is withing the brackets. Hello sythe! on a console app.
Code:
[b] return 0; [/b]
//Well we turn off the engine.
Code:
[b] } [/b]
pull out the keys.
​

To be continued....

4.0 - Conclusion
To be continued...
​

5.0 - Frequently Asked Questions

Q: Where can i learn to program professional C?

» A:


Q: Could u teach me to write a keylogger?

» A:
Yes I will, moderators; It will be one that could only be used on the computer of the person whom writes it. Do not worry ;)​
 
Le Monkey
PHP Shit Show 2k26
Potamus
Prove it!
Sythe Awards 2011 Winner
Tier 1 Prizebox
Tortoise Penis
Trole
UWotM8?
Wait, do you not have an Archer rank?
This might be more appropriate in User Education :)
 
Thanks for taking time. Will look over all this i really am intrested in computer, and it may help with a career. plus gives me something to do over winter break. Appriciate it
 
Runescape Gamblingrunescape gambling
Back
Top