« first day (414 days earlier)      last day (4532 days later) » 

12:00 AM
@sbi Oh yeah, it seemed about 50-60% of all the programming books were somehow related to C#.
 
user457812
The main problems I had were 1) it's basically got the same problems as Java and 2) working with libraries that weren't originally made in C# is a royal pain in the ass.
 
user457812
I guess #2 falls under #1 as well, but it's a big one for me.
 
It has bit less problems than Java.
 
@sbi I've seen that before. I'll add a link
 
12:01 AM
@CatPlusPlus come on now, you meant fewer problems. Shame on you. :)
 
user457812
@CatPlusPlus Yeah, but that's not really saying a whole lot.
 
Me no native.
I speak my own, perfect language.
@nil Well, I'd pick C# over Java any day.
 
user457812
Brainfuck?
 
If those were my only choices.
 
user457812
Same, but thankfully they aren't my only choices.
 
sbi
12:03 AM
@keithlayne 90% of all C++ books are crap. You need to really know the 10% that are good in order to not to buy crap.
 
@sbi Ahh, the SO Book FAQ link needs to go in the FPAs. I never have that link when I need it!
 
@sbi I already knew some, but trust me, I have paid attention to your FAQ book list. The only one I ever owned that was any good was Stroustup's C++ book from back in the day, but it was a paperback and I wore it out.
 
@sbi thanks -- where's the book thing?
Ah, found it on page 2
 
@sbi it's just sad to me to walk into a huge multi-story bookstore (no pun intended) and to find almost nothing worth reading for any programming language.
 
12:09 AM
@keithlayne At that point you understand why C# appeals :-)
 
It has more boring books?
 
@CatPlusPlus No, but its "easy" nature appeals to people who are represented (or at least targeted) by the majority of books.
 
sbi
@CatPlusPlus When it comes to programing books, you probably are best advised to keep your moth firmly shut.
 
Here's someone who has "a unique problem". Poor guy.
 
user457812
I'm surprised that I don't see a lot of books on Objective-C. Especially what with the whole get-rich-quick scheme that seems to surround iPhone stuff.
 
12:13 AM
I don't have any moths.
 
0
Q: new and delete in C program

