PDA

View Full Version : C++-Flash MX



BullDog_Flash
January 27th, 2003, 01:49 PM
hey eveorne i have just got c++ today and will not be using Flash mX alot at all.
Just saying .
And i think Kirupa should put a c++ fprum so that me and PLayaa can help when i get good.

h88
January 27th, 2003, 01:56 PM
That doesn't belong to help forums BullDog.

BullDog_Flash
January 27th, 2003, 01:58 PM
My bad dient mean to do that.
Im used to doing stuff in FlashMX
::Stupid Styupid bulldog:

NaliWarCow
January 27th, 2003, 06:43 PM
Kirupa's a pretty leet c++'er, he could probably help you in the beginning. Why you learning c++ though? You wanna be a programmer for like a game company or something?

BullDog_Flash
January 27th, 2003, 06:45 PM
Well sice im only 13 i will have a really good chance when i get a Collage degree to enter A game Company.
The most of all i want to be in is.
Ubi Soft.

DDD
January 27th, 2003, 06:50 PM
You meant to say EIDOS right.....*rubbing my fist*:bad:

Jubba
January 27th, 2003, 06:51 PM
*cough*ediossucks*cough*


lol j/k 3D! :trout:

BullDog_Flash
January 27th, 2003, 06:52 PM
Well it all depends I am going with the one that makes me feel happy or the one that makes a good game and mak me feel that i could make somthing with them.
So far here are my Top 3

(1)Ubi Soft
(2)SquareSoft
(3)Eidos.

NaliWarCow
January 27th, 2003, 06:55 PM
NO. BEST GAMING COMPANY IS BLIZZARD. EVERYTHING THEY PUT OUT IS GREAT, AND THEY PATCH STUFF YEARS AFTER ITS BEEN RELEASED. THEY ARE THE GREATEST COMPANY OF ALL TIME.

BullDog_Flash
January 27th, 2003, 06:56 PM
Well
C++ can be done also for Xbox Game(My love)
Or PS2 and other systmes.
The top of the line is Computer.
To tell the truth i never heard of Blizzard
Maybe a site or description can help.

BullDog_Flash
January 27th, 2003, 07:34 PM
it will take me a while to adapt to c++ coding but i dont care.

Here is an example i will Explain what all of it means.



#include <iostream.h>

int main()
{
cout << "Hello Everone! \n";
cout <<"Today is a lovley day! \n";
cout <<"This is my first program in C++! \n";
cout <<"I love C++ Im gonna wok with Ubi Soft! \n";
return 0;
}






]#include <iostream.h>

int main()
{


That code is the main part it will not start without it at all.
It basically makes a window pop up. The iostream is
InputOutput stream


cout << "Hello Everone! \n";
cout <<"Today is a lovley day! \n";
cout <<"This is my first program in C++! \n";
cout <<"I love C++ Im gonna wok with Ubi Soft! \n";

That code make a message cout is saying make the massage beside it.
return 0;
}

That code return means exit o mean any key.
So when any key is pressed it wil quit.

DDD
January 27th, 2003, 08:18 PM
If you really wanna get into gaming and have fun.....Go independant. Like Rock Star or Valve and a few others. Also do what ever it takes to get your foot in the front door. I started off as a video game tester. I am not programming games but I do like textures, models and project management. I take care of some web stuff, print work. Word of Advice dont be a one trick pony. Dont just be a programmer know design like color theory and things like that. It is good you are starting young I was so into basketball it consumed my life and it was all I knew luckily I went on to play college hoop and picked other skills while there. Learn other things that surround your profession.

mdipi
January 27th, 2003, 08:35 PM
hmm, i always wanted to know what XBOX games were coded on...cool. top-o-my list is AS, then MAYBE JS, Java, and C++,or C+, i know a guy who will give me lessons on it when i go to highschool, just dont know if it is C++ or C+......

senocular
January 27th, 2003, 08:38 PM
D might be better for us Flash people... skip c, c++ and go straight into D. Its still new but it will gain some momentum soon enough (I would suspect)

mdipi
January 27th, 2003, 08:46 PM
are you being phunny or for real?
if for real then why?

senocular
January 27th, 2003, 08:50 PM
D uses the this keyword for scope reference.

