carlosj95 (08-24-2010)
Firstly, Get a Compiler, this is what takes the code and makes it into a program. There are a lot of compilers of there but I suggest VC++ 2010. The download can be found in the Crossfire source code section here!
This first program you will write is simple: Helloworld!
Open a new console application project in VC++ and go to: Add New Item > and add a (.cpp) file called main.cpp!
Once you are ready type this code down to write your first program:
[IMG]https://i747.photobucke*****m/albums/xx116/ddragon97/1.jpg[/IMG]
Now to explain the coding:Code:#include <iostream> int main() { std::cout << "Hello World!" << std::endl; return 0; }
BLUE = CODE
BLACK = EXPLANATION
Code:#include <iostream> (Including the standard iostream file into your program)Code:int main() int: is an integer number value. main(): defines that the main function is about to be statedWhen executed the program looks like this:Code:{ std::cout << "Hello World!" << std::endl; return 0; } { = start of code } = end of code std = standard cout = console output endl = endline "TEXT" = When used with "cout" it is displayed on the computer screen << = These arrows show what will be placed on the screen (ie. std::cout << "Hello World!" This shows that "Hello World! will be displayed on the console window) return 0; = Think of this as ending the main function and returning back to the program with no results (no exactly but close enough) Therefore the Code: std::cout << "Hello World!" << std::endl; In English can be written as: standard::console output << "Hello World!" << standard:: endline;
[IMG]https://i747.photobucke*****m/albums/xx116/ddragon97/2.jpg[/IMG]
Well what you just learned to do is code, although coding hacks arent that simple, everything is more complicated but everything basically revolves around this have fun coding
NOTE: I KNOW THERE ARE LOTS OF C++ TUTS HERE BUT THIS ONE TEACHES YOU HOW TO CODE THE MOST BASIC PROGRAM BUT STILL TEACHES YOU THE BASIC COMPONENTS THAT MOST C++ PROGRAMS HAVE!
~!My Releases!~
Graffiti-Like Login Mod
Naruto Login Mod
VFCxInjector V1.0
VFCxInjector V2.0
VFCxInjector V3.0
Do you have the guts to click this...?
To Do List:
Use a SpeedHack & GunHack & Aimbot for Crossfire
100 Posts
500 Posts
Make my Own Mod
Learn C++ [PAUSED]
Code my Own hack
Code my Own Injector
[IMG]https://i774.photobucke*****m/albums/yy22/batuzai43/dontforget.gif[/IMG]
carlosj95 (08-24-2010)
C+P fail.
This was posted and stickied(I think) before.
Add Me On MSN steph7772010@hotmail.com
I spent an hour typing this tut up so dont say i C+P it....
I took the pics i wrote the code all from my computer -.-"
gawd people recieve no credit for their work these days....
Last edited by voodooflame; 08-24-2010 at 07:00 AM.
~!My Releases!~
Graffiti-Like Login Mod
Naruto Login Mod
VFCxInjector V1.0
VFCxInjector V2.0
VFCxInjector V3.0
Do you have the guts to click this...?
To Do List:
Use a SpeedHack & GunHack & Aimbot for Crossfire
100 Posts
500 Posts
Make my Own Mod
Learn C++ [PAUSED]
Code my Own hack
Code my Own Injector
[IMG]https://i774.photobucke*****m/albums/yy22/batuzai43/dontforget.gif[/IMG]
Man... I havnt done this in a while.
Basically I made this tut for choobs who whine about not having any hacks and they want people to code it for them... this is so they know its not that easy :P Actually it is pretty easy but it takes time.... and patience is what choobs dont have
But yea... old coders can refresh themselves with this too
~!My Releases!~
Graffiti-Like Login Mod
Naruto Login Mod
VFCxInjector V1.0
VFCxInjector V2.0
VFCxInjector V3.0
Do you have the guts to click this...?
To Do List:
Use a SpeedHack & GunHack & Aimbot for Crossfire
100 Posts
500 Posts
Make my Own Mod
Learn C++ [PAUSED]
Code my Own hack
Code my Own Injector
[IMG]https://i774.photobucke*****m/albums/yy22/batuzai43/dontforget.gif[/IMG]
Please post it here next time ^^
C++/C - MPGH - MultiPlayer Game Hacking
can i use borland C++???
#include<stdio.h>
void main(void)
{
int a;
printf("Hello World");
scanf("%d",&a);
}
plz check .....
Last edited by genufuk; 08-24-2010 at 12:59 PM.
Last edited by voodooflame; 08-25-2010 at 03:06 AM.
~!My Releases!~
Graffiti-Like Login Mod
Naruto Login Mod
VFCxInjector V1.0
VFCxInjector V2.0
VFCxInjector V3.0
Do you have the guts to click this...?
To Do List:
Use a SpeedHack & GunHack & Aimbot for Crossfire
100 Posts
500 Posts
Make my Own Mod
Learn C++ [PAUSED]
Code my Own hack
Code my Own Injector
[IMG]https://i774.photobucke*****m/albums/yy22/batuzai43/dontforget.gif[/IMG]