Iron_Cross 32 Junior Poster

This might work. Have a different class for each "type" of enemy. Each "type" of enemy can pull random weapons, items, etc. But then make an array of classes, and whenever you want to make a new enemy, pull a random number (with some sort of method) and use that method number as the index number for the array. That way, you get a semingly unique enemy each time.
I hope this made sense :P

Iron_Cross 32 Junior Poster

Couldn't you just do something like

if(artistName.equals("artistCD")){
    //do something if it's true
}else{
    //do something if it's false
}

where artistName is a variable for the artists name, and artistCD is a variable for the artist's cd. If that's not what you're looking for then I'm confused as to what you're asking :P

Iron_Cross 32 Junior Poster

WOW! That WildTanget is amazing! I'm going to have to look further into that one :P

Iron_Cross 32 Junior Poster

I've only used PHP out of those three, I like it a lot. It's got it's strengths and weaknesses. Though after reading your post, I think I'm going to look into ColdFusion since I'm mainly a Java programmer. Thanks for the post! :D

Iron_Cross 32 Junior Poster

Some good sites for php would be
php.net
webmonkey.com
hotscripts.com (for example code)
google.com (hehe, lots of stuff there)
or get a book, some good ones are
sam's teach yourself php in 24 hours
beginning php
Those are just some ones I liked. Ultimatly, PHP is a good language to know for web development. I don't know asp, so I can't really comment on that :P

Iron_Cross 32 Junior Poster

webmonkey also has some good tutorials if I remember correctly. Another book you might want to look at is The Complete Idiots guide to JavaScript. It's pretty good. Though I agree with csgal, I'd learn a 'real' language. This is not to say you can't also know JS, just don't spend all your time on it. Because there is programs, such as Adobe ImageReady, that can take care of the bulk of your JS for you. Though it is good to understand it, in order to make changes or customize it. If you're really into a web language, I'd suggest php. Otherwise I'd learn Java, which could be used online or off :)

Iron_Cross 32 Junior Poster

Why did you post this in the web dev forum?
Ok, using IDE's is very nice. And I think every language has at least one. C++ has a ton. Visual C++ is a very nice one, that I like to use. C++ is a good language for games, I know quite a few games coded in it. I guess it all depends on what type of games you're trying to create. Quake III was coded in C++ if I remember correctly.
<iostream.h> and <iostream> are the same thing. Just one is coded with the ANSI/ISO standard(the one without the .h) and the other is old style. Don't use the .h.
For your zodiac thing, cin and cout would be fine if you are wanting to create a simple command line type thing. Just use a switch statment:

#include <iostream>
#include <String>
using namespace std;
int main()
{
String zSign;
cout << "Type your zodiac sign: "
       << endl;
cin.getline();
switch(zSign){
    case sign:
        cout << "blah stuff about blah sign...."
               << endl;
         break;
    case sign2:
         cout << "Blah stuff about blah sign 2..."
                << endl;
         break;
    default:
         cout<< "you must not have a sign"
               << endl;
         break;
}
return 0;
}

the syntax may be off a little, it's been forever since I've used c++. But you should get the idea. The \n and endl are two different things. The \n prints a new line, you should place one wherever you want a new line to start. …

Iron_Cross 32 Junior Poster

Can't forget http://www.thewebmachine.com/ that's an awesome site that i love using!
or just search google, you will find thousands of good tuts :)

Iron_Cross 32 Junior Poster

ok, thanks. Then I'll just read through them and get a basic understanding. I just wanted to know if I would be needing them quite often, so then I would need a full grasp of them.
But thanks!

Iron_Cross 32 Junior Poster

Anybody understand these? I'm having the hardest time with them. Partly because I don't see a use for them :P
But what would be an example of a time when you would need to operate on a bit itself? As in, what is their purpose?
Thanks for any help :)

Iron_Cross 32 Junior Poster

I've glanced at Knoppix, but i haven't given it a huge ammount of thought. But from what you just said, I'm deffinately going to give it a run through. It's sounding like something I should look into.
Thanks!

Iron_Cross 32 Junior Poster

Thanks.
I am looking to get into linux more, and am wondering about a good newbie distro. Heard RedHat 7.3 or 8.0 would be a nice choice. And when I looked around Mandrake appealed to me. I'm wanting a distro that is newbie friendly, but also has some power packed in it. Since I'm on dial up ( :( ) I have to buy all my distro's and am not looking to download 50 different distros just to find a good one.
Eventually I hope be using a distro that is good for development, how's mandrake in that aspect?
Thanks. :)

Iron_Cross 32 Junior Poster

What is everyone's opinion on Mandrake (9.1 and 9.0 specifically)? I've heard opinions on nearly every other major distro but this one. How is mandrake from a newbie perspective? Thanks for any info :)

Iron_Cross 32 Junior Poster

on IRC, never abused it. In forums, never abused it (or not that I know of). On other stuff...I've used what I know against some people before...not to do anything bad or illegal, just to gain an advantage :P muwhahaha

Iron_Cross 32 Junior Poster

Meh, flat or 3D, doesn't make a ton of difference to me :D
I like em both, I'm currently using the 3D cause i'm too lazy to change it back :P but it's a nice option to have, thanks :D

Iron_Cross 32 Junior Poster

Hmm, I can't see his sites, so i have no say on the matter.
But from what i've seen, I think Tekmaven was just trying to help, not be mean. Just what i saw :P

Iron_Cross 32 Junior Poster

an awesome site for learning perl is
http://oreilly.codecastle.com/

Now for C++ over Perl....That's tough.
I agree that C++ is more useful (though if you are planning on working *nix environments perl might be a tad more useful).
I also agree that C++ teachs an awesome base for syntax, many other languages have similar syntaxes to c++, so it teachs a good backgroud for those others.
The only problem I have with learning C++ as a first language is that since it is extremely powerful, and extremely flexible, it is also quite complex and confusing at times.
I moved into C++ after learning a good deal of perl, python, php, and a few other small languages. I didn't have too great of a problem with it (other than bitwise operators, lol), granted I'm not near done learning.
As a first language, I'm not sure if I would recomend C++, unless you're in for a challenge and have a deffinate reason for learning it.
Perl was nice, but if you're not planning on using it for *nix or web environments I would choose another langauge.
If you decide to go wtih C++ and awesome book to start out with is Ivor Horton's 'Beginning C++' it REALLY helped me.

Hope this helps some :)