The Daily Click ::. Forums ::. Misc Chat ::. Guys i think you should use C++
 

Post Reply  Post Oekaki 
 

Posted By Message

Dogzer



Registered
  07/02/2011
Points
  1029
6th March, 2004 at 00:59:48 -

It's free. You dont have to pay 1 dollar. Here's what you need:

http://www.cprogramming.com/tools.html

Here are some C++ basic tutorials:

http://www.cprogramming.com/tutorial.html
http://www.cplusplus.com/doc/tutorial/

Get a graphic library, needless to say this supports 3D sound, opengl and all that, your games will be way faster than MMF (duh) so you'll be able to fill the screen with sprites and stuff:

http://www.libsdl.org/download-1.2.php

here are the tutorials for that graphic library:

http://www.libsdl.org/tutorials.php





 
n/a

Ashman

Possibly Insane

Registered
  12/06/2002
Points
  3974
6th March, 2004 at 01:30:30 -

Why don't you just marry C++?

 
Show me the power child,
I'd like to say,
That I'm down on my knees today,
Gives me the butterflies,
Gives me away,
'Til I'm up on my feet again,
I'm feeling outshined.


"Outshined" - SoundGarden

Jigen



Registered
  12/12/2002
Points
  142
6th March, 2004 at 01:43:51 -

Why use c++ if there
is javascript langs..

 
AKA. Indiana Jones
Join to my forums.
http://s4.invisionfree.com/DOF_Creations/index.php?act=site

Airflow

imafirinmahlazr

Registered
  24/09/2003
Points
  -197

VIP MemberSonic SpeedSnow Cloud!Computer
6th March, 2004 at 04:55:50 -

C++ is shiner.

 
n/a

Nick of All Trades

Possibly Insane

Registered
  03/09/2002
Points
  2312

Game of the Week Winner
6th March, 2004 at 04:59:37 -

No thanks, I'll pass.

 
n/a

Airflow

imafirinmahlazr

Registered
  24/09/2003
Points
  -197

VIP MemberSonic SpeedSnow Cloud!Computer
6th March, 2004 at 05:04:47 -

Dispite the confusioness.
-I now have a compiler w/tutorials.

_Thankx!

Image Edited by the Author.

 
n/a

Tigerworks

Klik Legend

Registered
  15/01/2002
Points
  3882
6th March, 2004 at 06:36:19 -

Yes, we could all use C++. But I'd rather not wrestle with cross-compatibility and be forced to rewrite things already in MMF. One of the wonders of MMF is that it works on everything from 95 to XP...
It also takes a LOT longer to write anything in C++. It could take you an hour or two, even a day, just to get a ball bouncing round the screen. In MMF it's ten seconds' work.

Image Edited by the Author.

 
- Tigerworks

Pete Nattress

Cheesy Bits img src/uploads/sccheesegif

Registered
  23/09/2002
Points
  4811
6th March, 2004 at 06:41:00 -

^ what he said.

i suppose it didn't occur to you, dodgzer, that the majority of us are perfectly happy with MMF despite its limited power?

 
www.thenatflap.co.uk

Cazra

Crazy?

Registered
  24/07/2002
Points
  4472

Game of the Week WinnerVIP Member
6th March, 2004 at 06:49:45 -

I will eventually move on to C++. I already know all the basics(cout, cin, headers, function, sorting algorithms, classes, class templates, and the very basics) and I've read an entire book on the subject. Too bad the book didn't tell how to use actual graphics. I'm programming in C++ for computer class.

Recently I made a C++ program that calculates Pi, but I amde it on one of the school's Mac computers.

 
n/a

Cazra

Crazy?

Registered
  24/07/2002
Points
  4472

Game of the Week WinnerVIP Member
6th March, 2004 at 07:41:23 -

Here's the Pi program that I made rebuilt on Windows.

http://home.comcast.net/~mytochi/calculatepi.zip

It can calculate up to 10 digits. Then the adder in the algorithm reaches the highest possible number and drops to the lowest negative number.

