mattyd 89 Posting Maven Featured Poster

Peanut Nut Log: high-calorie, inexpensive, and definately fulfills the sugar craving without being overly sweet.

mattyd 89 Posting Maven Featured Poster

Python.

I abhored Python when I first studied it but, over time, I started to fancy it.

mattyd 89 Posting Maven Featured Poster

School Yard

mattyd 89 Posting Maven Featured Poster

Congrats ~s.o.s.~

And thank-you for all of your help.

sharkey_machine

mattyd 89 Posting Maven Featured Poster
mattyd 89 Posting Maven Featured Poster

Thanksgiving is cool. Christmas is good (but I feel it is overrated). New Years Eve? I do the same thing I always do on this night-- stay on the computer or watch DVD's with my girlfriend.

My fave holidays are Valentine's Day and Halloween. Valentine's Day can be very romantic and Halloween, well, I do not actually celebrate it but it represents to me the depths of Fall, hence, the final death of Summer (Summer is too long, hot, and I do not really dig all the expected outdoorsy activities. :lol: ) I like Fall and Winter.

Thanksgiving is good but it represents to me, truthfully, memories of the few times my family and I celebrated it with our extended family-- grandparents, aunts-- stressful. All my Mom did was complain about her relatives the whole drive home. "Thanksgiving!"

mattyd 89 Posting Maven Featured Poster

Some quicker support would be good lol..

It's difficult to even comment on this statement. :rolleyes:

mattyd 89 Posting Maven Featured Poster
Which shows that it's not the tools that make the great game, it's the people who create them.

Exactly.

mattyd 89 Posting Maven Featured Poster

Hmm... do you come from a German background? I'll take sauerkraut and mashed potatoes over turkey any day...

Yes, a very German(-American) background :cheesy:

mattyd 89 Posting Maven Featured Poster

Hello,

Everyone ever think ok World of warcraft How they made it??? Well now is your chance for YOUR skills to come together in a MMORPG We will need information!!! I also Am wondering will C++ Work for A game or do I need some other skill???

Need level designers

Coders

HTML/SITE manager

And more if you would Like to support information on how to make A game please tell me

You should take the time to delve into this site http://www-cs-students.stanford.edu/~amitp/gameprog.html if you are interested in developing video games. Also, all of the advice given so far in response to your question(s) is prudent; you have to start simple, basic, then build upon each thing you learn.

Some perspective: I graduated after studying Software Engineering at university level. I am now employed in the programming industry. The point is, I still have questions, I still get stuck, lost, forget things, and I must search out help by researching on-line, reading tutorials, and talking with experts on certain, related matters. The learning never stops. Once you learn one thing, there are 10,000 other things to learn. Now imagine mastering each of these things learned! It takes countless hours and years. It really does not happen over night-- but learning a new, little thing about programming, definitions of related words, syntax, Computer Science topics in general can take place over night, one at a time. If you do not enjoy learning (or are not at the least open …

mattyd 89 Posting Maven Featured Poster

Oh, yeah-- I took that the other day. Idiot <-- here to! LOL

mattyd 89 Posting Maven Featured Poster

The Price Is Right. Yes, an institution in its own right, but like most institutions there was little change or innovation to speak of. I guess that is what made it so appealing to many.

I grew up watching this show and it holds a place in my pop culture- trivia memory banks but it is sleighted to soon be dumped :twisted:. Yes, I like the show well enough; some of the games are cool, and the big wheel was always good for cheering on someone to go over the limit and lose big time on national television-- "Oh, so close!!".

Some of the prizes were downright lame: a bedroom set for some 18-year old college frat boy? Round-trip tickets for two to Atlanta. A miniature sailboat which looked as if it would sink at the first wave upon its bow? I guess you could sell it all after you win it, but would it be worth the hassle? We all would prefer cash.

And, oh, the contestants-- a bit to spunky for my tastes.

Have a nice retirement, Mr. Barker;)