Marz
January 27th, 2003, 11:19 PM
That's not too shabby I guess bulldog...

But you really need to get into more advanced... Well.. Not right now I guess... And the person wouldn't be able to see thast code.. DUH!

Didn't I teach you anything :trout:

getch(); right before return();




//C++ For Dummies
//Marz

#include<conio.h>
#include<iostream.h>
#include<dos.h>

void main()
{
int choice = 0;
while(choice != 4)
{
gotoxy(4, 3);
cout<<"Welcome to C++ for Dummies";
gotoxy(4, 5);
cout<<"1: Hello World!";
gotoxy(4, 6);
cout<<"2: Math is Fun!";
gotoxy(4, 7);
cout<<"3: Arrays!";
gotoxy(4, 8);
cout<<"4: Quit";
gotoxy(4, 10);
cin>>choice;
}
}



Amyways... This really doesn't do anything.. :) But it introduces bulldog to 2 new things... cin and gotoxy and while loops... :)

Have FUN! :trout:

h88
January 27th, 2003, 11:20 PM
Looks like actionscript!

Marz
January 27th, 2003, 11:22 PM
Use the same sintax... Really there are onl;y two main syntaxes out there for programming..

Other than the anchients ones.. I'm tlaking newer..

You have C++ and Visual Basic

Difference?

There are subtle differences... I dislike the Visual Basic way... That's all I have to say *lol*

NaliWarCow
January 27th, 2003, 11:41 PM
Visual basic is SOOOOO much better than the c++/actionscript/java languages. You don't have to press the stupid semi-colon every 5 seconds and its easier to use objects.

http://www.battle.net
http://www.blizzard.com

Blizzard (battle.net is the online service they provide free for all games) has made the starcraft, warcraft, and diablo games. Every game they have made has been a best seller and has been considered great by just about every gamer and critic. They are by far the best game developing company (until microsoft takes them over and ruins them) and they sound like a close knit group of people that all enjoy working on the games they make.

DDD
January 27th, 2003, 11:47 PM
I agree I love ASP vb/vbscript

Raydred
January 28th, 2003, 12:21 AM
using System.greeting;
using System.Raydred.self;
using System.Raydred.talk;

//This is c# code LLC#!

private void Init_Self()
{
Self mySelf = new Self.Me();
mySelf.name = "Raydred";

mySelf.Talk(SayGreeting());

}

private void SayGreeting()
{
string response;

Talk talk2Me = new Talk.chat();
response = Talk.chat("How are you guys doing? I miss being there trolling the forum, I will return!");

return response;


}




------------

Just a bit of my Expression of Code =)



Actually Nalicow, VB is an Odd ball. Most real programmers wont even touch it. I personally hate it its like reading a book or something, too basic. c++ and C# and other languages are easier because the syntax are almost all alike, so its easy to go from one lang to the other without a huge learning curve.. But this is my Opinion =)

Makaveli
January 28th, 2003, 12:27 AM
ray, why is it that you always talk in some sort of programming language......its like a hobby of yours.....lol, can't wait til you return.....its much boring without you....even Phil is "away a lot" ;(

DDD
January 28th, 2003, 12:42 AM
I have been trying to get into c# but it sux to me. vb.net and asp.net is cool. Good thing I am not a real programmer.(-: hahahahaha.....I even like coldfusion. I hate semi colons I guess

Raydred
January 28th, 2003, 01:18 AM
lol its cool if you Vb.. i just aint =)

I get c# really well its like my language =) W00t!

Confuscious
January 28th, 2003, 01:23 PM
Ive never used c++, but I've used a little bit of java, which is just like it. Its pretty easy its just we use notepad for the Java and I always forget to add semicolons and then when I compile it gets really mad at me. VB is just easier to mess around with. I know C++ is a million times better, but I'm just a casual programmer and don't know much about it.

kaotic
January 28th, 2003, 02:03 PM
#include<iostream.h>

void main()
{
int choice, counter=0, i;
cout<<"i just got into c++ about 5months ago and i love it\n\n";
cout<<"ive even began to program some simple games\n\n";
cout<<"if ya ever need help bulldawg gimme a holla!\n";
do
{
cout<<"Press 1 to qo into an infinite L00P";
cin>>choice;
if(choice!=1)
{
cout<<"You dumb*****, that wasnt a 1";
}
else
{
for(i=0; i>=-1; i++)
{
cout<<"*\t*\t*\t*\t*";
counter++;
for(z=0; z<=10; z++)
{
cout<<"Wow a nested loop"\n
}
}
}
}while(choice!=1);
cout<<"The loop iterated "<<counter<<" times\n";
}