user1035927I have the following algorithm to implement new in C void* operator new(unsigned int s) { // allocate and align storage of size s // handle failure via exception // return pointer to storage } I have the following implementation...

WTPF? In C?
 
I am definitely missing something...I really don't see how Java has survived for the last 15-16 years. I know that there are actually a lot of smart folks working at MS, so I doubt C# is going anywhere soon, especially with their "strategy" for this kind of thing.
I really don't think MS has its smartest monkeys banging away on C# typewriters.
 
BTW, do PHP arrays still retain iteration state?
 
It's too bad they didn't call it C$..."c-money" would sound OG
@nil I actually saw a bunch of IOS/ipad/iphone books today. I really don't know a whole lot about Objective-C, and I have no idea why they would make the decision to go that way, except for maybe Jobs's obsession with it.
 
@keithlayne That might accidentally open your network share.
 
user457812
12:19 AM
@keithlayne Well, I personally like Obj-C and I could run off a whole bunch of stupid reasons I like it, but I would guess it's just because Apple controls the language.
 
@KerrekSB maybe I should make a non-windows programming language with that name....
 
user457812
They have free reign to make whatever improvements/bad decisions they want, so they're not at the mercy of anyone other than themselves in that respect.
 
@nil I've read only the teensiest bit about it, but does Apple really control the specification?
 
user457812
There's a specification?
 
user457812
If there is, I'm pretty sure they ignore it
 
user457812
12:22 AM
Well, assuming a specification outside of Apple, anyway.
 
it's kinda hard to compile a language with predictable results if you ignore the language specification.
 
user457812
I'm sure they've got one they made themselves, which they follow and control. Considering it's Apple and they're the only ones really using the language, I'd assume they have complete control over the language.
 
@nil yeah, I was reading up a little, I see no mention of a published specification...maybe I'm not looking hard enough, but I think all valid C is legal.
 
user457812
Apple makes sure Obj-C is a perfect superset of C, so it doesn't interfere with anything in that way.
 
user457812
If it broke anything, it'd just make things painful for the people who have to use it.
 
12:30 AM
@nil Isn't ObjC a superset of C?
 
user457812
Er, yeah, superset
 
yes its a superset
 
user457812
Thanks for correcting me
 
user457812
I don't feel like feeding myself properly tonight.. I believe this calls for pizza.
 
@nil don't forget the beer
 
user457812
12:34 AM
I don't drink alcoholic stuff, so it'll probably be rootbeer
 
@nil rootbeer is awesome. You didn't go to the ball game?
 
user457812
Was there a ball game? Or is that a euphemism?
 
I made a C++ wrapper for mcrypt. Encryption made quick and easy!
 
@nil dude, don't you go to BSU? THe one with the blue turf? THey're stomping the snot of of NMSU right now.
 
user457812
I do, but I have no interest in our sports stuff.
 
user457812
12:40 AM
Especially not during finals.
 
@nil to each his own, I didn't realize it was finals time already. Good luck with that.
 
hi
 
@KerrekSB I cannot support your mcrypt wrapper class. There is a total lack of trigraphery, which is essential to mcryptic code.
 
@keithlayne My apologies.
 
@KerrekSB seriously, does it fail when you call mcrypt_module_open() with a immutable string?
 
12:51 AM
@keithlayne It just doesn't compile. Stupid function is declared with char*.
I may have been overly zealous with my copy-to-vector, though.
I think we concluded that &s[0] is fine. I was only flummoxed by s.data(), which is a const char *.
I have an unresolved fear of the address-of operator.
 
a perfectly rational fear
 
@KerrekSB I would think in the grand scheme of things that the copy-to-vector won't hurt anything at all.
@KerrekSB well, &s[0] is one of those times that you can't beat a vector
 
vector is just so efficient!
 
@johnathon I imagine vector and string are entirely identical in this context.
Note that we're only passing four-letter words around for the algo and mode...
and 16-byte strings for the cipher blocks typically
 
@Kerrek SB strings would be more efficient in that case, especially with vs , small string optimizations
 
12:57 AM
FVS is my new catchphrase, along with FML, WTF, and FTW. has been elevated to fancy tag status.
 
yes, small string optimization is a big win in this case
 
@keithlayne Favour Virtual Studios?
 
@KerrekSB not so much. And if you're writing silly things, like that, then you should spell 'favor' like a silly Merkin.
 
@DeadMG Maybe some tuning is in order for that class. It's not intended for high throughput, though, but rather for ease of use. Sometimes you come across some encrypted junk and just want to decrypt a bit.
@keithlayne You should provide a dictionary then!
 
@KerrekSB really? My guess was that runtime would be dominated by the mcrypt stuff...it's encryption, after all. Am I wrong?
 
1:00 AM
@DeadMG: Someone is beating you to the finish line regarding WideC!
@keithlayne I have no idea, I never profiled it. Yeah, probably, decrypting a 16B block should take longer than copying it.
@keithlayne Wait, I have to copy the encryption data anyway, because it's modified in-place.
It's only for the initial setup where the mutable-char thing is a nuisance.
 
@KerrekSB I guess I shouldn't make that assumption. It makes an ass out of umption.
 
Well, and I could probably elide the final copy by putting everything into a string right away and returning that by move
 
@Kerrek SB ya know that's something I've never looked into, the big n of certain encryption algorithms that i use often... might be worth the time to.. though i doubt there's anything i could do to improve apon the efficiency.
 
@johnathon I don't think asymptotics are the right thing to look at. After all, every block cipher just permutes one block at a time
You can just compare straight-up computation times. How long does it take to encrypt one block?
(perhaps normalized by block sizes, if you're looking at several algorithms)
 
@KerrekSB what is the standard way to crap out if your compiler doesn't do C++0x/11? Is there a general #ifdef whatever #error poo combination?
 
1:07 AM
@Kerrek SB no idea. i'd have to time it. I can honestly say though i haven't noticed a significant amount of cpu time spent on any particular algorithm that i use, which is mainly md5 to base64 string
@keith.layne which compiler are you using?
 
@KerrekSB How do you mean? I don't see the connection
 
@KerrekSB I was curious if there was a portable way...maybe cplusplus define value?
I read g++ had a fix to set that correctly...to like 201104L or something (for 0x/11 compilation)
 
:)>-
 
@johnathon my bad, I can't read
 
@keithlayne That's compounded by GCC not implementing __cplusplus correctly.
@johnathon To measure you'd just have to run the encryption on one fixed block for millions of times and then compare algorithms.
 
1:12 AM
@johnathon I use gcc/g++ mostly except on rare occasions when my wife gets off facebook on the Windows machine.
@KerrekSB you obviously missed my two invisible underscores.
 
@keithlayne Oh OK. Wait, only __cplusplus is defined to have any given value at all, non?
In C, is it true that f(void){} is the same as f(){}, but f(void); is different from f();?
 
@KerrekSB you're the expert here, I'm just a dumb merkin. I have no clue, but I know g++ at least in 4.7 or 4.6 now had it in the changelog to correct that flaw
not sure where I read that
There's nothing awesomer than compiling Qt or GCC or something on a three-year old netbook when your wife is sitting next to you rocking 4 cores of Facebook power.
 
@keithlayne The question is (in the context of my answer here) about prototypes vs declarations. A function definition is automatically also a declaration and a prototype, so in the definition (int f(){}), the prototype says "no arguments".
On the other hand, int f(); is just a declaration, which says "f can have any arguments", while int f(void); is a prototype which says "f has no arguments".
 
from http://gcc.gnu.org/gcc-4.7/changes.html:
> G++ now sets the predefined macro __cplusplus to the correct value, 199711L for C++98/03, and 201103L for C++11.
 
@keithlayne Yeah, I know, that was a long-standing bug! But they had their reasons.
(Yay for may zeros in the rep :-))
 