mattyd 89 Posting Maven Featured Poster
mattyd 89 Posting Maven Featured Poster

Hi sharky you say your interests lie with painting.

What's you slant on creating art using computer programs, such as 3d programs and real unbiased raytracers?

Hi iamthwee:

Creating art with computers is great, but I am not so versed in it yet. I really only play around with it in Photoshop, etc. I am amazed at the level and quality of art being produced with computers (I just looked at screenshots of "Gears of War" today-- amazing work AND interactive.)

I do not think computers will replace traditional artistic medium totally but it is definately giving it a run for its money. I am probably biased; my first college was an art school and computers as we know them where barely a reality yet.

I love art, science, programming-- I love to see the mix of all these mediums. Programming can surely be an art after (or as) one learns the science and craft of coding. The best software is equivalent IMOA to a perfect Renaissance painting.

Regards.

mattyd 89 Posting Maven Featured Poster

Greetings:

A simple question that has me stuck: Program runs, calls function, function runs... Return to Main? This last area is where it fails. No errors, just no control returned to Main.cpp at end of function run. I've been studying the code much and researching the solution on the Net all day.

I swear there is one (1) too many "}" in Look.cpp, but it is not detected by the compiler. (?)

Any point in the right direction would be vastly appreciated-- I do not want the answer given to me directly at this point, I want to figure it out myself. Perhaps just a hint, a link to a relevant Web resource, etc?

Thank-you in advance, everyone.

Look.h

class Look {
public:
float shipPos ;  
float satPos; 
float interior; 

void printShipPos(); // new function declaration

Look(); 
~Look(); 
};

Main.cpp

#include <iostream>
#include "Look.h"
using namespace std;

 int choice;



int main()
{


    std::cout << "________________________________"<< endl;
    std::cout << ""<< endl;
    std::cout << "Welcome to Platform XYZ-- Please Enter a Number:"<< endl;
    std::cout << ""<< endl;
    std::cout << "[1]Check Location for Transmission to Base"<< endl;
    std::cout << "[2]Stub"<< endl;
    std::cout << ""<< endl;
    std::cout << "________________________________"<< endl;

    

    cin >> choice;

    Look look1; //** ERROR


    if(choice == 1){
        look1.printShipPos(); //** ERROR
    }
    else {
        std::cout << "OTHER! chosen (stub)"<< endl;
    }
    
    
    system("PAUSE");

return 0;
}

Look.cpp

#include <ctime> 
#include <cstdlib> 
#include <iostream>
#include "Look.h"
using namespace std;


int countFlag = 0;

Look::Look() {
}
 
Look::~Look() {
}

