Ae got the opportunity for designing the poster, brochure,flex, website and logo for the event. Most of the work is completed by now.
For further information go to http://www.eniac08.com
Check back for updated info.
Ae got the opportunity for designing the poster, brochure,flex, website and logo for the event. Most of the work is completed by now.
For further information go to http://www.eniac08.com
Check back for updated info.
Programming .....
The following is a C++ program to calculate file size of a file. It has been tested to correctly report file sizes upto 4Gb, ofcourse used 32 bit compiler!
--Begin--
/* getFileSize.cpp
* Gets the file size of a DiskFile
*
* Midhun Hk (Centrum inc Software Solutions)
* July 2008
* $ v 0.1
**/
# inculde <ifstream>
void main()
{
ifstream is;
unsigned long fileSize = 0L;
is.open("FileName.bin"); // Open the file
if(is.good()) // If file is opened successfully
{
// calculate FileSize
is.seekg(0,ios::end); // move 0 bytes from end
fileSize = is.tellg(); // get offset
is.seekg(0,ios::beg); // rewind
}
cout<<"File Size is : "<<fileSize<<:" bytes";
}
--End--
Hope this has been useful.
This is a technical post that i guess most dot net developers might find useful. I was looking for this for a long time and had to do a lot of time wasting techniques to get stuff sorted out earlier.
If you are trying to do some ASP.NET programming, and if for some reason installed the IIS Server (Internet Information Services) after installing Visual Studio, the web application would not run. I did this using Microsft Visual Studio.net 2003, so dont know about what differences there are in this respect with 2005 and 2008.
In this scenario, i was told to uninsatll IIS and Visual Studio, restart the PC, Install IIS first and then the Visual Studio. This was so time consuming and this was the scenerio in our college lab. So most of my classmates had to do this tedious process when they had to run their mini projects. The problem was aggrevated with the lab having only 2 CD Drives.
Ok, so whats the solution? There is an application called "Administration Utility". It manages the installation and uninstallation of multiple versions of ASP.NET on a single machine.
Located in the directory "%windir%\Microsoft.NET\Framework\v1.1.4322", where %windir% points to your windows installation dirtectory like c:\winnt\ or d:\windows\
If multiple versions of the framework are insatlled, you can see various directories in the Framework folder with the version numbers of the frameworks.
Open up the command Prompt and reach this directory, use
cd "%windir%\Microsoft.NET\Framework\v1.1.4322"
at the command prompt to reach there.
Okay, now you need to invoke the application named "aspnet_regiis.exe". This is the administration utility and is command oriented.
If you type "aspnet_regiis" at the command prompt, it will display the syntax to use. Of them the first two may be of interest.
-i - Install this version of ASP.NET and update scriptmaps
at the IIS metabase root and for all scriptmaps below
the root. Existing scriptmaps of lower version are
upgraded to this version.
-ir - Install this version of ASP.NET, register only. Do
not update scriptmaps in IIS.
So you may use
aspnet_regiis -i
or
aspnet_regiis -ir
to do the job.
Hope this has been useful, :)
Yes it was heart break at the end, but it was a match in which the young Theo matured and showed all his doubters that he is a world class player. It all happened at Anfield on 7th April 2008, in the second leg of the champions league quarter final match.
Liverpool were ahead after scoring an away goal at the Emirates in the first leg although the score was 1-1, they needed just a draw to secure their birth semi finals. I knew they would play shitty football to ensure this, and thats what Liverpool did.
Arsenal had massive amounts of possession, but lacked the cool finish and Liverpool players were all over in the box with just one or two players near the middle line. Some time into the second half and the score was 2 - 1 to Liverpool . We were losing although playing beautiful football. Some refereeing decisions did go against us.
Then in the second half, Arsene Wenger introduced "Theo Walcott" hoping he would be able to make the same effect as he had done at San Siro when we beat AC Milan at their home 0 - 2, thanks to a howler from Cesc and the second was crafted by Theo giving an incisive pass to Adebayor....
What hapened that night at Anfield?
"Theo Walcott gets past atleast four Liverpool players and then finishes his remarkable run with the perfect assist to Adebayor!"
Watch the video for words cannot really explain the class.
