Page 2 of 12
Posted: Wed Jul 25, 2007 9:25 am
by Larry Laffer
Ah well, I'm sure Dogbreath's not that upset. I mean, he still has Wormie!
Posted: Wed Jul 25, 2007 2:17 pm
by tinman47
This forum is so strange.I asked a question about WoW and people are talking about booze and marriage. JUST DONT GET THIS TOPIC LOCKED!
Posted: Wed Jul 25, 2007 2:48 pm
by dosraider
You're in luck, I can't lock it, or it would already been locked.
Naaaah, it's a 'lounge' topic, you created it, remember?
Someone who knows what a lounge is wrote:
1. A public waiting room, as in a hotel or an air terminal, often having smoking or lavatory facilities.
2. A cocktail lounge.
3.1. A living room.
3.2. A lobby.
4. A long couch, especially one having no back and a headrest at one end.
So we all come here to have a chat and a smoke, and we're peeing in your topic.
Posted: Wed Jul 25, 2007 7:42 pm
by tinman47
You know DosRaider,your right.
Lets all kick back
or lets all have a smoke
Or we can talk about absolutely nothing.
Merged triple post in one, next time it's delete, Tinman47~dosraider
2'post
Yeah,and I'd really appreciate it if you don't pee on my thread.
3'post
By the way...In C programming,how do you make a library? I would like to make a mathematical function library.
Posted: Wed Jul 25, 2007 8:24 pm
by dosraider
You know, you have an edit button.
Triple posting in your thread is an invitation to lock it.
Posted: Thu Jul 26, 2007 2:12 am
by wardrich
tinman47 wrote:By the way...In C programming,how do you make a library? I would like to make a mathematical function library.
This is where C++ comes in...
#include <<a href="
http://www.cplusplus.com/reference/clib ... >math.h</a>>
Posted: Thu Jul 26, 2007 3:08 am
by Larry Laffer
dosraider wrote:You know, you have an edit button.
Triple posting in your thread is an invitation to lock it.
*cracks fingers*
I dunno,
for now, I kinda like peeing in this thread... but it really gets old fast!
Posted: Thu Jul 26, 2007 4:10 am
by GAMER
Wait...I eloped with wardrich?? Does he know about this?
I really don't have time to play games anymore.
HSC sucks. It's hard enough to post here, keep up with msn conversations and do work...
GAMER
Posted: Thu Jul 26, 2007 4:15 am
by Gamer_V
dosraider wrote:You know, you have an edit button.
Triple posting in your thread is an invitation to lock it.
And we don't want this thread locked, do we?
Posted: Thu Jul 26, 2007 2:06 pm
by MiniMax
tinman47 wrote:By the way...In C programming,how do you make a library? I would like to make a mathematical function library.
What is a mathematical function library?
Posted: Fri Jul 27, 2007 12:52 am
by wardrich
MiniMax wrote:tinman47 wrote:By the way...In C programming,how do you make a library? I would like to make a mathematical function library.
What is a mathematical function library?
Probably a math class, which is why C++ would be needed. Too bad he didn't listen to me.
Posted: Fri Jul 27, 2007 3:49 pm
by tinman47
Wardrich...get over it.
Posted: Fri Jul 27, 2007 5:05 pm
by MiniMax
What is a math class ?
Posted: Fri Jul 27, 2007 7:53 pm
by tinman47
A math class or library is just a snippet or chunk of code you can use for functions or solving problems. Like game patches except you choose when to use them.
Posted: Fri Jul 27, 2007 10:35 pm
by Check-Mate
What? You actually don't know what a math class is??
Is this like, a language thing?
Posted: Fri Jul 27, 2007 10:39 pm
by tinman47
Check-Mate wrote:What? You actually don't know what a math class is??
Is this like, a language thing?
Well...MiniMax does live in Sweden...
Posted: Sat Jul 28, 2007 1:18 am
by Dogbreath
MiniMax wrote:What is a math class ?
A class is an "object" (from which the term OOP is derived), or a specially labeled peice of code that defines specific functions and variables that're applicable when the class is in use. A math class would be an object that defines mathematical functions for a program, such as the value of PI, or anything, really.
You could conceivably have more than one math class for a single program. Let's say, for example, you're an astrophysicist for NASA, and you're trying to figure out propulsion for a Mars rover. You'd want one math class that defines various physical conditions as they are on earth (like g=9.8 m/sec^2, or the effect of Earth's magnetic field, or wind resistance) and another that defines physical conditions as they are on Mars. (which lacks a magnetic field, and where gravity is significantly lower, and the atmosphere thinner) Same for the value of Pi, which, as the distortion caused by gravity increases, approaches 1.
That way, he could have one fuel efficiency equation that would produce different results depending on the value of variable "g" and dozens of others. A class just allows you to "toss" all that into one or two or twenty chunks instead of trying to define everything individually, which, when you're working with hundreds, or thousands of linked variables, is a big help. Classes can do more than define values and fuctions, btw, I'm just using that as an example, and probably goofed doing that because of my n00bish computer skillz.
The kicker here is that C++ is C, but specifically designed for object oriented programming, which Wardrich has been trying to tell Tinman47 for months. And now Tinman is asking how to create classes in C, which is the exact reason people use C++ instead of C.
(BTW, check your private messages!)
Posted: Sat Jul 28, 2007 2:56 am
by dosraider
Dogbreath wrote:The kicker here is that C++ is C, but specifically designed for object oriented programming, which Wardrich has been trying to tell Tinman47 for months. And now Tinman is asking how to create classes in C, which is the exact reason people use C++ instead of C.
But by now we all probably know that TinMan47 likes to reinvent the wheel or recasting old ideas. The 'proven good' concepts aren't swell enough for him.
Posted: Sat Jul 28, 2007 5:43 am
by MiniMax
Thanks Dogbreath. The explanation I was waiting for was something like: A library is a file, in a format acceptable by a linker, containing entry points and code that implements specific tasks.
My next question would then be: What is a program.
Posted: Sat Jul 28, 2007 5:47 am
by Gamer_V
You people can keep editing my post, but I will keep editing it away.