Sunday, November 8, 2009
Sunday, March 15, 2009
A Mysterious Story
Hi Folks,
Blame it on the recent movie 13B i saw ,I have started to like mystery movies.
and being a weird guy,i decided why not write a mystery story myself.
Should not be tough ,I presumed considering the various mysterious things that have been taking place in the world like the never ending recession , or the mysterious decisions that i have taken me, landing me in Denmark to do a masters(oh Denmark and masters in computer science,are u going to study in Denmark computers,was the mysterious question that the immigration offical in india asked me, as though he was preplexed beyond reason ,the sympatheic gentleman even asked me sir are you sure you are not taking the flight to London and are u really going to denmark to study).
i would not blame him though ,Denmark has been famous in India for the cows and for danish tool rooms and not for IT.
The amazing experience I had with some gentlemen and our sardarjis and sardranis enroute to denmark would make an intersting blog but today i have decided to write a mystery story ,so lets see the suspense:
"The protoganist in this story is a 17 year old beautiful girl .Lets call her
Kamini (Real Kaminis dont jump on me ). She is a naughty student and being the only girl child in a family of 7 brothers(govt officials dont jump at me and iam not chinese). she was the apple of their eyes. Born and studying in madurai all her life,
at the age of 17 ,life had a surprise for her. Her fater was transferred to chennai .
Kamini initially was reluctant to go to chennai as she would miss her freinds and the idylic life of madurai. Her school ,freinds and everything under the sun in madurai.
Life however is all about changes and she had to go to chennai . In chennai. she was admitted to a famous school and initially she found it tough to get used to the busy life. gone were the days when she had to lead a restricted life in madurai,here she got new freinds, a new vista opened to her.
Age and her hormonal surge made her befriend a guy ,and she even fell in love with him and they even got married secretly .
So far so good ,then one day around 5 she came home and locked herself . Her parents come in the night around 8 and despite their repeated attempts to open the door they are unable to do so. One by one the brothers come and around 9 unable to open any response ,they finally break upon the door and to their horror see a charred blackened body of Kamini.
Whats the mystery ? Why did Kamini commit suicide ?
Wait till my next blog :)
Blame it on the recent movie 13B i saw ,I have started to like mystery movies.
and being a weird guy,i decided why not write a mystery story myself.
Should not be tough ,I presumed considering the various mysterious things that have been taking place in the world like the never ending recession , or the mysterious decisions that i have taken me, landing me in Denmark to do a masters(oh Denmark and masters in computer science,are u going to study in Denmark computers,was the mysterious question that the immigration offical in india asked me, as though he was preplexed beyond reason ,the sympatheic gentleman even asked me sir are you sure you are not taking the flight to London and are u really going to denmark to study).
i would not blame him though ,Denmark has been famous in India for the cows and for danish tool rooms and not for IT.
The amazing experience I had with some gentlemen and our sardarjis and sardranis enroute to denmark would make an intersting blog but today i have decided to write a mystery story ,so lets see the suspense:
"The protoganist in this story is a 17 year old beautiful girl .Lets call her
Kamini (Real Kaminis dont jump on me ). She is a naughty student and being the only girl child in a family of 7 brothers(govt officials dont jump at me and iam not chinese). she was the apple of their eyes. Born and studying in madurai all her life,
at the age of 17 ,life had a surprise for her. Her fater was transferred to chennai .
Kamini initially was reluctant to go to chennai as she would miss her freinds and the idylic life of madurai. Her school ,freinds and everything under the sun in madurai.
Life however is all about changes and she had to go to chennai . In chennai. she was admitted to a famous school and initially she found it tough to get used to the busy life. gone were the days when she had to lead a restricted life in madurai,here she got new freinds, a new vista opened to her.
Age and her hormonal surge made her befriend a guy ,and she even fell in love with him and they even got married secretly .
So far so good ,then one day around 5 she came home and locked herself . Her parents come in the night around 8 and despite their repeated attempts to open the door they are unable to do so. One by one the brothers come and around 9 unable to open any response ,they finally break upon the door and to their horror see a charred blackened body of Kamini.
Whats the mystery ? Why did Kamini commit suicide ?
Wait till my next blog :)
Wednesday, February 7, 2007
first application in csharp
In csharp , everything is a class
This follows the java analogy where everything is a class too.
This disallows the concept of using functions without a class
IN simple terms , u want a function put it in a class :)
The starting point in any csharp application is the function Main( Note that it is
Main and not main as found in Java and C++).
This being a function is neverthless contained within a class.
Also in C# , u create projects.
The essence of creating it as a project is to facilate enterprise level developement
from scratch
and to overcome the problem posed by the make file utility
now lets get started
namespace first{ //compulsory
class classone {// remember everything is a class
public static void Main(String args[]){//captial M in main
Console.WriteLine("welcome to programming in c#");
Console.ReadLine(); //analogus to getch() in c , pause for enter before the o/p window is closed
}
}
Now
1) namespace : this is to avoid variable naming collison
analogous to package and can be imported.
2)args-----> here csharp follows the syntax of java
unlike c,c++ which have two feilds argc and argv
there is only one argv
and note that argv[0] contains the first argument and not the
program name as in c and c++
this is similar to the java enviornment.
3) Note the definition of a new data type String
Once again Java has been copied here
4) Console.Readline and Console.WriteLine :
These are used to read from and write to the console.
Strange that they are contained in the namespace System.
One thing about Console.ReadLine ,
this differs from your scanf and cin , in the sense that it does not take
any arguments.
it rather returns a string
so we ought to parse it
for ex:
double a ;
a = double.parse(Console.ReadLine());
This is analogous to Java and vb
This follows the java analogy where everything is a class too.
This disallows the concept of using functions without a class
IN simple terms , u want a function put it in a class :)
The starting point in any csharp application is the function Main( Note that it is
Main and not main as found in Java and C++).
This being a function is neverthless contained within a class.
Also in C# , u create projects.
The essence of creating it as a project is to facilate enterprise level developement
from scratch
and to overcome the problem posed by the make file utility
now lets get started
namespace first{ //compulsory
class classone {// remember everything is a class
public static void Main(String args[]){//captial M in main
Console.WriteLine("welcome to programming in c#");
Console.ReadLine(); //analogus to getch() in c , pause for enter before the o/p window is closed
}
}
Now
1) namespace : this is to avoid variable naming collison
analogous to package and can be imported.
2)args-----> here csharp follows the syntax of java
unlike c,c++ which have two feilds argc and argv
there is only one argv
and note that argv[0] contains the first argument and not the
program name as in c and c++
this is similar to the java enviornment.
3) Note the definition of a new data type String
Once again Java has been copied here
4) Console.Readline and Console.WriteLine :
These are used to read from and write to the console.
Strange that they are contained in the namespace System.
One thing about Console.ReadLine ,
this differs from your scanf and cin , in the sense that it does not take
any arguments.
it rather returns a string
so we ought to parse it
for ex:
double a ;
a = double.parse(Console.ReadLine());
This is analogous to Java and vb
C# lesson1
Dot net is the microsofts new buzz word.
One of the advantage of using this platform is that it ensures cross language and cross platform
Compliance.
This is possible due to the use of a Common Language Runtime , which ensures that at Runtime
no matter what the language it has been coded in , the written code is compiled to the native code.
This is analagous to java , with the term byte code being replaced by the bombastic Common Language Runtime.
One of the Languages supported by Dotnet is C#.
I begin my tutorials , directly getting to the main aspects of C#.
One of the advantage of using this platform is that it ensures cross language and cross platform
Compliance.
This is possible due to the use of a Common Language Runtime , which ensures that at Runtime
no matter what the language it has been coded in , the written code is compiled to the native code.
This is analagous to java , with the term byte code being replaced by the bombastic Common Language Runtime.
One of the Languages supported by Dotnet is C#.
I begin my tutorials , directly getting to the main aspects of C#.
Subscribe to:
Posts (Atom)