w00t nested loops, decisions, and counters...my favorite :sigh:

DDD
January 28th, 2003, 02:37 PM
You guys make me sick.....I have to really concentrate to program and for you guys it comes out of thin air. I am a much better graphic person.:hangover:

BullDog_Flash
January 28th, 2003, 02:38 PM
Yeah kaotic i seen you on one of the foums.
Yo0u hve made a cool
Pacman game i believe thats what it was.

Nail:Thanks for the links ill look into those.
Playa:Yes i have learned cin >> form my firned last night.
So all it is that the user types in a number.Or Letters.
And the code my firend showed me was cin >> x
the x was the variable and after that code he showed cout << x
and so when you type say 3 the cout function posops in and says the number you pressed.

Seems like i have alot of friends here that know c++
Maybe you cn contact me.
Coolazz0
And chat and you can be my personal teacher::Sigh::

jk

kaotic
January 28th, 2003, 02:39 PM
hmm pacman?
not me
my games go as far as an rpg, and a high low guessing game
soon i will start to code something worth looking at


3d-iva:i dont enjoy flowcharting, allthough for some recent projects that have come up it looks like that will be a big help

i like to go with the thoughts as they come, otherwise im more likely to mess up

BullDog_Flash
January 28th, 2003, 02:45 PM
Right now my Teacher is teaching me all the absoiulute basics.
He has given me tons of Links and tips to get a better strart then what i have on Flash.
See on flash when i have started out i have always copied other peopples work.
Then realized that the other peoples work seem easy and fun to make o i started doing my own.
I have been doing AS for about a year now And do not care for it much any more.
I still may work with it but not like always.

C++ is all me now.

3d-Iva Its easy to us because alot of us good Programmer try ar best you probbaly do to but you like graphics and are focused on both things.Nopw im only focused on C++ no other program at all.
Its good for me to get a very big head start when im 13 ill be excellent at 18.
Then collag i will leanr alot more langauges.
So ill have a pretty good chance of making it in a game company.
Unless i learn the hours thats when my life changes.
Probally like 15 hours 7 days a week LOL

Peace
Coolazz0

kaotic
January 28th, 2003, 02:47 PM
hmm methinks by the time your in college you c++ will be as old as pascal or basic seems to me
the reason im doing c++ is that is what the entry level class is in the college im attending so i wanted a head start
from c++ they move onto Java and asp

BullDog_Flash
January 28th, 2003, 02:52 PM
c++ been out for a little while now.
I believe they will still have alot of it out.
Niether way ill still make games.
nothing caa stop me fom making game at all.

Marz
January 28th, 2003, 06:34 PM
EHHHEEMMM...

Lemme get one thing straight for all you "VB programmers" out there... Get a real language.. hehe...

I wnat you guys to try and code a directX video game or an openGL video game with your visual basic syntax... Can it be done.. Well yeah.. But it requires alot more lines of code and alot more hassle. If it even let's you...

But... Visual BASIC is good for one thing. Making cool interfaces to install your game son ;) *lol*...

Yeah... The syntax for C++ may be a little daunting with the ; signs.. But it's actually very good programming practice. JavaScript, ActionScript, PHP and some other sub-languages use it as a syntax...

Now I'm not totally dissing ASP... or VB... Cause I used both of those at a time too... I use to use ASP mad crazy actually.. But Now I use PHP.. And it's loaded with alot more features than ASP as of right now.

Ohh.. And I don't really think C++ will be going down that quickly.. Yeah it's becoming old.. But too many things rely on it that.. Well.. It wouldn't be functional to make another one at the time being.. :)

Take Care

kaotic
January 29th, 2003, 06:06 PM
well marz that may be true, but isnt that what the people working with C and Pascal etc. were thinking when their languages were the top of the game:bad:
personally i hope c++ stays cause of all the time i am spendind on it
i dont wanna become a guru and then 1 day later OMG LOOK THE B+ programming language comes out:smirk: