Posts

Showing posts from June, 2013

Compile and Run C Program using Visual Studio 2012 Express

Image
You can compile and run a C program using Microsoft Visual Studio 2012 Express editions. This procedure has been tested using Visual Studio Express for Desktop running on Windows 7. Windows 8 users may try this procedure provided you install Visual Studio Express for Desktop. There are two methods to run and compile a C program. The first method is using command line and the second method is using Visual Studio IDE. Compile C Program in Command Line using VS Express 1. Select Start >> All Programs >> Microsoft Visual Studio 2012 >> Visual Studio Tools >> Developer Command Prompt for VS2012 . See below. 2. Launch the "Developer Command Prompt for VS2012". 3. Navigate to the location where you wrote the program. 4. Compile the program using the command cl <program_name.c> 5. The obj file and exe file will be created using the same program name. Example: I've wrote this simple program using notepad and save

Install Lubuntu 13.04 on VirtualBox

Image
Lubuntu is another version of Ubuntu using a light weight desktop environment. The desktop screen is not as appealing as Ubuntu but it can run on less memory or older computer. Setting up Virtual Machine On VirtualBox select "New".  Enter the name of virtual machine. Click "Continue". Set your memory allocation for this vm. Click "Continue". Select an existing virtual hard drive or create a new one. Click "Create". If you are creating a new virtual hard drive, select the hard drive file type. Select the default. Click "Continue". Select "Dynamically allocated" and click "Continue". Name the virtual hard drive and select the virtual hard drive size. Click "Create". It is advisable to change the display setting of the virtual machine you just created. Right click your virtual machine and select "Settings". Click "Display"

Install Linux Mint 15 MATE Desktop in VirtualBox

Image
The following installation instruction is to install Linux Mint 15 MATE desktop 64-bit version to VirtualBox. Setting up Virtual Machine On VirtualBox select "New". Enter the name of virtual machine. Click "Continue". Set your memory allocation for this vm. Click "Continue". Select an existing virtual hard drive or create a new one. Default is creating a new one. Click "Create". If you are creating a new virtual hard drive, select the hard drive file type. Select the default. Click "Continue". Select "Dynamically allocated" and click "Continue". Name the virtual hard drive and select the virtual hard drive size. Click "Create". You are back to the virtual machine manager screen. In the mean time you can right click the virtual machine you've just created and change the setting. One recommended change is to increase the