The McLeodGaming forums were permanently closed on April 30th, 2020. You are currently viewing a read-only archive.
View unanswered posts | View active topics It is currently Fri May 15, 2020 9:35 am



 [ 155 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 11  Next
Programming Languages 
Author Message
User avatar

Joined: Mon Aug 11, 2008 6:40 am
Posts: 1648
Location: ... Not America
K, time to be a pushass coder right nao.
Imma C++ person, so when I talk, I'm talkin bout C++.

Pointer's are really neat, really useful codes to use.
Thai, Nac, I suggest you start using Pointers now.
Also, it's really easy to understand

K, you see how variable's are used to keep memory stored.
like int crap
Y'see, a pointer "points to" a certain variable you assign it to.
When you assign a variable to a pointer, the pointer has quick access to the variable's memory.

Ex.
int test = 7; //Now the variable test is 7
int* the = &test; //Your giving the pointer the access to the int test
*the = 6 //Even though you assigned the to test, it's still an integer. Although, when you assign the to 6, it also changes for test, since pointer's gain access to variable's when you assign them to it.

Ya get it now?


Sun Mar 08, 2009 8:24 am
User avatar

Joined: Wed Nov 12, 2008 9:23 pm
Posts: 124
Location: Charlotte, NC
Gender: Male
C++ seems extremely complicated.

_________________
Game Maker Awesomenessness
http://www.youtube.com/watch?v=11DylA2AuJI

[NF] wrote:
*f#%$& you*


Image


Sun Mar 08, 2009 10:49 am
User avatar

Joined: Sun Aug 17, 2008 5:39 pm
Posts: 1248
Gender: Anime Girl
Skype: Nacritico
Currently Playing: LOL
:facepalm:
We already know all that N00b...

what Thai say (and he is probably right) is that using pointers can be messy if you are working on advance data game.

For instance, look all the things you should do to create a multi-dimensional array...

It's not the same as AS or Java. It's way more dificult...

I don't want imagine the dificulty of working with something even harder. /:|

_________________
SALU2'S Image
_________________
Original forum: show
join date: January 08, 2007
Posts on old MG: 2432, level 16

Image
Image chóu


Sun Mar 08, 2009 11:08 am
User avatar

Joined: Mon Aug 11, 2008 6:40 am
Posts: 1648
Location: ... Not America
Nac wrote:
:facepalm:
We already know all that N00b...

what Thai say (and he is probably right) is that using pointers can be messy if you are working on advance data game.

For instance, look all the things you should do to create a multi-dimensional array...

It's not the same as AS or Java. It's way more dificult...

I don't want imagine the dificulty of working with something even harder. /:|

Don't get me started on floats.


Sun Mar 08, 2009 12:21 pm
User avatar

Joined: Sun Aug 17, 2008 5:39 pm
Posts: 1248
Gender: Anime Girl
Skype: Nacritico
Currently Playing: LOL
Noob wrote:
Nac wrote:
:facepalm:
We already know all that N00b...

what Thai say (and he is probably right) is that using pointers can be messy if you are working on advance data game.

For instance, look all the things you should do to create a multi-dimensional array...

It's not the same as AS or Java. It's way more dificult...

I don't want imagine the dificulty of working with something even harder. /:|

Don't get me started on floats.


N00b... floats is doing 1+1=2 compared with other stuff from coding /:| .

_________________
SALU2'S Image
_________________
Original forum: show
join date: January 08, 2007
Posts on old MG: 2432, level 16

Image
Image chóu


Sun Mar 08, 2009 12:37 pm
User avatar

Joined: Mon Aug 11, 2008 6:40 am
Posts: 1648
Location: ... Not America
Nac wrote:
Noob wrote:
Nac wrote:
:facepalm:
We already know all that N00b...

what Thai say (and he is probably right) is that using pointers can be messy if you are working on advance data game.

For instance, look all the things you should do to create a multi-dimensional array...

It's not the same as AS or Java. It's way more dificult...

I don't want imagine the dificulty of working with something even harder. /:|

Don't get me started on floats.


N00b... floats is doing 1+1=2 compared with other stuff from coding /:| .

Not when you use floats for programming purposes.


Sun Mar 08, 2009 1:14 pm
User avatar

Joined: Sat Aug 16, 2008 8:38 am
Posts: 6670
Location: Darkest Antartica
Country: Pakistan (pk)
Gender: Male
Skype: Thaiberium
Currently Playing: The Game
Noob wrote:
Thai, Nac, I suggest you start using Pointers now.

I already know how to use pointers. I've implemented Linked Lists, Doubly Linked Lists, Queues, Stacks, Trees, Binary Trees, AVL Trees and Heaps using pointers in C (not that different from C++ anyway). They are a complete pain in the a**. But on the other hand, those data structures are quite useful for storing information. Though, thanks to the not so advanced C language, you have to keep track of pointers and memory as well. Note that I was coding in a procedural programming manner at the time since I only knew C/C++.

_________________
Image


Mon Mar 09, 2009 3:35 am
User avatar

Joined: Sun Aug 17, 2008 5:39 pm
Posts: 1248
Gender: Anime Girl
Skype: Nacritico
Currently Playing: LOL
Thaiberium wrote:
Noob wrote:
Thai, Nac, I suggest you start using Pointers now.

I already know how to use pointers. I've implemented Linked Lists, Doubly Linked Lists, Queues, Stacks, Trees, Binary Trees, AVL Trees and Heaps using pointers in C (not that different from C++ anyway). They are a complete pain in the a**. But on the other hand, those data structures are quite useful for storing information. Though, thanks to the not so advanced C language, you have to keep track of pointers and memory as well. Note that I was coding in a procedural programming manner at the time since I only knew C/C++.


But, but... c++ = c with classes...
I don't get why you used proccedural when you could have used Object Oriented. : /:|

_________________
SALU2'S Image
_________________
Original forum: show
join date: January 08, 2007
Posts on old MG: 2432, level 16

Image
Image chóu


Mon Mar 09, 2009 11:33 am
User avatar

Joined: Sat Aug 16, 2008 8:38 am
Posts: 6670
Location: Darkest Antartica
Country: Pakistan (pk)
Gender: Male
Skype: Thaiberium
Currently Playing: The Game
Because the Lab Instructor told me to.

_________________
Image


Tue Mar 10, 2009 12:11 am
User avatar

Joined: Mon Aug 11, 2008 6:40 am
Posts: 1648
Location: ... Not America
oh, btw, did you guys ever try MFC before?
Right now, I'm trying it out and I don't know s*** about it.


Tue Mar 10, 2009 6:42 am
User avatar

Joined: Sun Aug 17, 2008 5:39 pm
Posts: 1248
Gender: Anime Girl
Skype: Nacritico
Currently Playing: LOL
Thaiberium wrote:
Because the Lab Instructor told me to.


Your LI is an a**, know it.

I know you are going to say "but he was trying to teach me, etc,etc,etc.
That's far from truth... he only wanted to see you suffering.

_________________
SALU2'S Image
_________________
Original forum: show
join date: January 08, 2007
Posts on old MG: 2432, level 16

Image
Image chóu


Tue Mar 10, 2009 11:23 am
User avatar

Joined: Sat Aug 16, 2008 8:38 am
Posts: 6670
Location: Darkest Antartica
Country: Pakistan (pk)
Gender: Male
Skype: Thaiberium
Currently Playing: The Game
Nac wrote:
Thaiberium wrote:
Because the Lab Instructor told me to.


Your LI is an a**, know it.

Admittedly, I didn't know OO programming at the time.

_________________
Image


Wed Mar 11, 2009 2:11 am
User avatar

Joined: Mon Aug 11, 2008 6:40 am
Posts: 1648
Location: ... Not America
K so you guys are Pro at your little scripting language?
Does Java have Win32?


Thu Mar 12, 2009 4:46 pm
User avatar

Joined: Sat Aug 16, 2008 8:38 am
Posts: 6670
Location: Darkest Antartica
Country: Pakistan (pk)
Gender: Male
Skype: Thaiberium
Currently Playing: The Game
I wouldn't exactly say I was professional though. Why do you need to make a Java program in to a Win32 program anyway (if that's what you're asking)? Java, as far as I can tell, has its own little virtual machine called JRE and the usual method of implementation is interpretation of the source code in to byte code that JRE runs.

Oh, and if anyone is interested in trying some Lisp, I suggest using Emacs.

_________________
Image


Fri Mar 13, 2009 11:31 am
User avatar

Joined: Mon Aug 11, 2008 6:40 am
Posts: 1648
Location: ... Not America
Thaiberium wrote:
I wouldn't exactly say I was professional though. Why do you need to make a Java program in to a Win32 program anyway (if that's what you're asking)? Java, as far as I can tell, has its own little virtual machine called JRE and the usual method of implementation is interpretation of the source code in to byte code that JRE runs.

Oh, and if anyone is interested in trying some Lisp, I suggest using Emacs.

naw, I was asking if Java had some kind of programming similar to Win32 C++


Fri Mar 13, 2009 2:18 pm
Display posts from previous:  Sort by  
 [ 155 posts ]  Go to page Previous  1, 2, 3, 4, 5, 6 ... 11  Next

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software for PTF.