Monthly Archives: March 2008

C# code to track the live entries in a file

using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using System.Drawing;using System.Text;using System.Windows.Forms;using System.Threading;using System.IO; namespace Live_Tracker{    public partial class Form1 : Form    {        Thread t;        public static String fileLocation;        public static String stringToSearch;        public Form1()        {            InitializeComponent();        }         public class ProgExec        {            public … Continue reading

Posted in Information Technology | Leave a comment

How to compile a C program in Visual Studio 2005?

Start à All Programs à Microsoft Visual Studio 2005 à Visual Studio Tools à Visual Studio 2005 Command Prompt. Once at the command prompt, type “notepad test.c”. Write the C code in the test.c – Notepad, save it and close. … Continue reading

Posted in Information Technology | Leave a comment

Management Lesson

One fine day, a bus driver went to the bus garage, started his bus, and drove off along the route. No problems for the first few stops – a few people got on, a few got off, and things went … Continue reading

Posted in Entertainment | Leave a comment

How developer fixes bugs?

How to remove this bug from my code???? #include <stdio.h>#define LAST 10 int main() {int i, sum = 0; for ( i = 1; i < = LAST; i++ ) {      sum += i; } /*-for-*/ printf("sum = … Continue reading

Posted in Entertainment | Leave a comment

African Running Proverb

“Every morning in Africa, an antelope wakes up. It knows it must outrun the fastest lion, or it will be killed. Every morning in Africa, a lion wakes up. It knows it must run faster than the slowest antelope, or … Continue reading

Posted in Entertainment | Leave a comment