void Look::printShipPos() 
{
    srand((unsigned)time(0));   //RNG
    float shipPos; …
mattyd 89 Posting Maven Featured Poster

OMG I'm just a big :twisted: idot!

Why?

mattyd 89 Posting Maven Featured Poster

Hello,

I've put up some posts about the programming tools that I am currently using. So far, no takers.

This makes me wonder what people who know what they're doing are using!

M$'s IDE seemed overly complex for my modest needs. Besides, I have no use for the DLL and the windows specific libraries. I hope to impliment most of my stuff on Linux!

I would appreciate it if someone one enlighten me and perhps some of the other "noob" about the tools of the trade.

Without the proper tools, the task can be alot more difficult, if not impossible to accomplish in a reasonable time frame!

Any input would be appreciated.

Hi:

I use Visual C++ 2005 Express Edition; its very nice yet very complex. Honestly, it goes without saying that I do not use 1/4 of the option features but what is cool about that is that I discover new things on a daily basis to help my program build. Yes, it seems of course to be for large projects but I use it as I think it is valuable to make use of such a powerful tool, getting familiar with it so when I need it for massive projects the learning curve will be less.

I always used Bloodshed Dev-C++ when I was in school but switched to the MS compiler recently after a slew of anomalies in the Bloodshed compiler which I could not figure out or get around. I recommend Dev-C++ (I have …

mattyd 89 Posting Maven Featured Poster
mattyd 89 Posting Maven Featured Poster

And, who would vote for stuffing? Stuffing is okay, but it is what its name entails: stuffing-- it stuffs you (not just the turkey). A waste of stomach space (if you ask me) that could be reserved for mashed potatos and pecan pie.

Stuffing: wet, cooked bread that sometimes transfers salmonella.

Don't pass the stuffing. :p

mattyd 89 Posting Maven Featured Poster

Mashed Potatos are awesome. I just made them the other night from scratch (no fake, boxed potatos!); We had kielbasa, curried mashed potatos, and sauekraut for our Reformation Day meal (Oct. 31). It was so very good.

Thanksgiving: my family did not celebrate it so much-- we usually went out for Chinese food that day. I like Thanksgiving and all the food of course, but it never quite hits me in quite the same way as it might some people. Most think turkey, I think fried rice LOL.

mattyd 89 Posting Maven Featured Poster

I am guilty of this, I'll be honest. I know it is important to indent and indent properly, it is industry standard, and it is simply utilitarian.

Well sharky_machine you're correct upto a point. Industry standard however depends on the industry and company you work for. "Good" indencing is not if you place brackets before, at the end, or after something. It depends on how consistent your indencing is!! I could easily write

void myFunction(){
}

void MYFUNCTION(){
}

void MyFunction
{
}

and you will agree they will probably be doing the same thing, its just how consistent you are with your indencing but also naming as well. If you're consistent, you're right.. How right you are depends on how other people write their consistent code ;-)

Yes, well said. Agreed

mattyd 89 Posting Maven Featured Poster

What a tutorial for HIGH ones like making a person LOL?

A"HIGH" tutorial for making a person? Search Google.

mattyd 89 Posting Maven Featured Poster

Where do I get tutroials on opengl

Search Google for "OpenGL tutorials"
Many choices should appear for you.

Or try this one:
http://www.eecs.tulane.edu/Terry/OpenGL/Introduction.html

mattyd 89 Posting Maven Featured Poster
Everyone ever think ok World of warcraft How they made it??? Well now is your chance for YOUR skills to come together in a MMORPG We will need information!!! I also Am wondering will C++ Work for A game or do I need some other skill???

Game programming is complex-- MMORPG's? Incredibly complex and something that is developed with an advanced team of programmers (average game builds usually are slated to last about 2-years, not including testing, marketing, etc)

Game programming can be rewarding and exciting but it can also be a severe challenge (and a headache at times).

Please check the following link for some interesting overviews of Game Development


http://gpwiki.org/

Regards.

mattyd 89 Posting Maven Featured Poster

>>And, I can simply call this from within the program when needed, say from the area it originally was located?

As long as it only gets called ONCE. Every time it is called it will reseed the random number generator

OK-- Thank-you -- will do.

mattyd 89 Posting Maven Featured Poster
two comments:  (1) srand() should only be called once throught the lifetime of the program.  Best place to put it is near the beginning of main() function.

And, I can simply call this from within the program when needed, say from the area it originally was located?

mattyd 89 Posting Maven Featured Poster

I knew what you meant-- I earned the basket weaving merit badge in Boy Scouts back in the day! :o :lol:

mattyd 89 Posting Maven Featured Poster

Ancient Dragon:

Cool. I will move and edit the RNG like said.

mattyd 89 Posting Maven Featured Poster

Tell him is is an idot and has no business trying to teach anything but maybe a basket weating course.

Ancient Dragon: LOL, yes, true! "basket weaving":lol:

mattyd 89 Posting Maven Featured Poster

(** This post was inspired by a recent post I read where a reply suggested the indenting of all code.)

I am guilty of this, I'll be honest. I know it is important to indent and indent properly, it is industry standard, and it is simply utilitarian.

I always think: "Well, I'll do that at the very end to all my files when the prog is complete." and I do, but, for instance, when I post here it would be much nicer for everyone to read and analyze including myself.

I had a influencial programming professor (Dept. Chair, actually) who would say:"Indenting? Nah, that's a waste of time-- I don't care if its all pretty. It just matters that it runs." And, of course, all the students listened to him on this matter (as opposed to the ultra-strict professor who graded heavily on indentation).

I wish to learn proper indentation practices and have them become a part of my real-time coding, as I write code, not as an end project before I finalize the build.

What do you think? I would like to hear all opinions on this subject, helpful hints, and suggestions.

Thanks.

mattyd 89 Posting Maven Featured Poster

Greetings:

A simple question that has me stuck: Program runs, calls function, function runs... Return to Main? This last area is where it fails. No errors, just no control returned to Main.cpp at end of function run. I've been studying the code much and researching the solution on the Net all day.

I swear there is one (1) too many "}" in Look.cpp, but it is not detected by the compiler. (?)

Any point in the right direction would be vastly appreciated-- I do not want the answer given to me directly at this point, I want to figure it out myself. Perhaps just a hint, a link to a relevant Web resource, etc?

Thank-you in advance, everyone.

Look.h

class Look {
public:
float shipPos ;  
float satPos; 
float interior; 

void printShipPos(); // new function declaration

Look(); 
~Look(); 
};

Main.cpp

#include <iostream>
#include "Look.h"
using namespace std;

 int choice;



int main()
{


    std::cout << "________________________________"<< endl;
    std::cout << ""<< endl;
    std::cout << "Welcome to Platform XYZ-- Please Enter a Number:"<< endl;
    std::cout << ""<< endl;
    std::cout << "[1]Check Location for Transmission to Base"<< endl;
    std::cout << "[2]Stub"<< endl;
    std::cout << ""<< endl;
    std::cout << "________________________________"<< endl;

    

    cin >> choice;

    Look look1; //** ERROR


    if(choice == 1){
        look1.printShipPos(); //** ERROR
    }
    else {
        std::cout << "OTHER! chosen (stub)"<< endl;
    }
    
    
    system("PAUSE");

return 0;
}

Look.cpp

#include <ctime> 
#include <cstdlib> 
#include <iostream>
#include "Look.h"
using namespace std;


int countFlag = 0;

Look::Look() {
} …
mattyd 89 Posting Maven Featured Poster

O and a word of adivce, my advice could lead to catastrophe:rolleyes: .

LOL-- Greetings and welcome Gaara --this is a great forum, informative and also fun.


Regards,
sharkey_machine

mattyd 89 Posting Maven Featured Poster

You know, you could just keep adding to the same thread and make a psuedo catalog of these things... ;)

