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
C

cefarix

@cefarix
About
Posts
16
Topics
5
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How old were you when you first wrote a line of code ?
    C cefarix

    8, it was '95 or '96 and I found a couple books on QBASIC in my elementary school's library.

    The Lounge question

  • We're 11
    C cefarix

    11 is the smallest two-digit prime number. 11 is 1+1 in unary. 11 is this month. 11 is the most significant bits of xor ax,ax. 11 is eleven. 11 is one more than ten. What more is 11?

    The Lounge lounge

  • Eid Mubarak!
    C cefarix

    Eid Mubarak!

    The Lounge

  • What is it with techies?
    C cefarix

    I have COD and I love to run around knifing people in the back.

    The Lounge question csharp php wpf com

  • Geek or Not?
    C cefarix

    Ugh.. I only got ~32.84% "Total Geek" :mad:

    The Lounge css ios question

  • Why I resigned from my job
    C cefarix

    CLI HLT

    The Lounge csharp visual-studio collaboration tools career

  • Calling all calorie counters.
    C cefarix

    Use project natal! All that jumping, waving, and kicking around will get those calories burning...

    The Lounge

  • You suck
    C cefarix

    Hello, World! Stack fault? Yes! Exception Handler? Nop! Double fault? Yes! Exception Handler? Nop! Triple fault? Reboot! Hello, World! Stack fault? Yes! Exception Handler? Nop! Double fault? Yes! Exception Handler? Nop! Triple fault? Reboot! HellPower off.

    The Lounge

  • You suck
    C cefarix

    In honor of the "* sucks" theme.

    The Lounge

  • What 'Architecture' is the brain?
    C cefarix

    The human brain is divided into several regions, each composed of neural networks. The higher conscious brain is mostly the outer folded layer of the brain, a layer only found in mammals, and (obviously) greatly expanded in humans, thus allowing our relatively very high intelligence. Other parts of the brain regulate body functions, for example, controlling muscle movement. This is why you don't have to think which muscle to move and exactly how to move it - your higher conscious brain just says "do this" to that lower part of the brain, which translates "do this" into "contract this muscle by this amount" and "relax this muscle by this amount" etc. Some other parts control body temperature, moods, some reflexes, breathing, digestion, heart rate, and all that other stuff. And yet other parts process sensory information - like vision - and by the time it gets to the conscious part of the brain, its all "there's a car" and "that's a house" instead of wavelength amplitudes and stuff. And there are parts dedicated to indexing long-term memories, like the hippocampus, and yet other parts dedicated to language grammar, syntax, vocabulary, etc processing (which explains why mentally disabled people can still talk in many cases - language is a "basic" function not requiring much intelligence). This is all built out of carbon-based chemicals. So the brain is a carbon-based architecture. It's so distributed it has no CPU. The "CPU" of the brain emerges from the billions of connections between individual neurons, which can be considered like a single node on a network whose topology is constantly changing. The firing of neurons in the brain is "controlled chaos". When your neurons aren't firing at all, your brain is dead. When the neurons are firing synchronously, in a repeating pattern, you're having an epileptic seizure. But when it's a combination of pattern and chaos, you're conscious and thinking. Pretty cool, huh?

    The Lounge asp-net architecture performance question discussion

  • Learning programming - 6th grade
    C cefarix

    I would suggest a version of BASIC. I got into programming by learning BASIC (in QBASIC) from a couple of books I found at my elementary school library back in 2nd grade. Ah, old-times... I had my first PC in 1994, running DOS + Win3.11 for Workgroups (does anyone remember that?). On my birthday my dad got me MS Flight Sim 5.1 on floppy disks :-D That got me more interested in programming, and then I found a couple of really cool books at the school library. One was blue and thin and it was about writing BASIC programs - but with a storyline that you are stuck on Mars in a spaceship and writing the programs to help you out of your predicament. The other was yellow, with a plastic cover, and thick, and had all kinds of goodies, including programs in which you made a "rocket" on the screen by printing out empty lines to make ASCII-art go up, and other programs that were more like riddles or novels with questions that the "user" answered. I also learned to use QBASIC's built-in help system. One of the first programs I wrote on my own was a simple adder that helped me cheat on my math homework. Then in 5th grade, one day, my dad got me a Java book, Teach Yourself Java in 21-days. I was hooked immediately and even read it by hiding it in my desk during classes at school :-D Soon afterwards I got the book Black Art of Java Game Programming. Ah, good times! That's how I found out about C. The Java book mentioned it. So then we got a book called "Windows Programming for Dummies" and that's how I got into programming with C. I also got a book that came with a Visual C++ 1.0 CD, and another about Windows Game Programming that taught how to use WinG ;) After that, I got interested in graphics and 3D graphics and did lots of little experiments with graphics mode 13h and BIOS keyboard functions, VGA registers and palettes and banks, and all that good stuff, by learning stuff off the web. Anyone remember Andre Lamothe? I really learned C and ASM once I got into operating system programming. I learned web programming and some scripting stuff relatively recently. So something like the above "path" might be the way to go...

    The Lounge delphi html com hardware question

  • create a process from a process and have it not in the same security context
    C cefarix

    You should be able to give the new process a different security context by using lpProcessAttributes->lpSecurityDescriptor.

    C / C++ / MFC security question

  • What category should I put my article in?
    C cefarix

    I'm writing an article about how to write Browser Helper Objects (BHOs) using plain C++ (without MFC or ATL). Along with explaining the BHO code, the article also explains in detail the COM code. Should I put this article in the "COM / COM+" section or in the "Shell and IE programming" section. Or, better, is it possible to put the article under both sections?

    Article Writing c++ com linux tutorial question

  • WTSVirtualChannelWrite fails, GetLastError returns ERROR_INVALID_FUNCTION
    C cefarix

    I've been trying to figure this one out for the past couple of days with no success :mad: Here's the relevant code: http://pastebin.ca/1419150 I'm testing this on a Windows XP SP3 virtual machine. I connect to it using mstsc from a Windows Vista Ultimate x64 machine (which is also the host for the XP virtual machine). The program running on the RDP host (the XP machine) also opens two other virtual channels in much the same way and they work fine. Any help is much appreciated :)

    C / C++ / MFC testing beta-testing help

  • YouTube in HD
    C cefarix

    Also try "&fmt=18" for high quality audio.

    The Lounge html com announcement

  • Event Sink using C++ without MFC/ATL
    C cefarix

    I need to use a COM object which needs an IDispatch-based event sink. I've only found code for doing this using MFC or ATL. Can someone help me out on how to do this through only C++? I just need to know how to create the event sink class that I will implement in my application. Do I create a class based on IDispatch using DECLARE_INTERFACE and STDMETHOD ... PURE macros? If so, how do I instantiate this class since it has pure virtual members?

    COM c++ question com help tutorial
  • Login

  • Don't have an account? Register

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