Oh yea! C++ owns j00!
#1
Oh yea! C++ owns j00!
......actually I am just starting to learn.
// Jacob is Da' Coolest
#include <iostream.h> // I have no fvck what this is, but something with directive for preporcessor?!?
int main() // no idea what this is either
{ // what the hell are these for?
cout << "I ownz j00!"; cout << "I am the t-1000 post whore";
return 0; // i have no idea that this is for
}
Eat that biznatch
// Jacob is Da' Coolest
#include <iostream.h> // I have no fvck what this is, but something with directive for preporcessor?!?
int main() // no idea what this is either
{ // what the hell are these for?
cout << "I ownz j00!"; cout << "I am the t-1000 post whore";
return 0; // i have no idea that this is for
}
Eat that biznatch
#2
Trending Topics
#9
// Jacob is Da' Coolest
#include <iostream.h> // I have no fvck what this is, but something with directive for preporcessor?!?
....use <iostream>
it is standard compliant.
int main() // no idea what this is either
starts the function body of main.
{ // what the hell are these for?
cout << "I ownz j00!"; cout << "I am the t-1000 post whore";
std::cout would be better. they are io 'streams' to the console.
return 0; // i have no idea that this is for
you mean 'return EXIT_SUCCESS;'
return 0 is ambiguous on some systems. yeah it ends that block of code because it returns the value from the function.
}
#include <iostream.h> // I have no fvck what this is, but something with directive for preporcessor?!?
....use <iostream>
it is standard compliant.
int main() // no idea what this is either
starts the function body of main.
{ // what the hell are these for?
cout << "I ownz j00!"; cout << "I am the t-1000 post whore";
std::cout would be better. they are io 'streams' to the console.
return 0; // i have no idea that this is for
you mean 'return EXIT_SUCCESS;'
return 0 is ambiguous on some systems. yeah it ends that block of code because it returns the value from the function.
}
#10
C programs have a function called main(){body} which is what's called first after you link your program and run it. I suppose that's what's supposed to be shown here, guys.
For the famous "Hello World" program, you'd write:
main() {
printf("Hello worldn");
}
The return statement is used also to return a value to the caller. Here, for main, it gets returned to the "shell" which invoked the program.
For the famous "Hello World" program, you'd write:
main() {
printf("Hello worldn");
}
The return statement is used also to return a value to the caller. Here, for main, it gets returned to the "shell" which invoked the program.