1:21 AM
@KerrekSB I didn't know the C question was for me...
 
@keithlayne It wasn't :-)
 
K&R forever, bitches
@KerrekSB seriously, old-school C declarations and definitions were very difficult to read for me.
 
@keithlayne It's an embarrassing little bug, but apparently it had far-reaching ramifications...
@keithlayne I'm not sure why the distinction was even necessary
 
so is that the answer to the question long ago? CPP check against the value of __cplusplus and #error if you know that the compiler can't hack your fancy c++11? Or will the compiler be smart enough to write some sensible error message in general?
 
District 9 is hilarious
 
1:28 AM
You could ask an SO question for a construct that can distinguish the two!
 
and I'm only like 15 minutes in
 
@DeadMG Into what?
 
District 9
 
@DeadMG Oh... OK...
OK, question: can you make a typetrait such that CPP::value will be true in C++11 and false otherwise? Not using the preprocessor?
 
there was a question about this and it can be done
how, I don't recall
 
1:53 AM
Poor guy's code "is not working". Hm.
 
@KerrekSB why would I ask a question on SO? Then I would run the risk of you making fun of it here.
@KerrekSB I only ask here because you guys are most likely to know off the top of your head. I can look stuff up too you know. :)
 
@keithlayne Not if it's a good question. I'm dying to cast some votes on questions.
 
@KerrekSB I have asked exactly one question ever on SO, and in retrospect it wasn't that good, and probably didn't belong on SO.
 
@keithlayne It seems to have got some nice attention.
 
@KerrekSB ...mostly explaining to me gently that it was kind of a dumb question.
 
Xeo
2:00 AM
@CatPlusPlus The implementation of a C++ deque is pretty awesome
 
@keithlayne Ah, I see. I don't understand any of the material, so I couldn't tell.
@Xeo Yay for deque.
 
