Welcome, Guest
You have to register before you can post on our site.

Username
  

Password
  





Search Forums

(Advanced Search)

Forum Statistics
» Members: 8,079
» Latest member: seanac11
» Forum threads: 10,350
» Forum posts: 91,276

Full Statistics

Online Users
There are currently 254 online users.
» 0 Member(s) | 251 Guest(s)
Bing, Google, Yandex

Latest Threads
I'm leaving the site too....
Forum: 2DWorlds Discussion
Last Post: Jacob_
07-03-2023, 04:59 AM
» Replies: 12
» Views: 6,411
hi there.
Forum: 2DWorlds Discussion
Last Post: Jacob_
01-03-2020, 04:30 AM
» Replies: 1
» Views: 773
obroke
Forum: Current Games
Last Post: FrancisSah
09-06-2017, 10:11 AM
» Replies: 0
» Views: 20,543
fcouldn't
Forum: Current Games
Last Post: FrancisSah
09-06-2017, 09:02 AM
» Replies: 0
» Views: 8,253
qhow
Forum: Current Games
Last Post: PhilipShums
09-06-2017, 07:25 AM
» Replies: 0
» Views: 2,139
zstone
Forum: Current Games
Last Post: TimothyTox
09-06-2017, 07:03 AM
» Replies: 0
» Views: 1,006
vbit
Forum: Current Games
Last Post: FrancisSah
09-06-2017, 03:00 AM
» Replies: 0
» Views: 983
sildenafil 100 mg sandoz
Forum: Current Games
Last Post: RichardLen
09-06-2017, 12:28 AM
» Replies: 0
» Views: 1,201
mhis
Forum: Current Games
Last Post: TimothyTox
09-05-2017, 04:09 PM
» Replies: 0
» Views: 1,007
sildenafil citrate 100mg ...
Forum: Current Games
Last Post: Waltertog
09-05-2017, 12:27 PM
» Replies: 0
» Views: 962

 
Photo My House and Snipe Tower in Minecraft.
Posted by: Hippo - 08-08-2011, 05:25 PM - Forum: Creations - Replies (18)

Wouldn't it be nice if I had a bow so I could use my tower.
[Image: houseandtower.png]

Print this item

  Get the Cookie
Posted by: Tyler - 08-08-2011, 04:56 PM - Forum: Forum Games - Replies (16)

Steal the cookie from the person above you!

Example:

"I trip you and take the cookie away"

Next poster:

"I ran into you, you drop the cookie. I take the cookie.''


Be creative.

Print this item

  How good of a job do you think I do?
Posted by: Login - 08-08-2011, 04:40 PM - Forum: Moderator Discussion - No Replies

I want your opinions and how I can improve on as a moderator.

How good of a job do you think I do, and how do you think I could improve?

Print this item

  My video game's theme song version 1.0
Posted by: CoderRyne - 08-08-2011, 04:33 PM - Forum: Creations - Replies (5)

Hey everyone, check this out: http://www.youtube.com/watch?v=bZbqg_7Gg...ideo_title

I'd like an opinion from all of you considering all of the hard work I put into this. I know that there are some flaws in it, but those will be fixed in version 2.0. Let me know what you think! (Read the description of the video for more information)

Print this item

  Issues with adm/admin.php and deleting comments
Posted by: Qwertygiy - 08-08-2011, 04:01 PM - Forum: Moderator Discussion - Replies (2)

I can't seem to delete individual comments...

Is there a problem with it or am I just not doing it right?

Print this item

  So how do you earn achievements?
Posted by: Turner - 08-08-2011, 03:45 PM - Forum: Help - Replies (11)

I've been wondering this...

Print this item

  Just giving a future notice.
Posted by: Fire - 08-08-2011, 02:33 PM - Forum: Moderator Discussion - Replies (4)

I am leaving for myrtle beach the 13th and coming back the 20th. I just wanted to give you all a heads up. Thank you.

Print this item

  I want this game so bad!
Posted by: Who - 08-08-2011, 02:18 PM - Forum: Video Games - Replies (1)

FROM DUST

It looks so awesome, its a new god game (like black and white, another game I like), where you like mould the world around you, and the director of the game is Eric Chahi (creator of my favourite game :D)

Im looking forward to play this game when it comes out

Print this item

  C++ introduction
Posted by: noob007 - 08-08-2011, 12:51 PM - Forum: Programming - Replies (6)

Hello all,

I decided to create a "tutorial" for C++ (I don't like calling it a tutorial, but whatever). I wrote it kinda quickly, so please gimme feedback.

This part is a tutorial of the language syntax, without the standard library.

C++ is so close to the hardware it's not even funny. Some people really like this; some really hate it. C++ is a low-level high-level language; it doesn't have a garbage collector and you have to do many things manually. C++ code is compiled into what we call processor instructions, which are the small commands that the processor can read and execute. This, and the aggressive optimizations the compiler is allowed to do, give C++ its amazing speed and efficiency.

This tutorial assumes you have some basic programming knowledge, be it in a high-level scripting language or other.

VARIABLES

In C++, variables are keywords that refer to a space in memory. To declare a variable, you must specify its type so that the compiler knows how much space to allocate and what processor instructions to use when manipulating said variable. For example, [lua]int x;[/lua] will declare (create) a variable of size "int", which on most modern machines is 4 bytes. Please note that the variable x is declared but not initialized, so you can't rely on it being 0. [lua]int x = 0;[/lua] or [lua]int x(0);[/lua] initialize x to 0.

Variable sizes on most modern machines


[*] bool: 1 byte (but can only be 1 or 0)
[*] char: 1 byte
[*] short [int]: 2 bytes
[*] long [int]: 4 bytes
[*] int: 4 bytes
[*] long long: 8 bytes
[*] float: 4 bytes
[*] double: 8 bytes
[*] long double: 12 bytes

Arrays

An array is a series of variables, which all have the same data type. To declare an array of five integers, do [lua]int x[5];[/lua] To access the third element from the array, do [lua]x[3][/lua]

Pointers

Pointers are a special type of variable, that hold a memory address. They are declared by putting an asterisk after the data type they're meant to point to. A pointer to integers is declared like this: [lua]int * x;[/lua]
A common misconception is that pointers don't take up memory, but they actually do, and sometimes quite a bit. All pointers on a machine take up the same amount of memory, be them pointers to integers, to bools, or doubles. Pointers take up 32-bits (4 bytes) on 32-bit machines, and 64-bits (8 bytes) on 64-bit machines.

To access the data pointed to by the pointer (dereference), put an asterisk in front of it: [lua]*x[/lua] If the pointer points to a series of objects (array), access its elements as if the pointer were the array: [lua]x[number][/lua] If the pointer points to an instance of a class or struct (see Structs section), access its members by using [lua]x->member[/lua] or [lua](*x).member[/lua] These lead to some misconceptions, and will be discussed further in the next section.[lua]x[0][/lua] == [lua]*x[/lua]

[lua]x[number][/lua] == [lua]*(x + number)[/lua]

Differences between pointers and arrays

Pointer arithmetic

Next to come: examples, references, loops, and more.

[Image: 88x31.png]

Print this item

  DAYREN HAS A BUILDISM ACC!
Posted by: mikee75 - 08-08-2011, 11:39 AM - Forum: The Community - Replies (15)

ISN'T IT GREAT?!?!

Print this item