Does anyone know how to make a variable that can hold nearly infinite digits?

 
n/a

Nick of All Trades

Possibly Insane

Registered
  03/09/2002
Points
  2312

Game of the Week Winner
6th March, 2004 at 07:48:04 -

Pete: ... and TGF

 
n/a

jast



Registered
  03/01/2014 01:12:19
Points
  186
6th March, 2004 at 07:53:16 -

Some useful links, started fiddling around with it a bit.

 
n/a

Pixalatio



Registered
  16/03/2003
Points
  652
6th March, 2004 at 08:54:20 -

i agree that Cpp is great and all, but i also know how damned hard it can be to get multiple instances of an object (classes arent my strong point) and i can create games in mmf that would take masses of time and effort in cpp, despite this, i like and use both (if you check my profile you can see a non graphical game i wrote in c when i first started to learn )

 
Twas brillig, and the slivey toves
Did gyre and gimble in the wabe,
All mimsy were the borogroves,
And the momewraths outgrabe.

http://www.pixalatio.tk - visit me please

Did you know that your computer has secret buttons hiding behind others.

I intent to never delete any part of my sig until it is t big to handle.

for one small minute my rating was possibly insane

Joshtek

Administrator
The Archivist

Registered
  02/01/2002
Points
  3841

Game of the Week WinnerHas Donated, Thank You!Mr BallPicture Me This Round 50 Winner!
6th March, 2004 at 08:55:04 -

Yes, everyone learn C++ to be able to make great extensions for MMF....

 
:: Joshtek ::


Oreos? GO! OREOS!

Knudde (Shab)

Administrator
Crazy?

Registered
  31/01/2003
Points
  5125

Has Donated, Thank You!Clickzine StaffKlikCast StarVIP MemberGhostbuster!Dos Rules!I donated an open source project
6th March, 2004 at 13:48:06 -

Building something complicated in MMF is harder in my opinion, otherwise I'd just make some funtioncs to do all the work, but for graphics, MMF/TGF is the way to go. Just cause C++ is a bitch about graphics.

 
Craps, I'm an old man!

X_Sheep

I had a custom rating before it was cool

Registered
  01/03/2004
Points
  1313

VIP MemberPicture Me This -Round 23- Winner!Dos Rules!
6th March, 2004 at 15:46:49 -

I don't care about C++, I got the extension makers to do that for me

 
a/n

CYS

Oldie

Registered
  03/01/2002
Points
  1523

VIP Member
6th March, 2004 at 21:05:48 -

I started to learn DarkBasic a few days ago.

 
n/a

Dogzer



Registered
  07/02/2011
Points
  1029
6th March, 2004 at 21:22:43 -

you should take a look at the tutorials.. they are really easy to understand

 
n/a

Gaspy Conana



Registered
  12/10/2003
Points
  571
6th March, 2004 at 23:21:28 -

C++ really isn't as hard as everyone makes it out to be. If I ever get off of my butt and learn some more math stuff, then I just might start using it. Nice resources BTW.

 
http://www.digitalwasteland.net

Pkeod

Oontz Oontz Oontz

Registered
  19/11/2002
Points
  93

VIP Member
7th March, 2004 at 00:54:41 -

Hey guys, if you want to do hardcore code... dont bother with c++ go right to smalltalk.

You'r right Dogzer! But look at the downloads section... now if people are only willing to put that much effor tinto things that are *eas* what do you think they would do with something that might actually regire them to think? Hahaha just add water and a 200 hundred pound tomato.

 
Faerie Solitaire - Get it now:

http://www.create-games.com/download.asp?id=7792

Pkeod

Oontz Oontz Oontz

Registered
  19/11/2002
Points
  93

VIP Member
7th March, 2004 at 00:54:57 -

yeah thats what I get for not looking over the text...

Image Edited by the Author.

 
Faerie Solitaire - Get it now:

http://www.create-games.com/download.asp?id=7792

Airflow

imafirinmahlazr

Registered
  24/09/2003
Points
  -197

VIP MemberSonic SpeedSnow Cloud!Computer
10th March, 2004 at 05:03:41 -

