c

C GTK+ : Text Completion on a GtkEntry with GtkEntryCompletion

Text completion is quite a nifty feature to have on an interactive software, saves you loads of typing, helps you remember the exact spelling on one's email, lost urls (thanks firefox 3 for the regex based search :-) )....

Gtk+ offers this ability through the use of GtkEntryCompletion that we will hook to the GtkEntry.

This tutorial will explain through a code sample how to set it up.

C: Handling large files (>2G) with standard c

Once upon a time, file size was capped to 2G because of 2^31 - 1 = 2G. Has such, open will fail on files bigger than 2G.

this tutorial will show how to get standard C to handle large file.

C: Linux Socket Programming, TCP, a simple HTTP client

Linux provide a high level socket API that will allow programmer to easily connect to any TCP or UDP services.

In this tutorial, we will see how this works by implementing a simple HTTP client which will get request a web page given the hostname and the page name, then read the server answer and output the HTML content of the reply.

Syndicate content