Xeo
Omg
Fuck it. Even 1gig memory ain't enough to link clang on my vbox -.-
 
@KerrekSB I'll let you know if I ever think of something good to ask.
 
@keithlayne No, don't tell me, just ask the question! :-)
 
> Nope, it's working fine. – Kerrek SB
Ha
@KerrekSB That's what I meant, I will ask on SO and tag it so that the smoke signal goes up immediately.
 
2:11 AM
@keithlayne I deleted the comment -- I actually didn't spot the unqualified inner dimension.
Once the OP posted the error message (jubilations), it was obvious.
I allowed my ire at the incomplete question to cloud my judgement of the incomplete type.
@keithlayne That would make me feel all sorts of wrong.
 
@KerrekSB you are hilarious in a way I've rarely encountered
 
Yes, we have a winner:
0
Q: How to enclose all words in a string with a html tag?

andufoI need to enclose every single word that is at least 2 chars in length, in a string between a span tag. All question marks, punctuation, etc, should be left outside the spans (they must only hold a-z and also special characters as ñ,á,é, etc). So, this: Prenda de vestir que se ajusta? A la cint...

 
i'd like to be able to say length(km(42)) or length(m(42))
but i'd also like to say length(0)
how would you go about that?
 
@wilhelmtell are the constant suffix thingies (I forget the name) not supported yet?
 
i don't want to allow length(42) because that'd be meaningless.
 
2:20 AM
@wilhelmtell add length(null_type);
And define null_type somehow.
Hm, maybe that doesn't make sense.
 
@KerrekSB i was thinking about something like that, but wasn't sure how evil that'd be
 
sounds like you should do some sweet template metaprogramming to make a complicated dimensional analysis possible :)
 
like, accept some internal pointer type
or something
 
@wilhelmtell No, I don't think it can work, because you cannot cast based on value, only based on type.
That's why they had to add this whole nullptr shebang
Oh.
 
Xeo
template<class M>
length(M const& m){
  size_t len = m.get_length();
  // use it...
}

length(int* zero){
  assert(zero == 0);
}
 
2:22 AM
Accept length(nullptr_t)!
 
Xeo
and implement get_length in your measure structs of course :P
 
Because the literal 0 is convertible to nullptr.
 
Xeo
@KerrekSB That would be better, yes.
 
@Xeo Yes, that, only in less word
I remember now the video with Herb Sutter in which he explains how deep the ramifications of nullptr go
It's far more than just a macro
(Well, it isn't a macro.)
 
why will an explicit for the m and km constructors not work?
 
2:24 AM
Now C++ is becoming more like CSS!
border-width: 1; /* error */, but border-width: 0; /* OK */.
 
Xeo
wait, what?
Should that be subtraction or an identifier?
 
is it ok if i take a void* ?
 
Xeo
would also work, but nullptr_t would be better
 
you mean of c++11?
 
Xeo
Because it simply fails to compile if you give it anything other than nullptr and 0
yeah
 
2:28 AM
that's friggin brilliant!
 
@Xeo You mean the CSS? It's a "property".
@wilhelmtell Like much of C++11!
 
Xeo
Oh, I thought that was C++ code :P
Bitfields and stuff
 
@Xeo Haha. Polyglot programming! Write source code that's also nicely styled!
 
Xeo
Source that styles itself!
 
This source code is not just a multi-threaded game server, it's also its own web interface!
 
Xeo
2:32 AM
the cool thing is, it could work with whitespace
:D
 
Injection attacks may either cause the background to turn purple or the database to perform a backup.
 
This is my town's website :/
Animated gifs, scrolling marquees and badly stretched images. They're overdoing it.
 
@StackedCrooked They make more than up for it through the sheer abundance of attractive people.
 
Xeo
@StackedCrooked Offer them to fix their website for some good money. :P
 
@Xeo I know a few people who're much more talented at web development than I am. I ask tell them.
@KerrekSB What attractive people? :p
 
2:44 AM
@StackedCrooked you can't form a government because everyone's having epileptic fits from looking at that web site
 
One of the people on the front page is actually an astronaut. Lol.
Local pride :D
 
@StackedCrooked there are definitely boobies on that page.
 
I see it now. Don't know the name of this person though.
 
Xeo
Btw @Stacked, are you watching Fate/Zero?
 
@Xeo decided to wait until it has finished airing.
 
Xeo
2:47 AM
heh
 
Don't like the waiting.
 
Xeo
It's way too awesome to stop watching.
 
Still have to finish Carnival Phantasm. Also watching Full Moon o sagashite currently. And I have Mawaru Penguindrum lined up.
Btw I did watch Nanoha A's, I liked it.
 
It's easier to wait when you're watching 10 things in one season... :)
 
