Quantcast
Channel: Deadbeef.COM » c#
Browsing latest articles
Browse All 12 View Live

Image may be NSFW.
Clik here to view.

Redirecting the output of a program to a file in .NET framework

It doesn’t seem like this should be so hard, but it is. The Win32 CreateProcess API call has two nifty ways to do this. 1) Inherit handles from the parent process. So open the log file as your own...

View Article


I have a new job

Well, it’s been a long run, but I am finally moving on from HKS. For the last 13 years I have been working as an Objective-C programmer.  However on Monday I will become a C++/Qt programmer for...

View Article


Dreaming in Code

Perhaps it is a sign that I need to find a hobby, or perhaps it is just jitters from starting a new job in a new programming language; but I woke up in the middle of the night dreaming about safe ways...

View Article

Converting RGB to HSV in C++

I don’t know why this is so hard to find, but it is. I ended up following the suggestion of a google answers question and converting the javascript formula at...

View Article

Boost::regex tip of the day

If you use boost::regex, don’t do what I just did. Calling boost::regex_match(std::string&,match_results&,basic_regex&) Changing the std::string that was passed to regex_match. Trying to...

View Article


Using MPC to generate CxxTest test cases

There are a few tools that I love for C++ development, and one of them is CxxTest. One of my other favorite tools is the Make Project Creator or MPC. It allows you to generate makefiles or visual...

View Article
Browsing latest articles
Browse All 12 View Live