![]() |
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| CN Owner | Well if I get the site I want better bots made in a good language so we can utilize the exploits more. Here is a simple thing you can do in C to have a window say "Hello World" Ok C is constructed of functions and header(.h) files In our application we are going to use stdio.h so include it at the top of the code as below Code: #include <stdio.h> now we need our MAIN function. The Main function in C is simply called main The function should be added bellow the include and should look like this Code: int main(void) {
}
Now we have our basic C structure Lets make it talk. In the main function add the printf() function it should look like this Code: printf("Hello World\n");
You now have you're first ever complete C program. The full code should be similar to below Code: #include<stdio.h>
int main(void) {
printf("Hello World");
}
![]() Well this is the simplest thing you'll ever make in C, should get familiar with C!
__________________ |
| | |
![]() |
| Tags |
| world |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Cheating in the REAL WORLD | MagicalCanOfSprite | Chit Chat | 116 | 11-24-2008 03:33 PM |
| World of Warcraft Activation Key | i push pencils | Chit Chat | 7 | 05-16-2008 04:59 PM |
| Hello World | thatoneguy | Introduce Yourself | 3 | 03-12-2008 05:17 PM |
| Xbox 360 Around The World! | 2+2=OVER9000 | Gaming | 9 | 02-17-2008 09:42 PM |
| Pirate The World | itami | Other / Unlisted Networks | 7 | 01-14-2008 07:29 PM |