Xeo
@StackedCrooked As is the best season according to most. I really like StrikerS though, even if it drags on a bit in the beginning, the end is just pure awesome (Nanoha Fanboy here)
 
2:52 AM
@Mysticial True. I was following many series first half of the year. But there's the risk that I loose interest and don't finish them. I still haven't bothered watching the last episode of 'Ano hi'.
 
Ano hana definitely drags on. It doesn't get good until like episode 9 or so...
 
Read a negative review of StrikerS and didn't feel inclined to watch it then. Perhaps I should reconsider.
 
Xeo
Definitly.
 
StrikerS is quite different from the first two seasons
 
Xeo
It's just that 26 episodes is pretty long, especially if the first 15 or so deal with character development
Also, did you watch the movie?
 
2:55 AM
especially if you've gotten used to the the main characters being kids
I've watched the first movie
I don't think the second one is out quite yet...
 
Xeo
@Mysticial That was the biggest let-down for some, I didn't mind too much, because the fights were still good
@Mysticial Yeah, it's due autumn 2012 I think
Then another year until BDs
 
lolz
 
Xeo
so about 2 1/2 years from now for it to get subbed :D
 
what kills me more are the songs that never get singles released
 
Fansubs don't take so long.
 
2:58 AM
Well, not all OPs and EDs get singles released
as well as insert songs
The best example I can think of is the ED for the last episode of Valkyria Chronicles
 
What's OP and ED again?
 
Opening and Ending songs
 
There's a few good OP/ED songs that I frequently lookup on Youtube.
I liked the music that played during the "next episode" previews in Nanoha A's.
 
You can download the soundtracks...
 
It reminds me of a computer game where you see the score counters incrementing after successfully completing a mission.
 
Xeo
3:08 AM
Touhou OST ♥
 
@Xeo Unusual combinations :)
 
Have you heard the OP for Mirai Nikki this season?
 
concepts seem really useful, I wonder why they didn't make it into C++11
 
@SethCarnegie I think they just couldn't make it work
I mean, they didn't want to delay for another 3 years
 
Doesn't seem like it would take 3 years to do that, but I guess you have to stop somewhere
 
3:22 AM
I read that g++ had a branch to develop a "superior implementation" or something, but it fizzled, I guess when concepts got dropped
 
Yeah and there is a lot of new stuff in the language already so it's better to wait and see how that goes.
 
@SethCarnegie I'm kinda guessing, but I think it was at least three or four consecutive years that we were hoping for a new standard
and I think concepts were a big part of the delay
 
They probably also saw thta they were giving implementers a lot of stuff to do already
g++ having C++11 features that MSVC 2010 didn't have is one of the reasons I use linux now
 
I guess the good thing is that the implementers got a head start with all the drafts
 
Glad it's finally here. My co-workers don't seem to know about it. They frown when I mention move constructors.
 
3:24 AM
high five
the more I read about MSVC releases the more I can't believe what I read
I know they're probably really itching to get the stuff out the door, but I don't think MS intends to implement all the features for several years
 
The main thing I needed was variadic templates
I was disappointed when the vs11 dev preview didn't have them
 
...
@StackedCrooked you made me think of Belgian waffles. I'm hungry now.
 