I just got the simplist compiler there was.
So far all I got is a few dos executables.

How do I make somthing run in windows?
(ie. Which (file).h do I include in the code?)




 
n/a

Willy C



Registered
  14/02/2004
Points
  1524

Game of the Week WinnerKlikCast StarPicture Me This -Round8- Winner!VIP MemberWii OwnerIt's-a me, Mario!Hero of TimeThe Cake is a LiePS3 OwnerI am an April Fool
Batman!Teddy Bear
11th March, 2004 at 09:39:44 -

cos its almoust impossible to learn the langue. Sure it would be great to know how to make c++, I even visited you links and I dont know what program to download, there is just to much. If you could give me the exact file to download, the files that I must have in order to make a program/game. That would be nice. An also is c++ a langue in it self or does it use htm or anything like that.

 
http://www.robocaptain.com

Cazra

Crazy?

Registered
  24/07/2002
Points
  4472

Game of the Week WinnerVIP Member
11th March, 2004 at 09:42:54 -

It's really not that hard. All you have to do is spend months reading books on C++.

 
n/a

Tigerworks

Klik Legend

Registered
  15/01/2002
Points
  3882
11th March, 2004 at 13:14:14 -

To make something in Windows, you have to include Windows.h and use WinMain() instead of main(). Welcome to the nightmare world of Windows programming with handles and structures flying left right and centre.

The beauty of MMF is it's simplicity. You can insert an edit object just by dropping it in the frame. In C++ you have to write some code to create it, keep a handle to it somewhere so you can still read/modify it, write some code to destroy it at the end of the application, and every time you want to test something, you have to compile and fix any errors you've made.
Using an edit object in windows might not be 100% like that, it is easier if you sue dialog boxes, windows programming isn't my thing. It's a darn lot harder than just dropping it in the frame anyway.

 
- Tigerworks

Deviant



Registered
  24/06/2002
Points
  81
11th March, 2004 at 22:41:59 -

