Browsing articles in "Programming"
Feb
26
2012

Socket Programming in Java (Part 2)

java-tutorial

After a prolonged break forced on by my busy schedule am back with my series of stones on the basics of socket programming in Java. In my previous post I told you about the bare bones of socket programming. Questions such as, “what are sockets?”, “what protocols will we be using” was dealt with in my previous post, if you haven’t gone through that I suggest you do before reading further on in this article. [...]

Share
Feb
7
2012

Creating a Facebook Application: “Hello World!”

facebook apps

Many of us have spent hours playing games like Farmville, Sims, taking quiz like ‘When are you going to marry’, ‘Who will kill you’ etc in Facebook. Ever wondered how they are built? Ever wanted to built something like that? Ever felt like making your own app to amaze your friends? Don’t worry, it isn’t that difficult. In this series, I will talk about building a Facebook Application from scratch and by the end of [...]

Share
Jan
17
2012

Understanding Segmentation Fault with C Code Snippets

step1_002_c

Coding is a difficult job for the best of us. It takes a lot of time, effort and patience. The fact that there are so many types of errors possible and most of them are misunderstood makes the job of coding very tedious. One of these irritating errors is the Segmentation Fault and in this stone I will try and explain why this error occurs and then how to solve them. Segmentation is a memory [...]

Share
Dec
28
2011

Getting Started with Socket Programming in Java

java

The world today has probably more than a good billion computers in operation right now and almost all of them are connected to each other at one time or other. Networking between computers gives an additional dimension to using this amazing creation. Network Programming in Java is really simple; it uses something called sockets to facilitate communication between any two machines. In this series of stone I will focus on network programming in java. To [...]

Share
Dec
24
2011

Create a ‘makefile’

linux_terminal_debian

When working with a C project we might have multiple .c files in the same project. Having to compile each and every source file after some alterations in one of them would be a painful task. Hence to avoid this , we make use of the make utility which reads its makefile and makes the building and managing of our C project lot more easier. Thus when one of the .c files is changed , [...]

Share
Dec
14
2011

Netbeans Shortcut ( Part II )

netbeans-shorcut

Continuing on my series of stones on Netbeans, I bring on the second part of the shortcuts in Netbeans. This post will primarily deal with the various coding shortcuts NetBeans has to offer along with a few editor code templates. So without any further ado let’s begin. Move/copy up/down. Press Ctrl-Shift-Up and the current selection are copied to the lines right above the current selection. Press Alt instead of Ctrl and it is moved instead [...]

Share
Sep
25
2011

VIM Plugins for C / C++ developers

timthumb.php

Following up on my previous post on Essential Vim Plugins for Web Developers, I have decided to tell you about the awesomeness of the C / C++ plugin for Vim in this article. Now to get things going, let’s start by thinking what are the basic stuffs that you would be carrying out as a C / C++ developer? Include header files, some functions, loops, conditional statements and a main function. These are some repetitive [...]

Share
Pages:12»