rohan
In the zone
was bored and tinkering around with VS08.. and ended up with this:
*img261.imageshack.us/img261/1358/hindiprogrammingsp7.th.png
and well.. just so that you know.. this compiles perfectly with VS08 [and VS05 too]
the source along with the executable is bundled along.. don't try running the exe file on ur standard console.. it's unicode output so you'll just see junk. Use an unicode-enabled console or output to file while running...
to explain a few things:
उप्योगित नेमस्पेस सटड; translates to: using namespace std;
अंक, फ़्लोट, वर्ण translate to int, float and char
कबाहर translates to cout, कअन्दर translates to cin
अगर - वरना translates to if - else
somethings i forgot to add:
जबतक - for loop
तबतक - while loop; तबतक ... करो : do ... while loop
also.. i didn't have luck with hindi numerals.. have to work with latin ones only..
and .. seriously.. don't try this at home.. you'll be tearing your hair apart when the compiler starts giving errors just because u missed a matra somewhere
*img261.imageshack.us/img261/1358/hindiprogrammingsp7.th.png
and well.. just so that you know.. this compiles perfectly with VS08 [and VS05 too]
the source along with the executable is bundled along.. don't try running the exe file on ur standard console.. it's unicode output so you'll just see junk. Use an unicode-enabled console or output to file while running...
to explain a few things:
उप्योगित नेमस्पेस सटड; translates to: using namespace std;
अंक, फ़्लोट, वर्ण translate to int, float and char
कबाहर translates to cout, कअन्दर translates to cin
अगर - वरना translates to if - else
somethings i forgot to add:
जबतक - for loop
तबतक - while loop; तबतक ... करो : do ... while loop
also.. i didn't have luck with hindi numerals.. have to work with latin ones only..
and .. seriously.. don't try this at home.. you'll be tearing your hair apart when the compiler starts giving errors just because u missed a matra somewhere