learn Java then learn C++ cause java is quiet easy to learn but it can prepare you to learn harder languages such as C++. (I'm learning it at the moment)

 
¢¾2d¢¾

Buster

BLING COMMANDER

Registered
  03/06/2002
Points
  1545

VIP Member
11th March, 2004 at 22:59:36 -

Wtf, but isn't the whole purpose of tgf & mmf to make games easily withOUT any coding?

 

A.C. software©



Registered
  21/07/2002
Points
  60
12th March, 2004 at 00:32:39 -

why the hell are people even talking about using c++ on a "klik" related site???TAKE IT SOMEWHERE ELSE

 
help!, i've fallen and i cant ge....hey, nice carpet!

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
12th March, 2004 at 03:51:18 -

Making a game with MMF is like making a building outta wooden planks and instant cement. You can do simple decorations, shacks, houses, even schools. But the bigger it gets, the harder it is to keep up. You can do all sorts of stuff quickly, just as long as you don't try to build a massive factory or a skyscraper.

C++ is more like raw materials. You gotta shape it, modify it, and alloy the damn thing into concrete yourself. But once you've figured out how to do it, it's pretty smooth from there.

Now if only I could be bothered to learn C++.

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Buster

BLING COMMANDER

Registered
  03/06/2002
Points
  1545

VIP Member
12th March, 2004 at 04:58:40 -

A.C software, the site isn't just 'klik' related. It's about game creation.

 

A.C. software©



Registered
  21/07/2002
Points
  60
12th March, 2004 at 10:31:25 -

haha oooooohhhhhh woops...*DUH*....ok thanks buster

 
help!, i've fallen and i cant ge....hey, nice carpet!

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
12th March, 2004 at 10:53:00 -

I do know 'c++', well 'c' anyway
learnt it a college along with other languages

html
javascript
pascal
forth
assembly
and a little bit of delphi (i think its called that)

and still have all the workbooks and stuff.

yet i choose to use tgf to make games. Its way quicker and easier and less frustrating.
i mean do you want to spend half of your time trying to figure out why the program you've spent an hour on wont even start. and then find out its ONE spelling mistake in 5000 words?

 
.

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
12th March, 2004 at 11:45:57 -

"i agree that Cpp is great and all, but i also know how damned hard it can be to get multiple instances of an object"

--------------------
struct object {
int field1, field;
}
object object1;
object object2;
--------------------

there. looks easy to me


Or, if you like,

----------------------
struct object {
int field1,field2;
}
object * obj1 = new object;
object * obj2 = new object;
----------------------

Image Edited by the Author.

 
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
12th March, 2004 at 12:41:08 -

also, dog, i think allegro is faster than SDL (for me anyway. maybe i was doing something wrong, maybe not)

http://www.allegro.cc

 
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G

Cazra

Crazy?

Registered
  24/07/2002
Points
  4472

Game of the Week WinnerVIP Member
12th March, 2004 at 12:51:08 -

Isn't "struct from C?
C++ uses classes.
Here's a theoretical class that can be used for sprites.

Class Sprite
{
public:
Sprite(int startX, int startY, int spritetype)
{
X=startX;
Y=startY;
type=spritetype;
}
~Sprite()
{
}

int X;
int Y;
int valA;
int valB;
int valC;
int valD;
//...all other MMF alterable values....
bool flag1;
bool falg2;
//....more flags.....
int Type;
bool Visible;
// sprite image thing getter here(I don't know how to call images in C++)

void Draw(int hotspotX, int hotspotY)
{
if(Visible)
{
//whatever code is used to render a sprite's image
}
}
//all other properties of a sprite object...
}

I need to find a book that actually tells how to program graphics...

 
n/a

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
12th March, 2004 at 13:12:33 -

structs and classes are almost identical. the only difference is that members of structs are public by default

If you wanna draw graphics, you need an API. There are two main choices: GDI (slow, but doesn't need a graphics card) or DirectX (for games). SDL and Allegro are both wrappers for DirectX, so you need to get either one of them (Or you could just code in DirectX, but... just don't go there)

Image Edited by the Author.

 
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G

ChrisB

Crazy?

Registered
  16/08/2002
Points
  5457
12th March, 2004 at 20:17:32 -

<ubergeek>

Kris: Classes give you functions, and you can also use base classes to make different classes with the same function names but work differently. Where do you think C++ got its OOP from?

It's not like iterating through loads of object instances is hard - use a for loop...

I'm coding in DirectX, and I'm also programming ATL. I might just get a gun and shoot various Windows API programmers.

</ubergeek>

 
n/a

Cazra

Crazy?

Registered
  24/07/2002
Points
  4472

Game of the Week WinnerVIP Member
12th March, 2004 at 21:12:05 -

I read an entire long chapter dedicated to static member functions, and I was left confused. Now I read the short tutorial on static functions, and now I know exactly what they are. Arg! Why can't the books on C++ get to the point?!

 
n/a

Gaspy Conana



Registered
  12/10/2003
Points
  571
12th March, 2004 at 23:33:38 -

HTML isn't a programming language.

 
http://www.digitalwasteland.net

Mr Icekirby



Registered
  18/12/2003
Points
  846
13th March, 2004 at 00:11:40 -

html is an internet explorer complatible browser type recognition code, basicly limited to a web page... now i could learn C++ but i won't being as im terribly lazy... mmf is easy, anyone ever hack mmfusion.exe though? it sounds illegal... you can 'edit' it though on one computer, according to the lisence agreement thingy

 
Mr Icekirby says so!
OBEY ME!

Kris

Possibly Insane

Registered
  17/05/2002
Points
  2017
13th March, 2004 at 08:29:27 -

chris, you can have functions in structs as well. dunno about all that base stuff (I dont bother with it) but i'm sure structs can have them too

 
"Say you're hanging from a huge cliff at the top of mt. everest and a guy comes along and says he'll save you, and proceeds to throw religious pamphlets at you while simultaniously giving a sermon." - Dustin G
   

Post Reply



 



Advertisement

Worth A Click