Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

125 Neutral

About Greatwolf

  • Rank
    Advanced Member
  1. [font="verdana, arial, helvetica, sans-serif"]I'm not sure how many of you are familiar with the stack-exchange Q&A sites eg. Stackoverflow but there's effort currently underway in starting a new stack-exchange that's dedicated for code review. You can find the proposal here.[/font] [font="verdana, arial, helvetica, sans-serif"] So if you're interested in telling other people why their code sucks ass and what they can do to make it suck less, commit to the proposal and help it get to beta. Oh and of course you can post your own code there too for critique. [/font] [font="verdana, arial, helvetica, sans-serif"] [/font]
  2. Hi guys, I'm using a state pattern for parsing a stream of bytes from a serial port and I'm running into a bit of problem implementing it. It seems that C++ doesn't count subclass as friends when you declare the base class as a friend. Now I've just checked the GoF Design patterns and it seems the sample code they show for the TCPconnection just makes the TCPState as friend and all the subclasses can work with TCPconnection's private members. But when I try to do this the compiler splits at me with an error, eg. member x is not accessible from class whatever. Seems the only way I could get this to work is to make each of the subclassed states a friend too. What am I missing here? Thanks
  3. thanks for the response all. Actually written it already but just wanted to ask to see if there was a function/method already available. Oh well no biggie Quote:Original post by Antheus *** Source Snippet Removed *** Although, in many cultures, this would have me burned at stake. Several times. omg, that is so clever. now why didn't I think of that. I could just add the dir /B switch and it'll list it in bare format ready to be processed. I'm gonna have to keep that in mind next time.
  4. Hi all, I'm looking for a way to get a file listing of all *.dll files in a folder. Is there a function in the win32 api for doing this? The closest I found is in the msdn with functions called FindFirstFile and FindNextFile. Is there a more direct way to do what I'm looking for or should I just use those? Using C++ btw Thanks
  5. Greatwolf

    Any Love Shy folks on here?

    Quote:Original post by matt_j LOL cute
  6. Greatwolf

    Any Love Shy folks on here?

    Well for those of us that fit this profile I would highly recommend you take a read at it when you have time. I personally found it to be profoundly insightful and what it says about me that I haven't even really considered before.
  7. Greatwolf

    Any Love Shy folks on here?

    Quote:Original post by Shai First read this. It makes you understand why people do the things they do. Then read this little piece of advice. Trust me, it'll seem familiar. Do yourself a favor and read this mailbag. Then be smart and subscribe to his mailbag and get his e-book. Yup, I already went through his material before already. Should probably have made a link to that on my original post. It does seem to work for me but I find it kind of difficult to maintain the type of persona that he's suggesting. Specifically, I'm not a spontaneous type of person. And I still have trouble going out and just going up to any woman and just start conversing with them. Quote:Original post by jsgcdude the author does focus on males, what about females, homosexuals, transgender people etc... Well the author did mention that this type of behavior is the most prominent and most debilitating amoungs the heterosexual male population. And the book was published 18 years ago so some of the stuff might be a bit dated but a lot of it still seems to hold true.
  8. Greatwolf

    Any Love Shy folks on here?

    because I found an ebook here that almost reads like it's describing me. It's almost kind of eery actually. There's probably a whole bunch of us here that has trouble meeting women and getting a gf judging from all the date seeking advice threads that's popped up in the past. So how many of us here actually fall into this stereotypical category? I also did a search for this on the forum but didn't turn any threads up that mentions this so just thought I'd bring this great book to everyone's attention and give it a read. The population of love-shy guys here are probably skewed so I'm betting it'll really help some of us out and give some insight on what's going on. Enjoy
  9. Greatwolf

    When is the search feature coming back?

    Quote:Search is temporarily disabled. Perhaps it's better to just say that the Search is permanently disabled until further notice.
  10. Greatwolf

    C++ class quetions

    it's because of circular inclusion. You might want to take a look at this article. :)
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!