Xeo
Ooooh, Fate/Zero 10 finished loading ♥
 
@keithlayne How did I manage to make you think of Belgian waffles?
 
Because I know you're Belgique
 
3:31 AM
Fate/Zero 10's been out for a while already, I've been waiting for my subgroup though - which tends to be a bit slower.
 
and that triggered some unconscious breakfast craving at 2230
 
Xeo
@Mysticial You're not watching UTW's subs?
 
I am actually. Commie usually beats them by a day or two... But I wait for UTW anyway.
 
Xeo
yeah, and UTW is out already
 
I've already downloaded it, but I've also queued up about 5 episodes of other things over the week which I haven't watched yet.
 
Xeo
3:35 AM
heh
I'm only watching F/Z and Carnival Phantasm this season
Don't have time for anything else
Okay, clang is linking since an hour or so...
 
That's what multiple monitors are for... watch and work at the same time...
:P
When I started watching Carnival Phantasm, I basically stopped after ep1 and marathoned Shingetsutan Tsukihime just so I get all the jokes... lol
 
Xeo
heh
Would've been better if you played Tsukihime and F/SN. :P
GRAAAAAAAAAARGH
llvm[4]: Linking Debug+Asserts executable clang
collect2: ld terminated with signal 9 [Killed]
So, clang takes over an hour to link, but fails with a killsig.
Fuck that.
 
I haven't played any of the games... I'm afraid to get into them. Though I'd imagine it's harder to find them subbed.
 
Xeo
@Mysticial F/SN and Tsukihime have full translation patches available
 
ah...
 
3:44 AM
STL recommends The C++ Standard Library: A Tutorial and Reference but I think it is too old to include algorithms that accept lambdas and stuff
is there an STL reference/guide that has been written since C++0x
 
uh
 
yeah...the standard
 
all existing function object algorithms accept lambdas
 
not to be a smartass, but it's all there
 
I've seen github.com/cplusplus/draft but it looks like you have to compile it with tex or something which it would be a hassle to do
for me
 
Xeo
3:51 AM
Well, you can buy the standard. :P
 
@Xeo: I'll probably stay away from the Anime games for a while. My gaming habits aren't too different from Keima from Kami Nomi.
 
I don't have the money to spend on it :(
 
Xeo
@Mysticial Oh, don't worry about that, nobody can be like the God of Conquest himself. :P
 
@SethCarnegie you can find draft copies out there....later drafts all but identical to the final
that's what i use....caue fuck if i'm gonna spend $400 on a copy of the official standard
 
@Xeo: hehe... that's a good show... "I'm your husband's illegitimate child!"
I have a Japanese friend who watches raws. When I told him that line he was like - "dude, I wanna hear what it is in Japanese"... Something had to have been lost in the translation...
 
3:58 AM
@cHao ok, I guess I'll try to find the magic combo of search terms for google to yield a copy :)
 
Xeo
@Mysticial No, it seems to be that exact sentence. :P The manga has it too
 
Really? nearly word for word?
 
@SethCarnegie include 'torrent'
 
@cHao yeah saw that one, am searching for a more up to date version
 
Xeo
4:01 AM
@SethCarnegie That's the last publicly available paper, there was one before that (more up-to-date), but it was so close to the standard, it was taken off
 
ah that sucks
 
Xeo
There was a time where you could get it and many of us are glad they did :)
 
and many of us are sad we didn't
 
You can try again next time.
 
ah, I think I found a download of the latest one
2011-09-01 yeah
 
4:06 AM
link? :)
 
well its a torrent
are we allowed to link torrents
 
@SethCarnegie Just run pdflatex as you're supposed to...
 
@Kerrek Not on linux now
 
Just remove the draft option.
Ah, now I can reformat it to A4 paper.
Only two editorial changes since publication...
 
Wow, never knew about #line directive...
 
4:11 AM
Ah, new undefined behaviour added.
 
ha
I love that C++ knows about threading now
 
