Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
M

Michael Sadlon

@Michael Sadlon
About
Posts
59
Topics
2
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Need good obfuscator that won't break remoting...
    M Michael Sadlon

    Try Orean Software's TheMida. It's the all-in-one anti-debug, anti-dumper, obfuscator (through virtual machines), etc. Works on all x86 apps in basically any language. C++, Delphi, .NET, etc. I've been using it on compiled C++ executables and DLLs and I pretty much have no issues with it. I haven't come across anything really bad about it, just that it makes the exe or DLL larger. http://www.oreans.com/ Basically hacker-proof as well. If you're big on protecting your secrets, then this is it.

    The Lounge csharp wpf wcf json question

  • Who finds it first... [closed] : [modified]
    M Michael Sadlon

    That's why I use std::string.length :) (or was it length() :doh:)

    Clever Code com help

  • Objective-C
    M Michael Sadlon

    I don't see the large improvement. If the argument names matter so much, then do this:

    if (x.intersectsArc(
    35.0, //intersects Arc With Radius
    19.0, //centered At X
    23.0, //Y
    90.0, //from Angle
    120.0 //to Angle
    ))

    Otherwise, it looks like normal C to me. Am I missing something ingenius?

    The Lounge csharp learning c++ java delphi

  • My birthday today
    M Michael Sadlon

    That joke is GOOD :laugh: Got my 5.

    The Lounge tutorial testing beta-testing json question

  • Duh
    M Michael Sadlon

    You posted FACTS. 5 from me.

    The Back Room xml help question announcement

  • TIH
    M Michael Sadlon

    Great. Got to love Dune. :laugh:

    The Lounge

  • Making VC++ create only one object file?
    M Michael Sadlon

    It's not really an answer to your question, as I don't know how to do it, but you might give a try in the compiler / linker options. Might be able to customize the build rules for your project. Anyways, shouldn't you have used .h files in the first place :)? They do serve a purpose :P

    C / C++ / MFC c++ csharp database visual-studio

  • std::map but with multiple values for one key?
    M Michael Sadlon

    Multiple-key map Maps are a kind of associative containers that stores elements formed by the combination of a key value and a mapped value, much like map containers, but allowing different elements to have the same key value. From: http://www.cplusplus.com/reference/stl/multimap/[^] It should let you store multiple values per key, which is what you said you wanted. I've never used it myself, but it doesn't look much harder than a normal map. multi_hash_map is just the hash_map version of it :) It exists in the stdex namespace in the VC++ compiler only. Hope it helps!

    C / C++ / MFC c++ docker question

  • College Exam Impacts All of China
    M Michael Sadlon

    It was tutoring every weekend since middle school, so 7 years (if the system is similar to the USA). 12 years is for the 12-year school system, I believe :)

    The Back Room csharp html com tools question

  • What do you think about 1.0 votation without replies?
    M Michael Sadlon

    1 voters are just shy ;P

    The Back Room question discussion

  • Taken for a ride
    M Michael Sadlon

    Fun :-D

    The Lounge performance question announcement learning

  • Chetel
    M Michael Sadlon

    I need to use "Mouse Potato" in my day-to-day speech now :) Good one.

    The Lounge com

  • Microsoft owns Linux patents? What does this mean for open source?
    M Michael Sadlon

    The Linux zealots will tell you that it's all fake, all FUD, and just Microsoft's way to grow a monopoly. In my opinion, assuming at least some of the patents are valid, then they're protecting their patents from "free" software. Sure, I think most people will agree that the patent system is broken, but in some respects they deserve to defend what they own. I think Microsoft is trying to slowly enter the Open Source world, anyways. They already have an Open Source lab in Redmond. Maybe it's all part of some grand scheme.

    The Lounge linux sales question

  • Brings back memories [modified]
    M Michael Sadlon

    private bool isValid(int testValue, int minValue, int maxValue)
    {
    return ( (minValue <= testValue) && (testValue <= maxValue) );
    }

    Fixed :laugh:

    The Weird and The Wonderful

  • Brings back memories [modified]
    M Michael Sadlon

    Why, oh why? Use modulus, pleeaaassee :doh:

    The Weird and The Wonderful

  • std::map but with multiple values for one key?
    M Michael Sadlon

    There is multi_map and multi_hash_map.

    C / C++ / MFC c++ docker question

  • I'm a DLSC...you?
    M Michael Sadlon

    Your programmer personality type is: PLTB You're a Planner. You may be slow, but you'll usually find the best solution. If something's worth doing, it's worth doing right. You like coding at a Low level. You're from the old school of programming and believe that you should have an intimate relationship with the computer. You don't mind juggling registers around and spending hours getting a 5% performance increase in an algorithm. You work best in a Team. A good group is better than the sum of it's parts. The only thing better than a genius programmer is a cohesive group of genius programmers. You are a liBeral programmer. Programming is a complex task and you should use white space and comments as freely as possible to help simplify the task. We're not writing on paper anymore so we can take up as much room as we need. I disliked some of the questions. For example, I prefer C++ or even C++/CLI over straight Java or .NET, but I'm getting picky :) I still value performance and control, but I don't want to reinvent the wheel for everything either.

    The Lounge php css database com algorithms

  • 2012 Olympic logo
    M Michael Sadlon

    http://timworstall.typepad.com/timworstall/2007/06/lisa_simpson_gi.html 'nuff said.

    The Back Room com announcement

  • Random reboots
    M Michael Sadlon

    Run MEMTEST x86 :) Also, watch your CPU tempature / CPU fan RPMs while working. I once had a problem where after some time the power supply would lose charge and slowly the CPU fan would stop spinning. It eventually got so bad it only lasted 10 seconds a boot. The more I unplugged, the longer it ran, but never forever. New power supply solved everything.

    The Lounge help graphics hardware question announcement

  • the end of the world as we know it
    M Michael Sadlon

    I can agree with the tattoo limitation to keep a certain image in the AF. It's not an all-out tattoo ban. However, in my opinion, banning the pin-up art over people that "could" get offended, but haven't, is stretching it. I know feminists would say I am wrong, but it's a tradition of the airforce to paint pinups on their jets, and they should be able to do it as long as the airforce exists. Sexuality is a part of human nature, especially female human nature. Take who and what you are for who and what you are. I don't see people complaining when women use their sexual prowess to get what they want from men. My two cents. Call me sexist. I don't care.

    The Back Room com
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups