General Programming Articles
Article Listing
Categories (See All)
Recent Resources
-
Games have the potential to be infinite, so why are you still working on a throwaway project?
-
Understanding Component-Entity-Systems
-
Getting into Games through Education: "Where do I begin?"
-
Developing Your Game Concept By Making A Design Document
-
Cross Platform Test Driven Development Environment Using CMake (Part 3)
-
Cross Platform Test Driven Development Environment Using CMake (Part 2)
-
What does a Game Designer do? An Introduction to Role
Data Structures for Pre-College Programmers: Non-linear Data Structures
Published in General Programming
By frob - This is part of a series of articles dealing with data structures for beginners. It covers the the non-linear data structures. These include data...
Cross Platform Test Driven Development Environment Using CMake (Part 3)
Published in General Programming
By AllEightUp - In Part 3, it is time to finish off the basic build environment by adding the last target type, shared libraries. Unfortunately this portion invol...
Data Structures for Pre-College Programmers: Stacks and Queues
Published in General Programming
By frob - This is part of a series of articles dealing with data structures for beginners. It covers stacks and queues.
View Complete Archive
You cannot add articles
Data Structures for Pre-College Programmers: Non-linear Data Structures UNDER REVIEW
Apr 03 2013 12:48 PM | Posted By frob
in General Programming
This is part of a series of articles dealing with data structures for beginners. It covers the the non-linear data structures. These include data dictionaries, ordered sets, and unordered sets.
Tagged With: beginner data data structures dictionary hash set unordered set ordered set
Cross Platform Test Driven Development Environment Using CMake (Part 3) UNDER REVIEW
Apr 02 2013 09:16 AM | Posted By AllEightUp
in General Programming
In Part 3, it is time to finish off the basic build environment by adding the last target type, shared libraries. Unfortunately this portion involves Windows specifics and takes a while to make fully cross platform. When everything is functional it will be time to add the unit testing framework. The remainder of the article will cover how to setup the unit tests with CMake and various methods...
Data Structures for Pre-College Programmers: Stacks and Queues
Apr 01 2013 03:51 PM | Posted By frob
in General Programming
This is part of a series of articles dealing with data structures for beginners. It covers stacks and queues.
Tagged With: beginner stack queue data structures data
Data Structures for Pre-College Programmers: Trees and Heaps
Mar 31 2013 01:51 PM | Posted By Bryan Wagstaff (frob)
in General Programming
This is part of a series of articles dealing with data structures for beginners. It covers trees and heaps.
Tagged With: beginner data data structure trees heaps
Cross Platform Test Driven Development Environment Using CMake (Part 2)
Mar 31 2013 10:37 AM | Posted By AllEightUp
in General Programming
In the first part of this series, a first use of CMake was presented and a very simple project outline was built. At the end of the article a build break was intentionally introduced in order to show how quickly a simple fix could be put in. This article continues from that point and begins the process of correcting the broken build in a better manner while introducing more CMake syntax and u...
Data Structures for Pre-College Programmers: Arrays, Dynamic Arrays, and Linked Lists
Mar 29 2013 03:58 AM | Posted By Bryan Wagstaff (frob)
in General Programming
This is part of a series of articles dealing with data structures for beginners. It covers the three most basic data structures.
Cross Platform Test Driven Development Environment Using CMake (Part 1)
Mar 27 2013 07:56 PM | Posted By AllEightUp
in General Programming
Game development is often difficult enough when you want to target a single platform. It can become a nightmare when you start working on multiple platforms. Presented is one possible example of how to setup your project and directories in preparation for multi-target work with a focus on test driven development.
Tagged With: make cmake cross platform makefile c++ c++11
Pre-Visualization Is Important! UNDER REVIEW
Mar 17 2013 10:09 AM | Posted By superman3275
in General Programming
Many a beginner on gamedev.net (including me) has trouble with their software in the beginning. I had no idea how to plan for projects or what was even included in projects. I would look for posts about how to plan out projects. This article presents an approach a beginner can use for organizing their project.
Tagged With: program organization design visualization planning beginner
C++11 Lesson Two: Variables! UNDER REVIEW
Mar 16 2013 04:11 PM | Posted By superman3275
in General Programming
Starting in this lesson, we will be “getting our hands dirty”. Now, the lessons will be longer and contain more information. We will have whole chapters devoted to interesting projects, and we will discuss new C++11 features.
Tagged With: c++ beginner programming operators variables
C++11 Lesson One: Hello World! UNDER REVIEW
Mar 15 2013 09:10 AM | Posted By superman3275
in General Programming
Most programming books start with a lecture on the history of programming, how computers work, and why you should learn to program. Out of these three subjects, I’m assuming you already know the answer to the third (“Why you should learn to program”), considering that you’re reading a book about programming. We will go over how computers work, however the only history we will be covering is wha...
How to complement TDD with static analysis UNDER REVIEW
Feb 22 2013 09:04 PM | Posted By Andrey Karpov
in General Programming
TDD is one of the most popular software development techniques. I like this technology in general, and we employ it to some extent. The main thing is not to run to extremes when using it. One shouldn't fully rely on it alone forgetting other methods of software quality enhancement. In this article, I will show you how the static code analysis methodology can be used by programmers using TDD to...
Tagged With: c++ tdd Test-driven development testing
MAME emulator disease: memset() UNDER REVIEW
Aug 03 2012 06:55 PM | Posted By Andrey Karpov
in General Programming
While analyzing the source codes of various programs I can't help creating associations that each program has a tendency to certain diseases. In many projects you can easily make out patterns of incorrect code that can be found in different project files. In some programs these are Copy-Paste errors, while in others it's "unsigned_integer < 0"-like checks. Each project has its own disease....
Tagged With: c++ MAME pvs-studio Static Code Analyzer
The Importance of Commenting Your Code UNDER REVIEW
May 29 2012 07:55 AM | Posted By kbenderoth89
in General Programming
Tips for beginners looking to comment their code properly
Tagged With: comments code word explain comment function you' programming doing
100 bugs in Open Source C/C++ projects
Mar 16 2012 04:28 AM | Posted By Andrey Karpov
in General Programming
AbstractThis article demonstrates capabilities of the static code analysis methodology. The readers are offered to study the samples of one hundred errors found in open-source projects in C/C++. All the errors have been found with the PVS-Studio static code analyzer.IntroductionWe won't tire you programmers by making you read texts and will pass to the error samples right away. Those who wa...
Producer Consumer Using Double Queues
Feb 22 2012 09:10 AM | Posted By Ram Mohan Raja
in General Programming
Download source - 4.02 KBLicense: ZlibIntroductionProducer consumer is an old computer science problem. Many solutions have been proposed to solve this problem. The general approach is using a common queue. A single queue to which the producer writes data to and the consumer reads data from. Avoiding race conditions is done by locking the queue so that when the producer is writing, the consumer...
JIRA: Programming Workflows
Jan 31 2012 09:29 PM | Posted By Jobin Kuruvilla
in General Programming
In this article by Jobin Kuruvilla author of JIRA Development Cookbook, we will cover:Writing a workflow conditionWriting a workflow validatorWriting a workflow post functionEditing an active workflowIntroductionWorkflows are one standout feature which help users to transform JIRA into a user-friendly system. It helps users to define a lifecycle for the issues, depending on the issue type, the...
.NET Generics 4.0: Container Patterns and Best Practices
Jan 31 2012 09:26 PM | Posted By Sudipta Mukherjee
in General Programming
There are several generic containers and generic algorithms available in the .NET Framework and a couple of other majorly accepted APIs such as Power Collections and C5.In this article by Sudipta Mukherjee, author of .NET Generics 4.0 Beginner’s Guide, we will take a look at:Generic container patterns: There are several patterns that are used more than the others in code bases that use Generics...
Sedge: An Automated Error Reporting Tool
Jan 30 2012 02:23 PM | Posted By Andrei Marukovich
in General Programming
Download demo - 248 KBDownload source - 1.26 MBLicense: Ms-PL IntroductionEvery developer knows how important a good bug report is, and every developer wants as much details about the issue as the user can provide. There are different solutions that aim to facilitate the error reporting process, from tiny third-party components to such powerful technologies like Microsoft Windows Error Reportin...
Inter-Process Communication (IPC) Introduction and Sample Code (.net)
Jan 30 2012 02:17 PM | Posted By All-In-One Code Framework
in General Programming
Download IPC source code - 229.21 KBLicense: Ms-PL IntroductionInter-Process Communication (IPC) is a set of techniques for the exchange of data among multiple threads in one or more processes. Processes may be running on one or more computers connected by a network. IPC techniques include Named Pipes, File Mapping, Mailslot, Remote Procedure Calls (RPC), etc.In All-In-One Code Framework, we ha...
Parallel programming in .NET - Internals
Jan 30 2012 02:15 PM | Posted By Manabendra Roy (Manab)
in General Programming
Download demo - 2.67 KBLicense: Ms-PL Introduction.NET 4 brings a powerful Task library to support a piece of code to run in parallel processors. It just simply spawns threads into multiple processes using the newly written Task libraries (System.Threading.Tasks) in Mscorlib 4.0. Task libraries contain methods like For, ForEach, and Invoke to support parallelism in .NET languages, which I will...
TortoiseSVN: Revision Graphs
Jan 27 2012 02:37 AM | Posted By Lesley A. Harrison
in General Programming
TortoiseSVN is a free and open-source Subversion client for Microsoft Windows. It is not tied to any particular Integrated Development Environment (IDE); instead, it is a shell extension which integrates into the Windows Explorer, giving you easy access to Subversion repositories from within applications you're already familiar with. This means that it can be used with any software, and by...
Working with Revision Logs in TortoiseSVN
Jan 27 2012 02:34 AM | Posted By Lesley A. Harrison
in General Programming
TortoiseSVN is a popular and easy-to-use Subversion client for Microsoft Windows. It is a Windows Shell extension, and is not limited to any particular IDE. TortoiseSVN is a free software which has been released under the GNU General Public License.In this article by Lesley Harrison, author of TortoiseSVN 1.7, we shall learn about differences and changelists in TortoiseSVN 1.7Differences in det...
TortoiseSVN: Getting Started
Jan 27 2012 02:29 AM | Posted By Lesley A. Harrison
in General Programming
In this article you will get your first taste of using TortoiseSVN. This article will explain the concept of working copies and will cover how to check out a working copy, how to manage copy depth, and how to commit a copy after you have made some changes to it. This process is the nuts-and-bolts of version management and something that you will be doing a lot during your work with TortoiseSVN....
Owl's Programming Snippets
Jan 17 2012 03:20 PM | Posted By Damian Paz
in General Programming
wordpress.com —
This blog is intended to be a compilation of programming snippets I actually use in my projects. The articles are not intended to be the perfect approach to solve a necessity but more to be a guide on how to use different patterns and libraries. The source code should run on_copy_paste but I can’t guarantee I won’t make a mistake once in a while.
Collision detection and bug detection
Nov 02 2011 12:00 AM | Posted By Ronen Krendel
in General Programming
A Few months ago I decided it was about time I write my own Pacman clone. I had it all figured out except for the AI. I wanted to make a good AI, and started looking for one. Diving more and more into the Pacman’s world, I became obsessed with the AI, and trust me the Pacman AI deserves an article of its own. But it was that obsession, which led me to a decision. I’m gonna to reverse engineer t...