WaltP, that's a good idea, yes. By the way, I love your sig LOL

mattyd 89 Posting Maven Featured Poster
mattyd 89 Posting Maven Featured Poster
mattyd 89 Posting Maven Featured Poster

I am planning to implement #include <time.h> in my program. I have never yet used this include. I will be using this in order to track a 24-hour period, or at least that is what I wish to do; I basically need to set up a natural 24-hour day that I will be able to access and use at different, undetermined points in time, like a standard, analog clock-- I will need to be able to "tell the time". I will be using this time (when accessed) in a control statement. It would be great if is simply a variable that I would be accessing or if it could be dumped into a variable for use.

I am not asking for help with the program (design, logic, etc). I simply am seeing if anyone would be kind enough to share any thoughts, warnings, hazards, or general concerns about using time.h in a C++ program. Perhaps time.h is the incorrect include for what I am seeking to do?

Thank-you in advance for any reply.

[EDIT] With further thought, the tracking of the 24-hours in a direct, static sense would only last for the life of the program at the most (?) The program runs -> Time data saved in a variable would be active here -> This data would be dumped at program end. I suppose I will somehow have to make use of the system time for this-- perhaps I will just have to simulate the 24-day …

mattyd 89 Posting Maven Featured Poster

Osbourne

Summer or Winter?

