Our Software Development forum encompasses topics related to native application programming design and development.

60 39 39 36 36 34 32 31 30 30
Member Avatar
Note: In Python 2.7 use: ... to use examples. In Python, by default, the key and value pairs in a dictionary are stored as hashes, therefore dictionaries do not retain the order in which values were added, and cannot be ordered. ... No order at all. To maintain an ordered …
by BustACode 15 in Software Development ()
Member Avatar
Performing Selective Includes in Entity Framework with the Fluent API When we are using Entity Framework as our data access choice to work with SQL Server then there are some potential pitfalls. One of these pitfalls is doing selective includes. What do I mean by selective includes? To answer that …
by DaveAmour 160 in Software Development ()
Member Avatar
Oh No, not another LockBits demo. Well hopefully this demo may also give you a little in site into actually playing with, and calculating some simple effects as well as understanding the advantages of LockBits as apposed to GetPixel and SetPixel. A Useful Note. It is important to note that …
by J.C. SolvoTerra 109 in Software Development ()
Member Avatar
Problems 1: Spiral matrix - Advanced Source of the problem: ... Spiral matrix is formed by filling number 1 in 1st row 1st column, after that, filling with increasing number by clockwise, example: ... Write a program that inform the value of cell (x, y) of a square spiral matrix …
by Gà_1 in Software Development ()
Member Avatar
This tutorial is the first time I write about coding techniques for improving the performance of software. This is going to be a step-by-step journey through a real example, with real benchmark results at every step so that you can see the effect of the different optimization techniques. And as …
by mike_2000_17 2,669 in Software Development ()
Member Avatar
vb.net 2010 Windows Pro 7 Create a Video Library with an Embedded Windows Media Player I have close to 400 video clips in my home movie library. In order to quickly locate any given video I have added certain words into the file names. Even so, locating specific files is …
by Reverend Jim 1,173 in Software Development ()
Member Avatar
Sometimes there are functions you want your program to perform in the background while you are busy doing other things. For example, if you are building a picture viewer application you may not want to wait until thumbnails are generated before getting on with the business of viewing the pictures. …
by Reverend Jim 1,173 in Software Development ()
Member Avatar
I will be showing how to pass data between two forms in C#. I will be using two forms, two classes which we will define, a delegate, an event, and an event handler. It is a bit long because I wanted to make it easy to follow. If you want …
by cgeier 187 in Software Development ()
Member Avatar
Have you ever wanted to develop a math parser and evaluator? Are you in such a quandary or just have curiosity or interest in the matter? If so, you may download the complete source version 8.3.48 or later, but be warned there is almost no comment; or instead, follow versions …
by xrj 19 in Software Development ()
Member Avatar
I will be showing how to pass data between two forms in VB .NET. I will be using two forms, two classes which we will define, a delegate, an event, and an event handler. It is my first tutorial and is a bit long because I wanted to make it …
by cgeier 187 in Software Development ()
Member Avatar
As usual, after learning new stuff, I write on it. Yesterday I finished learning on "Functions in C++" and found that functions are very easy to learn and useful. Hope this tutorial helps beginners. What is function? Sometimes when we want to execute a specific task wherever it's needed, instead …
by Learner010 99 in Software Development ()
Member Avatar
Following up on a discussion on , I did some tests on the performance of recursion vs. iteration, and some interesting things happened, so I thought I would share the results. I'm gonna structure this a bit like a lab-report, because that's really the best way to put it. But …
by mike_2000_17 2,669 in Software Development ()
Member Avatar
Introduction The subject of this tutorial is a bit more advanced than the subjects I have tackled in the past, but I hope this will find some interested readers. From time to time in C++, programmers find themselves torn apart between using a Generic Programming style which primarily involves the …
by mike_2000_17 2,669 in Software Development ()
Member Avatar
Why Use Arrays? Let's begin by considering why arrays might be needed. What is the problem that this feature solves? How does it make your life as a programmer easier? When studying new features, it's important to recognize what that feature does for you and where the incentive is in …
by deceptikon 1,711 in Software Development ()
Member Avatar
Yesterday i completed my exercises on loop , that's why today i've decided to create a tutorial on loop in c++. Loop loop allows us to repeat a statement or a group of statements. When we want to repeat a single statement then it is not necessary to put curly …
by Learner010 99 in Software Development ()
Member Avatar
Introduction A recurring problem many newcomers face when tackling C++ is the compilation process, from sources to binaries. This tutorial will detail that process. It will be especially useful for people only familiar with higher-level languages (if any), but veterans of one or more native languages (C, Fortran, C++, D, …
by mike_2000_17 2,669 in Software Development ()
Member Avatar
Tutorial On Operators Operators are the signs to the tell the compiler to perform specific task. The Operators fall into following categories :- Arithmatic operators:- There are following arithmetic operators:- Relational Operator :- Relational Operators are used to compare 2 values and result in true [1] or false [0]. Lets …
by Learner010 99 in Software Development ()
Member Avatar
This tutorial is designed to get someone started with D that hasn't used it yet, it assumes you have some type of programming experience. What is D? In one sentence (from ) "D is a language with C-like syntax and static typing. It pragmatically combines efficiency, control, and modeling power, …
by NardCake 30 in Software Development ()
Member Avatar
Hi All! This article is mainly focused at someone who is completely new to Software versioning. In this article, we see how Git can be used as a tool for versioning software. Please note that this is very brief. There are many videos/articles that deal in detail. 1) What is …
by myk45 48 in Software Development ()
Member Avatar
Wouldn't it be nice to have a sizable command button in VB6? Face it. In the hidden recesses of your mind you have always wanted to be able to resize that command button in VB6--after the program is running that is. It's just that VB6 has not provided you with …
by hkdani 39 in Software Development ()
Member Avatar
Beginner's guide to C++0x: Avoiding Memory Problems by Design of Ownership If you ever read any resources on C++ programming or object-oriented programming, you must have heard some rethorics like "inheritance is for the is a relation, composition is for the has a relation". Is that all? Is that the …
by mike_2000_17 2,669 in Software Development ()
Member Avatar
Beginner's Guide to C++0x: The Big Five - Implementing a Resource-holding RAII Class This tutorial will show how to implement a resource-holding class showing practical use of C++0x features. A resource-holding class is any class which holds, with its data members, a resource which could include:dynamically allocated memory an internet …
by mike_2000_17 2,669 in Software Development ()
Member Avatar
Building your first DYNAMIC Database application. This is Part One of a four part tutorial on how to install and use your database, Part Two will teach you how to build successful connections and Part Three will teach you how to build database interaction and management of your databases. There …
by AndreRet 362 in Software Development ()
Member Avatar
This is not really a code snippet, but more a tutorial on what to look out for when installing your application in Vista or in Windows 7. Thanks to so many posters that did the trial and error on so many other sites. It is much appreciated. Modifications Required for …
by AndreRet 362 in Software Development ()
Member Avatar
With the recent release of Visual Studio 2010, Microsoft has updated.NET and the C# language, both now at version 4. One of the new features of C# is the ability to handle dynamic types. But what exactly does that mean? Essentially, if you're very careful, you can use C# in …
by jeffcogswell 175 in Software Development ()
Member Avatar
Here's a simple tutorial on dictionaries in Python: Dictionaries: Dictionaries are similar to other compound types except that they can use any immutable type as an index. One way to create a dictionary is to start with the empty dictionary and add items. The empty dictionary is denoted {}: end2sp …
by masterofpuppets 19 in Software Development ()
Member Avatar
!USING PYTHON 3.1! Hello DaniWeb! Today I'm going to be posting a simple threading tutorial. First of all, what is threading? Well, threading is just another way of doing a side task without interrupting the main program. Now here's a simple example. Let's say we are going to make a …
by AutoPython 5 in Software Development ()
Member Avatar
Regex is one of the more complicated modules that you can use in python. Once you have learnt it though you can use it many different programming languages, so its a useful tool for using with strings. So first to use regex you must import it import re This loads …
by Paul Thompson 178 in Software Development ()
Member Avatar
!USING PYTHON 3.1! Hello DaniWeb! Today I'm going to teach you a cool variable trick that I learned. So here's an example: a, b, c = input('?x?x?: ').split('x') Now let's input something like: >>> a, b, c = input('?x?x?: ').split('x') ?x?x?: 1x2x3 Now, variable 'a' is set to 1, variable …
by AutoPython 5 in Software Development ()
Member Avatar
User input/output is a key component in the programs you write, yet most online tutorials just provide a quick-and-dirty method of grabbing data. In other words, it works right up until the point the user does something unexpected. In this tutorial you will learn how to avoid the common mistakes …
by John A 1,896 in Software Development ()
Chat Log Latest Posts