Cprogramming.com http://feeds.rapidfeeds.com/18295/ Your resource for C and C++ programming. Mon, 04 Sep 2017 21:00:00 EST Sun, 19 Dec 2010 18:24:00 EST http://backend.userland.com/rss RapidFeeds v2.0 -- http://www.rapidfeeds.com Searching for errors using PVS-Studio An introduction to analyzing code to find potential errors via static analysis, using the PVS-Studio tool http://feeds.rapidfeeds.com/?iid4ct=7577044 http://feeds.rapidfeeds.com/?iid4ct=7577044 Mon, 04 Sep 2017 21:00:00 EST Developing for Android - an Introduction Learn about the basics of Android architecture and how to get set up to program for Android on Windows and Linux. http://feeds.rapidfeeds.com/?iid4ct=7577043 http://feeds.rapidfeeds.com/?iid4ct=7577043 Sat, 16 Feb 2013 03:02:00 EST Windows 8 Sensor Development Guide This guide provides developers with an overview of the Microsoft Windows 8 sensors application programming interfaces (APIs) for Desktop and Windows UI style applications with a specific focus on the various sensor capabilities available in Windows 8 Desktop mode. http://feeds.rapidfeeds.com/?iid4ct=7577042 http://feeds.rapidfeeds.com/?iid4ct=7577042 Tue, 16 Oct 2012 05:14:00 EST Working with Sensors on Ultrabooks New Ultrabook computers come with many awesome sensors, like compass and GPS--in this article, learn how to work with these sensors on Windows 8. http://feeds.rapidfeeds.com/?iid4ct=7577041 http://feeds.rapidfeeds.com/?iid4ct=7577041 Tue, 18 Sep 2012 19:53:00 EST Crossing platforms and boundaries with mobile applications Learn how some companies are making cross-platform mobile games. http://feeds.rapidfeeds.com/?iid4ct=7577040 http://feeds.rapidfeeds.com/?iid4ct=7577040 Mon, 09 Jul 2012 03:38:00 EST Green Code Development Learn tools and techniques for making your software more power-efficient in this article focusing on developing for mobile devices running on battery. http://feeds.rapidfeeds.com/?iid4ct=7577039 http://feeds.rapidfeeds.com/?iid4ct=7577039 Sat, 05 May 2012 02:15:00 EST Develop for UltraBooks and Join the Rebirth of personal computing Developers can now submit and distribute applications via the Intel AppUp(SM) developer program to the latest experience in personal computers called Ultrabook(SM). http://feeds.rapidfeeds.com/?iid4ct=7577038 http://feeds.rapidfeeds.com/?iid4ct=7577038 Tue, 17 Apr 2012 18:31:00 EST How to create a shared library on Linux using GCC Learn how to create and configure shared libraries on Linux using GCC, allowing you to share and re-use code between projects http://feeds.rapidfeeds.com/?iid4ct=7577037 http://feeds.rapidfeeds.com/?iid4ct=7577037 Fri, 30 Dec 2011 21:36:00 EST Better type safety in C++11 - nullptr and strongly typed enums Learn how C++11 improves type safety with nullptr and provides better enum values and strongly typed enums known as enum classes. http://feeds.rapidfeeds.com/?iid4ct=7577036 http://feeds.rapidfeeds.com/?iid4ct=7577036 Sun, 27 Nov 2011 22:37:00 EST Programming practice problem - convert integer to English text Write a program that takes an integer and displays the English name of that value. You should support both positive and negative numbers, in the range supported by a 32-bit integer (approximately -2 billion to 2 billion). Click through to the page for examples and a link to the solution. http://feeds.rapidfeeds.com/?iid4ct=7577035 http://feeds.rapidfeeds.com/?iid4ct=7577035 Mon, 21 Nov 2011 18:03:00 EST What is a hash table? Hash tables are an efficient implementation of a keyed array data structure--in this article, learn how hash tables are implemented and what you might use them for. http://feeds.rapidfeeds.com/?iid4ct=7577034 http://feeds.rapidfeeds.com/?iid4ct=7577034 Sun, 20 Nov 2011 10:17:00 EST What's the difference between static and extern? Learn the difference between these two keywords in this new FAQ entry. Useful when working with multiple source files! http://feeds.rapidfeeds.com/?iid4ct=7577033 http://feeds.rapidfeeds.com/?iid4ct=7577033 Tue, 15 Nov 2011 17:34:00 EST Write Faster Code using Rvalue References and Move Semantics in C++11 C++ is fast, but C++ has always had a "temporaries" problem--lots of objects being unnecessarily created and destroyed when returning values from functions, slowing down programs or requiring unnatural programming techniques to avoid. In C++11, rvalue references can be used to create "move semantics" allowing objects to be cheaply moved, rather than inefficiently copied, promising to make your code faster than ever before. Learn all about it in this article! http://feeds.rapidfeeds.com/?iid4ct=7577032 http://feeds.rapidfeeds.com/?iid4ct=7577032 Sun, 13 Nov 2011 12:01:00 EST C and C++ for Java Programmers How to go from programming Java to programming C or C++, covering lots of the differences between C, C++ and Java http://feeds.rapidfeeds.com/?iid4ct=7577031 http://feeds.rapidfeeds.com/?iid4ct=7577031 Sat, 05 Nov 2011 20:35:00 EST A Gentle Introduction to C++ IO Streams C++ IO streams control how data is output and input to a C++ program. IO streams are incredibly flexible, making it easy for you to write out your own classes to all kinds of different destinations--including files, strings, and the console. Learn how to start taking advantage of IO streams in this gentle introduction to the powerful IO stream library. http://feeds.rapidfeeds.com/?iid4ct=7577030 http://feeds.rapidfeeds.com/?iid4ct=7577030 Mon, 10 Oct 2011 17:43:00 EST Constexpr - Generalized Constant Expressions in C++11 There are several improvements in C++11 that promise to allow programs written using C++11 to run faster than ever before. One of those improvements, generalized constant expressions, allows programs to take advantage of compile-time computation. If you're familiar with template metaprogramming, constexpr will seem like a way of making your life much easier. If you're not familiar with template metaprogramming, that's ok--constexpr makes the benefits of compile-time programming much more widely accessible. Learn more about constexpr in this article! http://feeds.rapidfeeds.com/?iid4ct=7577029 http://feeds.rapidfeeds.com/?iid4ct=7577029 Tue, 27 Sep 2011 21:27:00 EST Range-Based For Loops in C++11 Learn how to easily loop over containers using the new C++11 range-based for loops--and how to add support for range-based for loops to your own classes! http://feeds.rapidfeeds.com/?iid4ct=7577028 http://feeds.rapidfeeds.com/?iid4ct=7577028 Sun, 11 Sep 2011 21:11:00 EST GDB by Example Are you using a debugger when you run into crashes or other problems? If not, you should be--this tutorial will show you how, using GDB, the GNU Debugger, the standard debugger for Linux and Unix-like operating systems. http://feeds.rapidfeeds.com/?iid4ct=7577027 http://feeds.rapidfeeds.com/?iid4ct=7577027 Wed, 07 Sep 2011 21:41:00 EST Lambda Functions in C++11 - the Definitive Guide One of the most exciting features in C++11 is the addition of lambda functions. A lambda function is a function that you can write inline in your source code (usually to pass in to another function, similar to the idea of a functor or function pointer). With lambda, creating quick functions has become much easier, and this means that not only can you start using lambda when you'd previously have needed to write a separate named function, but you can start writing more code that relies on the ability to create quick-and-easy functions. In this article, I'll first explain why lambda is great--with some examples--and then I'll walk through all of the details of what you can do with lambda. http://feeds.rapidfeeds.com/?iid4ct=7577026 http://feeds.rapidfeeds.com/?iid4ct=7577026 Sun, 28 Aug 2011 22:05:00 EST C++11 - auto, decltype, and the new function declaration syntax C++0x, now officially C++11, improves C++'s type inference with the new meaning of auto (itself a great time saver) and decltype, auto's not-evil twin. Together, combined with the new return value syntax, you can write some pretty sweet code. Check it out in this article. http://feeds.rapidfeeds.com/?iid4ct=7577025 http://feeds.rapidfeeds.com/?iid4ct=7577025 Sat, 20 Aug 2011 22:30:00 EST What is C++0x? C++0x is the working name for the new standard for C++, a tremendous new upgrade to the power and usability of C++. The best news? Many C++0x features are already available in several popular compilers, meaning you can already start to take advantage of it in your programs today! Learn what C++0x is all about and how you can start using it in this article, the first in a series on C++0x. http://feeds.rapidfeeds.com/?iid4ct=7577024 http://feeds.rapidfeeds.com/?iid4ct=7577024 Sun, 14 Aug 2011 20:46:00 EST Printf format strings - Cprogramming.com Ever wondered about all the different options when you use format strings with printf? Wonder no more--this article takes you through all the arguments and options for producing beautiful output using printf. http://feeds.rapidfeeds.com/?iid4ct=7577023 http://feeds.rapidfeeds.com/?iid4ct=7577023 Wed, 10 Aug 2011 21:01:00 EST Learn more about MeeGo The MeeGo mobile operating system is picking up speed. Computex saw announcements about numerous new MeeGo-powered tablets and netbooks. For developers interested in the MeeGo platform, there are opportunities for cash prizes or developer funding. http://feeds.rapidfeeds.com/?iid4ct=7577022 http://feeds.rapidfeeds.com/?iid4ct=7577022 Thu, 04 Aug 2011 23:00:00 EST What's the difference between declaring and defining in C and C++ In C and C++, there is a subtle but important distinction between the meaning of the words declare and define. If you don't understand the difference, you'll run into weird linker errors at unpleasant times like right after you finally compile your code at 3AM. This article explains the difference--why it matters and how to fix those errors so you can get some sleep :) http://feeds.rapidfeeds.com/?iid4ct=7577021 http://feeds.rapidfeeds.com/?iid4ct=7577021 Mon, 01 Aug 2011 21:05:00 EST Functors: Function Objects in C++ Both C and C++ support function pointers, which provide a way to pass around instructions on how to perform an operation. But function pointers are limited because functions must be fully specified at compile time. What do I mean? Let's say that you're writing a mail program to view an inbox, and you'd like to give the user the ability to sort the inbox on different fields--to, from, date, etc. You might try using a sort routine that takes a function pointer capable of comparing the messages, but there's one problem--there are a lot of different ways you might want to compare messages. You could create different functions that differ only by the field of the message on which the comparison occurs, but that limits you to sorting on the fields that have been hard-coded into the program. It's also going to lead to a lot of if-then-else blocks that differ only by the function passed into the sort routine. Functors solve this problem--learn more in this article. http://feeds.rapidfeeds.com/?iid4ct=7577020 http://feeds.rapidfeeds.com/?iid4ct=7577020 Wed, 02 Mar 2011 22:56:00 EST An Object Oriented Animation Engine So far, we've covered many of the core elements of an animation, including the Graphic Object, Animation Object, Camera, Frustum, Layers and Layer Folders. This article (and the next) will bring them all together to design an Object Oriented Animation Engine. http://feeds.rapidfeeds.com/?iid4ct=7577019 http://feeds.rapidfeeds.com/?iid4ct=7577019 Sun, 27 Feb 2011 22:45:00 EST New Incentives and a Whole New Platform From The Intel AppUp (SM) developer program Intel AppUp (SM) is now accepting MeeGo apps and offering new incentives for developers. If you're interested in netbook and tablet app development, check it out! http://feeds.rapidfeeds.com/?iid4ct=7577018 http://feeds.rapidfeeds.com/?iid4ct=7577018 Mon, 21 Feb 2011 16:45:00 EST 5 New Year's Resolutions for Programmers in 2011 Need some ideas for software-related New Year's resolutions? Check these out and make a resolution to keep up with the latest trends in technology! Happy New Year! http://feeds.rapidfeeds.com/?iid4ct=7577017 http://feeds.rapidfeeds.com/?iid4ct=7577017 Sat, 01 Jan 2011 18:41:00 EST Frames, Layers and Layer Folders in Animation Part 2 in our series on designing an animation engine explains how to organize animations with frames, layers and layer folders http://feeds.rapidfeeds.com/?iid4ct=7577016 http://feeds.rapidfeeds.com/?iid4ct=7577016 Sun, 19 Dec 2010 18:24:00 EST Getting your app on Intel AppUp (SM): Porting "Ancient Frog" Interested in writing games for multiple platforms? Want to know what goes in to building a port and how to make your game port-friendly? This interview discusses one developer's experience porting his game from the iPhone to the netbook. http://feeds.rapidfeeds.com/?iid4ct=7577015 http://feeds.rapidfeeds.com/?iid4ct=7577015 Wed, 15 Dec 2010 22:49:00 EST An Object Oriented Approach to Animation The first part in a series discussing the design of an object oriented approach to animation http://feeds.rapidfeeds.com/?iid4ct=7577014 http://feeds.rapidfeeds.com/?iid4ct=7577014 Tue, 14 Dec 2010 23:48:00 EST Dixons Challenge Find out how you could win $15,000 for writing the ultimate home-enhancing app in the Dixons Challenge http://feeds.rapidfeeds.com/?iid4ct=7577013 http://feeds.rapidfeeds.com/?iid4ct=7577013 Mon, 22 Nov 2010 23:18:00 EST Why AppUp? A Quick Review of the AppUp Model Learn about AppUp, an app store framework that allows developers to submit apps to app stores serving a variety of devices http://feeds.rapidfeeds.com/?iid4ct=7577012 http://feeds.rapidfeeds.com/?iid4ct=7577012 Mon, 15 Nov 2010 09:22:00 EST Same Game, Part 5 - Implementing an Undo/Redo Stack and Keyboard Accelerators This is it. We are almost done with our version of the SameGame. We've discussed quite a few topics ranging from event driven programming to GDI graphics programming. A lot of the topics we've discussed transcend the gap between game programming and application programming in general. Building MFC applications is one of such topics, not many games are written in MFC but tons of applications are (the list is very long). The topic of this final article is one of these topics. We'll discuss how to put together an undo/redo stack for our game. Undo/redo is an essential feature for most applications. If you've played our game for any period of time I'm sure you've said to yourself, "Oops! Where's the undo?!" Well here it is. http://feeds.rapidfeeds.com/?iid4ct=7577011 http://feeds.rapidfeeds.com/?iid4ct=7577011 Wed, 10 Nov 2010 09:24:00 EST Same Game, Part 4 - Adjusting the Board Size and Block Count Our version of the SameGame is really taking shape. We have a game that can be played from start to finish in five different levels of difficulty. In this article we'll be adding more options to customize the game play. We'll add the ability for the user to adjust the size of the blocks and the number of blocks on the game board. In order to get these values from the user we'll create a dialog box to prompt them for input. http://feeds.rapidfeeds.com/?iid4ct=7577010 http://feeds.rapidfeeds.com/?iid4ct=7577010 Tue, 09 Nov 2010 09:03:00 EST Same Game, Part 3 - Adding Difficulty Levels Now that we a playable game, it's time to add some challenge and make it harder by adding new difficulty levels http://feeds.rapidfeeds.com/?iid4ct=7577009 http://feeds.rapidfeeds.com/?iid4ct=7577009 Mon, 08 Nov 2010 09:17:00 EST Same Game, Part 2 - Creating a Playable Game In the second article in this series on creating a game from start to finish, you'll go from drawing the game board to actually having a playable game! http://feeds.rapidfeeds.com/?iid4ct=7577008 http://feeds.rapidfeeds.com/?iid4ct=7577008 Sun, 07 Nov 2010 10:46:00 EST "The Same Game": A Simple Game from Start to Finish, Part 1 of 5 The first in a series of articles that will teach you exactly how to create a game starting at the very beginning and ending with a fully playable game (source included!) http://feeds.rapidfeeds.com/?iid4ct=7577007 http://feeds.rapidfeeds.com/?iid4ct=7577007 Sat, 06 Nov 2010 10:03:00 EST Setting up Apple XCode Instructions for getting, setting up and using XCode for Mac OS X. Apple XCode allows you to create both native OS X applications and iPhone apps. http://feeds.rapidfeeds.com/?iid4ct=7577006 http://feeds.rapidfeeds.com/?iid4ct=7577006 Sun, 03 Oct 2010 21:37:00 EST How to Avoid, Find (and fix) Memory Errors in Your C/C++ Code Explore the different types of memory errors and how to use Intel Parallel Inspector to debug your code http://feeds.rapidfeeds.com/?iid4ct=7577005 http://feeds.rapidfeeds.com/?iid4ct=7577005 Wed, 19 Aug 2009 21:19:00 EST The Secret to Learning Anything Some of the most important lessons I learned in college came from one professor, Michael Mitzenmacher. Now, this was a guy with a lot of papers to his name, tenured at Harvard, working on some pretty darn complicated computer science theory (I took his algorithms class). So you'd expect that I'd learn something important. But as it turned out, the biggest lessons I learned from him weren't on the topics he taught. I learned a secret that helped me learn much more effectively. http://feeds.rapidfeeds.com/?iid4ct=7577004 http://feeds.rapidfeeds.com/?iid4ct=7577004 Sun, 12 Jul 2009 21:33:00 EST Programming Practice Problem - Temperature Conversion A practice program for beginners--write a program that converts Celsius to Fahrenheit and puts it into a nicely formatted table http://feeds.rapidfeeds.com/?iid4ct=7577003 http://feeds.rapidfeeds.com/?iid4ct=7577003 Tue, 23 Jun 2009 22:25:00 EST Ebook survey Help us serve you better by completing this very short survey! http://feeds.rapidfeeds.com/?iid4ct=7577002 http://feeds.rapidfeeds.com/?iid4ct=7577002 Thu, 18 Jun 2009 19:42:00 EST Programming Practice Problem - Computing File Size In this challenge, given the name of a file, print out the size of the file, in bytes. If no file is given, provide a help string to the user that indicates how to use the program. You might need help with <a href="http://www.cprogramming.com/tutorial/lesson14.html">taking parameters via the command line</a> or <a href="http://www.cprogramming.com/tutorial/lesson10.html">file I/O in C++</a> (if you want to solve this problem in C, you might be interested in this article on <a href="http://www.cprogramming.com/tutorial/cfileio.html">C file I/O</a>). http://feeds.rapidfeeds.com/?iid4ct=7577001 http://feeds.rapidfeeds.com/?iid4ct=7577001 Mon, 15 Jun 2009 21:48:00 EST 5 Ways You can Learn Programming Faster Learning to program isn't something you can do in an afternoon, but it doesn't have to be a life's work, either. There are lots of things you can do to make it easier on yourself when you are learning to program. You already know about <a href="http://www.cprogramming.com/beginner_programming_mistakes.html">The 5 Most Common Problems New Programmers Face--And How You Can Solve Them</a>. Now, discover how to get the most out of your learning. http://feeds.rapidfeeds.com/?iid4ct=7577000 http://feeds.rapidfeeds.com/?iid4ct=7577000 Mon, 08 Jun 2009 09:08:00 EST The 5 Most Common Problems New Programmers Face--And How You Can Solve Them When you're just starting out with programming, it's easy to run into problems that make you wonder how anyone has ever managed to write a computer program. But the fact is, just about everyone else who's learned to code has had that experience and wondered the same thing, when they were starting out. I've helped teach several introductory programming classes, and there are some problems that trip up nearly every student--everything from getting started to dealing with program design. I'll prepare you to get past these challenges--none of them are insurmountable. http://feeds.rapidfeeds.com/?iid4ct=7576999 http://feeds.rapidfeeds.com/?iid4ct=7576999 Wed, 03 Jun 2009 21:12:00 EST How can Cprogramming.com Better Help You? <h1>How can Cprogramming.com Better Help You?</h1><p> I'd like to know how you think I could make Cprogramming.com more helpful to you. <br /><br /> Please send me email at <a href="mailto:webmaster@cprogramming.com">webmaster@cprogramming.com</a> with your thoughts. I may not be able to respond to every email, but I will certainly read them all. <br /></p><p><strong>Special note to RSS subscribers: please indicate that you read the feed in your email!</strong></p><p><br /> To get the discussion started, here are a few areas you might like to comment on: <br /><br /> <strong>Posting frequency</strong> -- are there too few new articles posted per week, or too many? <br /><br /> <strong>Topics</strong> -- are there specific topics you'd like to see less coverage of, or more coverage of? Are there topics that just haven't been covered at all that you'd be interested in? <br /><br /> <strong>Article length</strong> -- do you find that articles are too short, just right, or too long? <br /><br /> <strong>Article audience</strong> -- are you looking for beginner articles, or more in-depth, detailed articles for professional programmers, or something in between? Would you like to see articles tagged by the expected audience? <br /><br /> <strong>Site Design</strong> -- does the current layout and formatting work for you? Are there specific ways it could be better? <br /><br /> <strong>Layout</strong> -- are you able to find what you are looking for? <br /><br /> <strong>Other ideas</strong> -- any feedback you have on other topics would be much appreciate</p><p>&nbsp;</p> http://feeds.rapidfeeds.com/?iid4ct=7576998 http://feeds.rapidfeeds.com/?iid4ct=7576998 Sun, 31 May 2009 21:43:00 EST 5 Awesome (and time saving) Features of the Visual Studio Debugger So you know all the basic debugger features: breakpoints, stepping through the code, viewing the values of variables. But there's a lot more your debugger can do to make it quicker to step through code, easier to test alternate solutions, and even avoid rerunning the program. Here, you'll discover some of Visual Studio's more advanced debugger features, such as stepping out of a function, taking advantage of the autos window, using run to the cursor to set temporary breakpoints, modifying a variable's value to test potential fixes, and using Set Next Statement to turn back the clock and re-execute code. http://feeds.rapidfeeds.com/?iid4ct=7576997 http://feeds.rapidfeeds.com/?iid4ct=7576997 Wed, 27 May 2009 20:05:00 EST Debugging with Visual Studio, Part 6: Remote Debugging Discover how to debug code running on a one machine from your main development box using remote debugging with Visual Studio http://feeds.rapidfeeds.com/?iid4ct=7576996 http://feeds.rapidfeeds.com/?iid4ct=7576996 Wed, 20 May 2009 21:09:00 EST Debugging with Visual Studio, Part 5: Using Trace and Log Messages Part 5 in a series on debugging with Visual Studio. Discover how to use tracing and logging to make debugging easier. http://feeds.rapidfeeds.com/?iid4ct=7576995 http://feeds.rapidfeeds.com/?iid4ct=7576995 Sun, 17 May 2009 21:48:00 EST Debugging C and C++ with Visual Studio 2005/2008, Part 4: Setting up Code for the Debugger Part 4 in a series on debugging C and C++ in Visual Studio http://feeds.rapidfeeds.com/?iid4ct=7576994 http://feeds.rapidfeeds.com/?iid4ct=7576994 Tue, 12 May 2009 00:44:00 EST Debugging C++ Using Visual Studio 2005/2008, Part 3: Using Breakpoints Effectively Part 3 in a series on debugging with Visual Studio http://feeds.rapidfeeds.com/?iid4ct=7576993 http://feeds.rapidfeeds.com/?iid4ct=7576993 Tue, 05 May 2009 21:58:00 EST Ask an Expert The Ask an Expert hage has been updated with a link to Cprogramming.com's very own expert grid, featuring experts from our message board community and others! http://feeds.rapidfeeds.com/?iid4ct=7576992 http://feeds.rapidfeeds.com/?iid4ct=7576992 Tue, 05 May 2009 21:56:00 EST Constructors and Destructors in C++ Learn about the subtleties of constructors and destructors in C++ http://feeds.rapidfeeds.com/?iid4ct=7576991 http://feeds.rapidfeeds.com/?iid4ct=7576991 Thu, 30 Apr 2009 22:41:00 EST Debugging C and C++ with Visual Studio 2005/2008, Part 2: Setting up the IDE In this article series, we discuss the concepts of debugging with Visual Studio 2005/2008. Part one covered general debugging concepts; part two will explain how to configure the Visual Studio IDE for debugging. http://feeds.rapidfeeds.com/?iid4ct=7576990 http://feeds.rapidfeeds.com/?iid4ct=7576990 Wed, 29 Apr 2009 22:28:00 EST Operator Overloading How and why to use (or avoid) operator overloading for cleaner, more readable code. http://feeds.rapidfeeds.com/?iid4ct=7576989 http://feeds.rapidfeeds.com/?iid4ct=7576989 Mon, 27 Apr 2009 21:53:00 EST Debugging C and C++ with Visual Studio 2005/2008, Part 1: Overview of Debugging Concepts Whenever you write C++ programs, inevitably you're going to have to debug the program. This series of articles will discuss how to debug using Visual Studio, but first, we'll need to start out with an overview of important concepts used by debuggers. http://feeds.rapidfeeds.com/?iid4ct=7576988 http://feeds.rapidfeeds.com/?iid4ct=7576988 Thu, 23 Apr 2009 20:57:00 EST Common Memory Management Problems in C++ Part 4 in the dynamic memory management series: memory leaks and how to avoid them. http://feeds.rapidfeeds.com/?iid4ct=7576987 http://feeds.rapidfeeds.com/?iid4ct=7576987 Mon, 20 Apr 2009 21:40:00 EST About Cprogramming.com It's about time we added an about us page. Find out who's behind cprogramming.com http://feeds.rapidfeeds.com/?iid4ct=7576986 http://feeds.rapidfeeds.com/?iid4ct=7576986 Sun, 19 Apr 2009 18:49:00 EST Dynamic Memory Allocation: Overloading Operator New and Operator Delete At times, you will have classes for which you want to specialize memory allocation. Why? You know something about how the class is used. For instance, you might specialize memory allocation for a class in order to to squeeze some extra performance out of your program. http://feeds.rapidfeeds.com/?iid4ct=7576985 http://feeds.rapidfeeds.com/?iid4ct=7576985 Thu, 16 Apr 2009 21:00:00 EST Dynamic Memory Allocation: Virtual Memory Part 2 in a series on dynamic memory allocation and management http://feeds.rapidfeeds.com/?iid4ct=7576984 http://feeds.rapidfeeds.com/?iid4ct=7576984 Tue, 14 Apr 2009 18:34:00 EST Advanced Memory Management: Dynamic Allocation, Part 1 Part 1 in a series on dynamic memory allocation in C/C++. http://feeds.rapidfeeds.com/?iid4ct=7576983 http://feeds.rapidfeeds.com/?iid4ct=7576983 Thu, 09 Apr 2009 20:10:00 EST Managing database operations using ADO and C++, Part 5: Using the CADOManager in practice To use the CADOManager class as a base class to an inherited management class we should adopt some convention to name these inherited classes. It can be anything really but it seems easy enough to come up with something like CTbl<TableName> for clarity. For example, in our database schema we want to write a table class for the table called 'People' and that inherits from CADOManager... http://feeds.rapidfeeds.com/?iid4ct=7576982 http://feeds.rapidfeeds.com/?iid4ct=7576982 Tue, 07 Apr 2009 21:44:00 EST Managing database operations using ADO and C++ Part 4: Creating the ADO manager class Now that we have gone over the basics and described a way to design and create ADO wrapper classes, it is now time for the final phase of creating an ADO manager class that will work on all the concepts we have discussed... http://feeds.rapidfeeds.com/?iid4ct=7576981 http://feeds.rapidfeeds.com/?iid4ct=7576981 Mon, 06 Apr 2009 19:56:00 EST ADO Wrapper Classes Now that the basics are out of the way we can actually begin to design some useful code that will do something! We need an easy way to create, access and manage the ADO objects we have discussed. The term 'wrapper' is used in programming to describe a way to create code that manages some other API's or module. The terms 'encapsulation' or 'legacy management' can be used to describe what a class wrapper is... http://feeds.rapidfeeds.com/?iid4ct=7576980 http://feeds.rapidfeeds.com/?iid4ct=7576980 Wed, 01 Apr 2009 23:05:00 EST Managing database operations using ADO and C++, Part 2: Introduction to ADO ADO consists of a series of objects that are used to manage interfacing to an SQL server. These objects need to be instantiated using a smart pointer and then set up correctly in order to perform database operations. Generally ADO is abstracted from the particular syntax issues of various SQL servers. It operates via a driver supplied by a specific SQL server provider. Each provider must supply the driver necessary for ADO to interface to the server properly and handle the various interfaces that ADO operates on. For instance, the MS-SQL server uses a driver called 'SQL Native Client'. In this way, with only a few exceptions, only one piece of code needs to be written in order to interface properly with various SQL servers... http://feeds.rapidfeeds.com/?iid4ct=7576979 http://feeds.rapidfeeds.com/?iid4ct=7576979 Mon, 30 Mar 2009 23:05:00 EST Managing database operations using ADO and C++, Part 1: Introduction to SQL This series of articles will detail how to use Microsoft Active Data Objects (ADO) and C++ to manage database operations. Part 1 highlights in simple terms the basic SQL operations that the examples will perform and introduce the reader to some simple SQL syntax. http://feeds.rapidfeeds.com/?iid4ct=7576978 http://feeds.rapidfeeds.com/?iid4ct=7576978 Fri, 27 Mar 2009 03:00:10 EST Solving the Diamond Problem with Virtual Inheritance Multiple inheritance in C++ is a powerful, but tricky tool, that often leads to problems if not used carefully. This article will teach you how to use virtual inheritance to solve some of these common problems programmers run into. http://feeds.rapidfeeds.com/?iid4ct=7576977 http://feeds.rapidfeeds.com/?iid4ct=7576977 Mon, 23 Mar 2009 09:24:00 EST Multiple Inheritance in C++ Deriving directly from more than one class is usually called multiple inheritance. Since it's widely believed that this concept complicates the design and debuggers can have a hard time with it, multiple inheritance can be a controversial topic. However, multiple inheritance is an important feature in C++ and C++ programmers think of it as a very good structuring tool. http://feeds.rapidfeeds.com/?iid4ct=7576976 http://feeds.rapidfeeds.com/?iid4ct=7576976 Sat, 21 Mar 2009 22:41:00 EST Setting Up Code::Blocks and the MINGW Compiler on Windows This tutorial will provide you with detailed instructions for a standard installation of Code::Blocks and the MINGW compiler, a free development environment for C and C++. http://feeds.rapidfeeds.com/?iid4ct=7576975 http://feeds.rapidfeeds.com/?iid4ct=7576975 Thu, 19 Mar 2009 23:58:00 EST Setting up the SDL libraries for Code::Blocks for a Windows Compiler This tutorial assumes that you have already set up Code::Blocks and the MINGW compiler in Windows. Now, we will add the SDL graphical libraries, which will enable you to write graphical applications... http://feeds.rapidfeeds.com/?iid4ct=7576974 http://feeds.rapidfeeds.com/?iid4ct=7576974 Thu, 19 Mar 2009 23:57:00 EST What the $#@! is Parallelism, Anyhow? ’m constantly amazed how many seemingly well-educated computer technologists bandy about the word parallelism without really knowing what they’re talking about. I can’t tell you how many articles and books I’ve read on parallel computing that use the term over and over without ever defining it.... http://feeds.rapidfeeds.com/?iid4ct=7576973 http://feeds.rapidfeeds.com/?iid4ct=7576973 Thu, 19 Mar 2009 00:02:00 EST