Suggestion for falcos next how to program video.
Moderator: Coders of Rage
Suggestion for falcos next how to program video.
Tell people to familiarize themselves with stl(standard template library) its a great place to start for c++.
"Criticism is something you can avoid easily by saying nothing, doing nothing, and being nothing. " - Aristotle
http://www.facebook.com/profile.php?id= ... ef=profile
http://www.facebook.com/profile.php?id= ... ef=profile
Re: Suggestion for falcos next how to program video.
what?Levio91 wrote:Tell people to familiarize themselves with stl(standard template library) its a great place to start for c++.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
Dad, "Yea well I have a fan belt in street fighting"
- cypher1554R
- Chaos Rift Demigod
- Posts: 1124
- Joined: Sun Jun 22, 2008 5:06 pm
Re: Suggestion for falcos next how to program video.
I was laughing for 5 minutes xDavansc wrote:what?Levio91 wrote:Tell people to familiarize themselves with stl(standard template library) its a great place to start for c++.
I imagined you saying that by animating your avatar picture in my head..
Re: Suggestion for falcos next how to program video.
lolzcypher1554R wrote:I was laughing for 5 minutes xDavansc wrote:what?Levio91 wrote:Tell people to familiarize themselves with stl(standard template library) its a great place to start for c++.
I imagined you saying that by animating your avatar picture in my head..
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
Dad, "Yea well I have a fan belt in street fighting"
- MarauderIIC
- Respected Programmer
- Posts: 3406
- Joined: Sat Jul 10, 2004 3:05 pm
- Location: Maryland, USA
Re: Suggestion for falcos next how to program video.
What do you mean, what? STL has a bunch of useful things that make your life easier, and professors tend to not cover it, and intro classes tend to not mention it at all.avansc wrote:what?
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
Re: Suggestion for falcos next how to program video.
two reasons i say what for.MarauderIIC wrote:What do you mean, what? STL has a bunch of useful things that make your life easier, and professors tend to not cover it, and intro classes tend to not mention it at all.avansc wrote:what?
1. its not a good place to start for C++ (that was my main reason)
2. as a C programmer i tend to look down on certain STL things. if it was used responsibly it be fine, but people will just use it all the time even if they dont know the mechanics behind it. the name STL is a oxymoron, because its not standard. STL has numerous design issues that just make it unacceptable for for someone serious about their software to use. there are even things in the STL like copy_if that was just left out because of oversight()may have changed. its inefficient that you cant choose memory from the pools you want.
STL tries to do what java does. and i guess its fine, but its sub standard to me at least. and is not accepted in the industry.
there is nothing STL can do beter than what a decent coder can.
edit: i was in a foul mood last night so this is probably a hard evaluation. STL has its place. but i always recommend knowing how to do things yourself if need be.
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
Dad, "Yea well I have a fan belt in street fighting"
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: Suggestion for falcos next how to program video.
In our project, we use STL extremely sparingly. It isn't something that a console developer should rely heavily on.
- programmerinprogress
- Chaos Rift Devotee
- Posts: 632
- Joined: Wed Oct 29, 2008 7:31 am
- Current Project: some crazy stuff, i'll tell soon :-)
- Favorite Gaming Platforms: PC
- Programming Language of Choice: C++!
- Location: The UK
- Contact:
Re: Suggestion for falcos next how to program video.
yeah... I guess if you're able to create your own data structures, you're able to control every property/attribute that they have, and your cutting away the extra 'fat' you would get with an STL object.
could be a valuable learning experience to create your own templates, rather than rely on what is commonly provided for you in any ANSI compliant/standardised compiler/IDE.
but hey, what do I know?
could be a valuable learning experience to create your own templates, rather than rely on what is commonly provided for you in any ANSI compliant/standardised compiler/IDE.
but hey, what do I know?
---------------------------------------------------------------------------------------
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D
I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
I think I can program pretty well, it's my compiler that needs convincing!
---------------------------------------------------------------------------------------
And now a joke to lighten to mood :D
I wander what programming language anakin skywalker used to program C3-PO's AI back on tatooine? my guess is Jawa :P
Re: Suggestion for falcos next how to program video.
stl is not standardized by everyone, if it was it would be alot safer/beter to use.programmerinprogress wrote:yeah... I guess if you're able to create your own data structures, you're able to control every property/attribute that they have, and your cutting away the extra 'fat' you would get with an STL object.
could be a valuable learning experience to create your own templates, rather than rely on what is commonly provided for you in any ANSI compliant/standardised compiler/IDE.
but hey, what do I know?
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
Dad, "Yea well I have a fan belt in street fighting"
- Falco Girgis
- Elysian Shadows Team
- Posts: 10294
- Joined: Thu May 20, 2004 2:04 pm
- Current Project: Elysian Shadows
- Favorite Gaming Platforms: Dreamcast, SNES, NES
- Programming Language of Choice: C/++
- Location: Studio Vorbis, AL
- Contact:
Re: Suggestion for falcos next how to program video.
Yeah, I agree. Actually, that's what my CPE212 class made you do, just because it was such a good exercise.programmerinprogress wrote:could be a valuable learning experience to create your own templates, rather than rely on what is commonly provided for you in any ANSI compliant/standardised compiler/IDE.
You learn not only templates, but data structures as well. I agree.
Re: Suggestion for falcos next how to program video.
Honestly, I dislike using STL for many things...I tend to write my own custom classes for what-ever best suits my program.
Though i guess if you're just all about quickly producing usable code, stl definitely has its place. And I will agree it's good to know what it has to offer.
Honestly, I'm not so sure how a beginner would respond to looking through stl, though using it may be beneficial to help understand the broad picture of programming logic. Example, using stl's queue classes is very simple, but writing your own would require knowledge over templates, pointers, typecasting, etc. Using stl, one may not be able to write his own queue or understand how it actually works, be he would be able to find practical uses for it and understand when he'd want one.
Not sure if it's a fair analogy...Hopefully you get the point.
Though i guess if you're just all about quickly producing usable code, stl definitely has its place. And I will agree it's good to know what it has to offer.
Honestly, I'm not so sure how a beginner would respond to looking through stl, though using it may be beneficial to help understand the broad picture of programming logic. Example, using stl's queue classes is very simple, but writing your own would require knowledge over templates, pointers, typecasting, etc. Using stl, one may not be able to write his own queue or understand how it actually works, be he would be able to find practical uses for it and understand when he'd want one.
Not sure if it's a fair analogy...Hopefully you get the point.
<qpHalcy0n> decided to paint the office, now i'm high and my hands hurt
- cypher1554R
- Chaos Rift Demigod
- Posts: 1124
- Joined: Sun Jun 22, 2008 5:06 pm
Re: Suggestion for falcos next how to program video.
I'm a kind of guy: "If somebody already did something, why should I do it again.." And use stl whenever I need to.. And that's pretty much always :P
Making my own low level code takes away from the hi-level dev. The stl code is efficient enough to not make me bother about it.
Making my own low level code takes away from the hi-level dev. The stl code is efficient enough to not make me bother about it.
- MarauderIIC
- Respected Programmer
- Posts: 3406
- Joined: Sat Jul 10, 2004 3:05 pm
- Location: Maryland, USA
Re: Suggestion for falcos next how to program video.
[quote="cypher1554R"Making my own low level code takes away from the hi-level dev. The stl code is efficient enough to not make me bother about it.[/quote]Start building your own library of code to include in projects and stuff
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
- ultimatedragoon69
- Chaos Rift Regular
- Posts: 122
- Joined: Tue Oct 28, 2008 1:57 pm
- Current Project: Pangea's quest (text ~tile~ based rpg)
- Favorite Gaming Platforms: Dreamcast, PC, playstation 1, Virtual Boy, Snes
- Programming Language of Choice: c++
- Contact:
Re: Suggestion for falcos next how to program video.
i agree with keeping your own library of code even if there is a copy of almost the same code out there at least your using your code ontop of that i think if you made the code yourself then it would be easier to just grab at any psuedo random time.
- Moosader
- Game Developer
- Posts: 1081
- Joined: Wed May 07, 2008 12:29 am
- Current Project: Find out at: http://www.youtube.com/coderrach
- Favorite Gaming Platforms: PC, NES, SNES, PS2, PS1, DS, PSP, X360, WII
- Programming Language of Choice: C++
- Location: Kansas City
- Contact:
Re: Suggestion for falcos next how to program video.
I'm not familiar with any standard library things like stacks at all. o_o!Levio91 wrote:Tell people to familiarize themselves with stl(standard template library) its a great place to start for c++.
Real men write their own stack classes.