Xeo
4:30 AM
Haa, I love the Fate/Zero OP
 
4:42 AM
Is the github source different from N3242? I built it but somehow didn't have the chapter etc. structure or cross references. I must have skipped a step.
plus, installing all the tex fonts and extras almost ran my poor netbook out of disk :(
@SethCarnegie sorry to be a smartass and then disappear, but if I get it built tonight (assuming that the git source is different from N3242) I'll let you know and get it to you somehow.
I don't see a license in the draft source tree...can someone shed some light here?
I was thinking of writing my first android app...a quickly indexable version of the standard to run on my tablet. Could be handy...or stupid.
 
 
2 hours later…
Xeo
6:27 AM
Yay, I finally got clang to link after making all my memory available to vbox. total usage was at 92%
 
party on
 
lol
 
How much memory did it take? The most I've hit was 3GB for simultaneously compiling a 200k line program for 7 different ISAs using the Intel Compiler. It took like 10+ minutes too...
 
Xeo
1.84gig, and like half an hour or sth like that
You know, there seem to be many bracket validator questions on SO tonight..
 
Xeo
6:48 AM
@Mysticial: Still, that's all on a virtual box, so no wonder it takes longer
 
Performance on a VM shouldn't be affected too much if you have the hardware acceleration on it. Nearly all chips for the past like 4+ years have it now. Though I think they are sometimes disabled in laptops.
Also, in my case, I was doing 7 independent compilations at the same time. So it was parallelized.
 
7:05 AM
how does hardware acceleration work?
 
http://en.wikipedia.org/wiki/X86_virtualization

Though I'll admit that I don't use VMs very often since I have enough machines where I can boot them into different OS's and SSH them into each other.
 
7:20 AM
Goddamn singletons. Shiny but deadly.
 
7:37 AM
@SethCarnegie I built the pdf again, still no bookmarks for the sections...I feel dumb. Looks like pdflatex is doing everything it's supposed to, but no love.
 
 
1 hour later…
8:45 AM
Hi All, could one of u point me to some practice exercises for c++?
which involves fair use of programming with classes, shared pointers and so on.theoretically i m strong.but i need practice..I need to code
 
@JackBauer If you don't understand classes you shouldn't be using shared pointers. Even if you do understand them you shouldn't be using them.
 
9:21 AM
@Pubby:oops..i see.
@Pubby
@Pubby: I do understand classes.Just not confident about building things with them..any suggestions?
 
@JackBauer What do you mean?
 
@Pubby: I am searching for programming exercises to implement..any pointers on where i can find them?
@Pubby: Google is just to huge..i need expert suggestions :-)
 
@JackBauer Make a video game
 
@Pubby: good.let me try that. libraries? links? what kind of game?
@Pubby: Hope u re not kidding me..:-) i really am looking to get my hands dirty with C++ app/game
i ll b back in few mins
 
@JackBauer You should decide these things yourself. Pick your favorite simple game and remake it.
 
Xeo
9:33 AM
This is from a file in my Code/docs dir called "Gamedev Ladders":
* "Guess the number" / Hangman (basic interface, select data from a database)
* Tic-Tac-Toe / Rock-Paper-Scissors (turn-based gameplay, opponent AI)
* Arkanoid / Pong (collisions, stable frame rate, score, levels)
* Tetris (data structures and how they relate to gaming)
* 1942 / Shoot-em-up (enemies, bullets)
* simple platformer / pinball game if your engine does platformers (gravity-based collisions)
* Bomberman / Pacman (tile-based movement, complex enemy AI)
* Two-player game of any of the types above (two player inputs)
 
@Xeo So "Guess the number" is top tier?
 
Xeo
lol, nah
it goes top -> bottom
 
So it's a gamedev slide?
 
Xeo
instead of cat gamedev_ladders go with tac gamedev_ladders :P
I love how backwards cat actually prints the text backwards (line-oriented)
 
9:49 AM
lol
 
Morning
 

« first day (414 days earlier)      last day (4532 days later) »