C programming tutorials

Get Web Page Contents in Code with C#

Contributed by johnnythawte on December 27, 2006 under C programming

When you are developing an application that needs to access data stored on a web server, you can easily get the contents of a web page with this simple C# function.

Comments
 

Pause Output From a Command Line Application in .NET Debug Mode

Contributed by johnnythawte on December 22, 2006 under C programming

If you are writing a command line application in .NET, you might notice that the application closes immediately if you haven’t set a breakpoint. This recipe shows you the one line method to keep the application open so you can see the output.

Comments
 

Make System Tray Based Application in .NET

Contributed by johnnythawte on December 20, 2006 under C programming

Creating an application that lives in the system tray is easy, but it is not entirely obvious how to do so in Visual Studio. This recipe will show you the steps.

Comments
 

Open a URL in the Default Browser in Your .NET Application

Contributed by johnnythawte on December 11, 2006 under C programming

Virtually every application these days requires at least some connection to the internet. Letting the user click a link and open it in their browser is essential. This recipe shows you the 1 line method of doing so.

Comments
 

Pass Variables to a New Thread in C#

Contributed by johnnythawte on December 9, 2006 under C programming

When you create a new thread in .net 1.1, you cannot pass any parameters to the ThreadStart delegate, which makes passing startup variables difficult. This recipe shows you an easy workaround.

Comments
 

Load an Icon from an Embedded Resource in .NET

Contributed by johnnythawte on under C programming

When you are developing a Windows Forms application in .NET, it’s not immediately obvious how to programatically load an icon file embedded in your executable. This recipe shows you the 1 line solution.

Comments
 

C/C++ Doubly Linked List

Contributed by William_Wilson on June 25, 2006 under C programming

The implementation of a doubly linked list, remove prev pointer for a singly linked list

Comments
 

C++: Template Classes

Contributed by William_Wilson on March 14, 2006 under C programming

How to layout a template class and what it’s good for.

Comments