Tuesday, December 28, 2010

How to Run TurboC in full screen on Windows Vista

I learnt C and C++ programming on windows 98 and have worked on windows XP, which showed a full screen turboC window to work on.(and cheat during exams).
But today’s leading operating systems like Vista (32 bit) do not support a full screen view of turbo C. There is a very simple 5 step solution that will make our Turbo C / C++ screen full screen and running.
  1. Open tc.exe from c:/tc/bin/tc.exe.
  2. It may show you a warning message that it does not support full screen mode, click ignore. 

     3. On the top left corner of this small turbo c window, left click with your mouse and select properties from the menu and then select Font tab. There will be only 2 options in the font tab: ‘Raster’ and ‘Lucida Console’.


     4.  Select and ‘Lucida Console’ font if it’s not selected and set the font size to 28.

     5.  Next, Select the Layout tab and do the following:
  •    Unselect ‘Let system position window’ check box. 
  •    Set Screen Buffer Size: Width 82 and Height 28. 
  •    Set Window Size: Width 80 and Height 26. 
  •    Set Window Position: Left: -4 Top: -4 

And you are ready to code... Happy coding!!!
Note that these numbers i gave you suit me and my laptop's settings, you can play around with them to get the best result for your computer. 
PS: If you don’t have Turbo C setup, click here to download it Now or mail me at idontloveu@gmail.com to get a copy of turboC .

Sunday, December 26, 2010

How to add Northwind databse to sql server 2005

Hi Everybody,
Northwind database is a free sample database provided by Microsoft and is a really nice practice database. it covers almost all the aspects of sql queries that you may ever encounter.
if you are using sql server 2005 management studio, you dont get Northwind by default.
so here is a quick 4 step guide to install Northwind into SQL server 2005 management studio.
Step 1. Click here to download Northwind.msi.
Step 2. Run and install the downloaded file.
Step 3. The installation will make a C:\SQL Server 2000 Sample Databases folder, open sql server 2005, click on file>>Open>>file>> and point it to a file called instnwnd.sql at the location mentioned above. 








Step 4. It will open a huge query file in the sql server, now just press f5 to execute this and the northwind database will be ready in your object explorer.
Happy practicing !!!

Tuesday, December 28, 2010

How to Run TurboC in full screen on Windows Vista

I learnt C and C++ programming on windows 98 and have worked on windows XP, which showed a full screen turboC window to work on.(and cheat during exams).
But today’s leading operating systems like Vista (32 bit) do not support a full screen view of turbo C. There is a very simple 5 step solution that will make our Turbo C / C++ screen full screen and running.
  1. Open tc.exe from c:/tc/bin/tc.exe.
  2. It may show you a warning message that it does not support full screen mode, click ignore. 

     3. On the top left corner of this small turbo c window, left click with your mouse and select properties from the menu and then select Font tab. There will be only 2 options in the font tab: ‘Raster’ and ‘Lucida Console’.


     4.  Select and ‘Lucida Console’ font if it’s not selected and set the font size to 28.

     5.  Next, Select the Layout tab and do the following:
  •    Unselect ‘Let system position window’ check box. 
  •    Set Screen Buffer Size: Width 82 and Height 28. 
  •    Set Window Size: Width 80 and Height 26. 
  •    Set Window Position: Left: -4 Top: -4 

And you are ready to code... Happy coding!!!
Note that these numbers i gave you suit me and my laptop's settings, you can play around with them to get the best result for your computer. 
PS: If you don’t have Turbo C setup, click here to download it Now or mail me at idontloveu@gmail.com to get a copy of turboC .

Sunday, December 26, 2010

How to add Northwind databse to sql server 2005

Hi Everybody,
Northwind database is a free sample database provided by Microsoft and is a really nice practice database. it covers almost all the aspects of sql queries that you may ever encounter.
if you are using sql server 2005 management studio, you dont get Northwind by default.
so here is a quick 4 step guide to install Northwind into SQL server 2005 management studio.
Step 1. Click here to download Northwind.msi.
Step 2. Run and install the downloaded file.
Step 3. The installation will make a C:\SQL Server 2000 Sample Databases folder, open sql server 2005, click on file>>Open>>file>> and point it to a file called instnwnd.sql at the location mentioned above. 








Step 4. It will open a huge query file in the sql server, now just press f5 to execute this and the northwind database will be ready in your object explorer.
Happy practicing !!!