mattyd 89 Posting Maven Featured Poster
  • The Cure
  • The Sisters of Mercy
  • Iron Maiden (!)
  • FisherSpooner
  • Ian Brown (The Stone Roses)
  • Led Zeppelin
  • Pink Floyd
  • Coheed and Cambria
  • The Cult
  • Bolt Thrower
  • The Smiths (Morrissey)
  • The Beastie Boys
  • Rush
  • The Carpenters
  • Sonic Youth
  • Rammstein
  • My Chemical Romance
  • Anything from the 1980's!
mattyd 89 Posting Maven Featured Poster

I am always embarrassed opening Christmas presents. I always do it slowly and neatly, though. I believe the years of conditioning by older, female relatives to do so in order to save the paper for NEXT year has influenced this behavior but, then again, why would I open them in any other manner (<-- neatfreak, me)

mattyd 89 Posting Maven Featured Poster

How much longer until androids are as common as desktop PC's? Awesome-- I can't wait!


http://www.i-am-bored.com/bored_link.cfm?link_id=19284

mattyd 89 Posting Maven Featured Poster
mattyd 89 Posting Maven Featured Poster

I suppose one must have been of sufficient age in the 1980's to remember the 80's gaming scene. I was 10-years old in 1981.

What games do you remember from this era?(primarily I speak of arcade games as well as Atari game systems) What did you prefer and what did you absolutely obsess over?

  • I discovered Pac-Man which I was never good at (I'm stiil terrible at Pac-Man, LOL), then Ms. Pac-man. I obsessed over this game and remember riding my bike in a blizzard with one lone quarter to a little store just to play one time and lose within a minute or so.
  • Atari: I loved Atari and when my grandmother bought me one for Christmas (my parents refused to) I loved her even more. I got the game "Indiana Jones" and locked myself in my room for hours in search of a quest key to unlock something or other. Such terrible graphics and music! I recently got an emulator with this game and it sure brings back memories. Thanks grandma!

What is your fave(s)?

Arnold L.

mattyd 89 Posting Maven Featured Poster

-Fried plantains\ banannas

-Curried porkchops and homemade Nan bread

-Fresh mashed potatos and sauerkraut (I'm German)

-Vodka Penne Pasta (a local favorite)

-Anything Cuban, Vietnamese, or Indian

-Chocolate, chocolate, chocolate!

mattyd 89 Posting Maven Featured Poster

Thank-you, ~s.o.s.~. I will do this now.

mattyd 89 Posting Maven Featured Poster

OK, cool. You are a moderator, correct? Can you change the colors back to default for me? If you are unable to, can you please tell me (name) a moderator(s) that could. I would like to do this soon; since you pointed this out to me, the color formatting, etc, it really bothers me and I wish it to be normailized.

Please let me know when you have the chance.

Regards,
Arnold L.

mattyd 89 Posting Maven Featured Poster

Ok. But, it seems that the system will not allow me to edit previous posts (perhaps after a certain amount of time passes?) They appear locked without the "Edit" option. If you know of a way for me to do this or if I am missing something I will begin converting each colorized post back to its default formatting.

Thanks for pointing this out :)

mattyd 89 Posting Maven Featured Poster

~s.o.s~:

Do you think it would be wise that I return to these particular posts and reset them to their default formatting\ color? I think I should\ will.

Thanks,
Arnold L.

mattyd 89 Posting Maven Featured Poster

Hi:

Just colors such as:

Color (black)

Color (dark grey)

Color (light grey)

mattyd 89 Posting Maven Featured Poster

I have 30+ Google invites available; please e-mail me at nevermorenyc@yahoo.com if you would like one and I will add you.

mattyd 89 Posting Maven Featured Poster

Empire of the Sun