|
Top Articles
Perl in C Part 1 [2010-07-29] Perl, which is an extremely flexible and fluid language, in itself written in C, and as such it is easy to incorporate it into your own programs. This is not always necessary for most programs, as it is easy to call a Perl program in its own process by using popen. For persistent programs, this can be a major time-saver as Perl will only be loaded into memory once.
Let's Get Virtual, Virtual... [2010-07-15] Even though I have used virtual functions in the past, I never really understood them. They always seemed just beyond the realm of what I believed I could do with a strict typing language like C++. Of course, I had just a vague grasp on polymorphism at the time.
C Style Coding [2010-07-01] My very first computer science teacher in college taught me C++. Starting with "Hello World" and going through structs, classes, and pointers, she showed me how to make computers dance with a few simple commands. Imagine my surprise when I turned in a program, only to find I had lost points for using the conditional operator.
MySQL in C [2010-06-17] Many languages include the ability to connect to a database and utilize the information stored within. For those that don't have these abilities automatically, there are different varieties of MySQL connectors available for installation. The version for C is the connector/C. Once the connector/C is installed (instructions on how to do this can be found here), you can add a connection to a mysql database to any C program with ease.
GCC Allowing C++ Code [2010-06-04] For years, we have been using the gcc compiler to build our source code into executable programs, so you're probably asking yourselves what the big deal is. The big deal is that for the first time ever, C++ code will be used to /write/ the gcc compiler, which has always been written in C and nothing but.
Dissecting Duff's Device [2010-05-20] One of the most confusing pieces of code I have ever had a chance to look at is Duff's Device. At first glance, it seems that your compiler would laugh at you for attempting such a feat. For those of you who haven't yet been introduced to this programming marvel, I suggest you sit down before reading on.
To Switch, or Not to Switch [2010-05-07] When it comes to making selections in C programming, the obvious first choice of most programmers is the if,else combination. This can become a hassle when there are multiple choices with different or similar outcomes. A simple example of this is outputting the number of days in a month. You could do:
New Apple Rules Support Objective-C, C, C++ [2010-04-22] As anyone who's gone near an Apple store on the day a new product's released must know, there's a sizable segment of the population that more or less worships the company's products. It's interesting - and possibly rather important - that Apple has signaled its approval of Objective-C, C, and C++, then.
C Returns To Top Of Tiobe Index [2010-04-08] C fans, your time has come (again). After four arguably long years, the C programming language has made it back to the top of the Tiobe Programming Language index, scoring the number one spot for April of 2010.
Palm Nods To C, C++ With Plug-in Development Kit [2010-03-26] By all accounts, mobile is the future. Companies of all sorts are making iPhone apps, Google's investing millions in its Android operating system, and Microsoft is developing the Windows Phone 7 Series. So C programmers should be happy to hear that Palm has made room for them in its mobile strategy.
Using C++ To Clean Up Your CSS Files [2010-03-04] A few weeks back i found out that the method I use to minify CSS was about 5% more efficient than the YUI Compressor. I tweeted about it and was encouraged to post the code that does the actual minification.
C++/Java Arguments Written Off [2010-02-18] When shopping for a new vehicle (or just keeping up on the latest developments), car guys will pore over performance stats, looking closely at acceleration times, skidpad numbers, and top speeds. But in real life, these details might not matter, and one expert recently argued that comparisons between C++ and Java are similarly pointless.
Facebook's HipHop Announcement Puts C++ In The Spotlight [2010-02-04] About three months ago, we discussed the fact that C# and C++ had been declared a couple of Microsoft's favorite languages. Now, C++ has also gotten a sort of nod from Facebook as the social network unveiled something called HipHop for PHP.
C, C++ Tests Posing Real Challenge To Programmers [2010-01-21] The tests that students must take on a routine basis are no fun, and leaving them behind is perhaps of the nicer things about becoming an adult. Still, there's no denying that exams can effectively separate people who know stuff from folks who just fake it, and unfortunately, it seems that the C and C++ programming communities haven't done too well on a certain two tests.
In C++, We Don't Write Our Bugs, We Inherit Them [2010-01-07] Inheritance is one of the concepts on C++ that is difficult to understand and frustrating to track down bugs. Inheritance is when you create a new derived class from a base class.
C++ Creator Speaks At Stevens [2009-12-17] Within their fields, at least, the creators of different things often achieve rock-star status. A Ford Mustang with a plaque signed by Carroll Shelby will, for example, sell for thousands of dollars more than an otherwise identical vehicle. So it may interest professional C programmers to know that Bjarne Stroustrup recently gave a little speech.
C#, C++ Among Microsoft's Favorite Languages [2009-12-03] To say that Microsoft's important would be to make a huge understatement; the tech company has a market cap of about $264 billion, and its influence can be felt in every industrialized part of the world. Fans of the C family of programming languages should be pleased, then, that a couple of members are favored by Microsoft.
Using C Programming To Simplify JavaScripting With Closure Compiler [2009-11-19] A few days ago, Google released their Closure Compiler project for optimizing JavaScript. Here's what they write about the Closure Compiler:
How To Use C Programming To Verify Your Javascript [2009-11-05] In the past few days, I've worked on finding a way to do static code analysis on JavaScript files.The resaon is that I want to apply some sort of binary and source code checking like FxCop and StyleCop provides for C#.
Pointers and their Pitfalls [2009-10-15] This may seem like a very basic idea, but I have seen far too many programmers not know the proper way to handle pointers. Pointers were the first thing I learned about in my second programming class when I was in college. The teacher beat into our heads that pointers are one of the hardest things in programming to understand.
Worldwide Programming Competition To Begin Soon [2009-10-01] Keep an eye out - or get your application in - if you're interested in a competition that should unearth and crown some of the world's best programmers. The IEEEXtreme Programming Competition 3.0 will take place in about three weeks' time.
CodePlex Foundation, MySpace's Qizmt [2009-09-17] MySpace announced that they're open sourcing Qizmt, a MapReduce framework used by the MySpace Data Mining team. Unlike other leading MapReduce frameworks that are typically implemented in C++ or Java, Qizmt was developed using C#.NET. MySpace's Chief Operating Officer, Mike Jones writes:
August TIOBE Index Indicates Growth [2009-09-03] The C, C++, and C# programming languages all performed well in the latest TIOBE Programming Community Index. One of them held its ground in terms of overall rankings, while the other two managed to become even more popular.
Garbage Collection And C [2009-08-20] Garbage collection is an extremely undervalued aspect of modern society. After all, we couldn't be buzzing around in hybrids and enjoying our plasma TVs if we were buried in filth and suffering from the plague. So today, let's take a look at garbage collection in C-language code applications.
Concepts Separated From C++0x [2009-08-06] More information regarding the next C++ standard has become available, but unfortunately, the news isn't all that good. The release date remains a while away, and the anticipated "concepts" mechanism has been kiboshed.
|