Friday, 21 February 2014

How to run a C or C++ program in Visual Studio IDE ?

Compiling and running a C program in Visual Studio is not a big and tedious stuff. Its after all a simple trick.
In this article, I have given the details to bend Visual Studio to do your job.



1. Select File > New > Project or press CTRL + shift + N.

2. In the dialog box which just appeared , in the left pane select Templates > Visual C++ .  In the Middle Pane, select "Win 32 console Application". In the bottom pane , enter the name for your project in the "Name" text box and click OK.

3. Next a wizard appears. In the first window just click Next and proceed. In the Second window, Select the 'Empty Project' check box under Additional Options and click Finish.

4. Now you would be seeing the working space and we are going to create the C or C++ file where you are going to type your program codes. You must be seeing the "Solution Explorer" pane either at the left or right side of the window. If it is not visible, make it visible by selecting View > Solution Explorer or press Ctrl + Alt + L.

5. In the solution explorer pane, expand your project folder and you must see four folders and the select the last folder named "Source Files" and Right click on it and select Add > New Item.

6. A new dialog box appears. Here select C++ File(.cpp). You can run both C and C++ programs using this file. Enter a name for your file at the bottom of the window and click "Add".

7. Type in your program here. Save the File. Press F5 to compile and check for errors. Select Debug > Start without Debugging to run the program. The program runs in the Command Prompt console.


Cheers !!

Thursday, 20 February 2014

How to make your Windows Desktop more attractive and informative

Every one likes to a desktop look more beautiful .So they use different backgrounds and try different themes. Whatever they do it doesn't make their desktop informative , that is , it doesn't provide them the information they want them about their pc. Here I give a some easy ways to make it look beautiful as well as informative. Below is the image of how my desktop looks like.


The left panel shows feed updates from favourite websites.You can also add feeds from a Facebook page too. At the center is the widget which can show your computer time, your mails, weather of your city, stats about your CPU, hard disk and wireless network. To show the number of unread emails and weather status, you have to provide information to set it up and most importantly your computer must be connected to the network.  The right panel shows Notes, which you can edit yourselves, CPU information, currently played music information, Google search panel, Speaker volume control and recycle bin.

Things needed: 

1.  Background : You can choose the background you want. Its good if its a solid color.

2.   Rainmeter : This is the software which is needed to run and control the following skins.

3.   Enigma : This skin has different widgets and you can choose which one must be displayed on your                                  
                    screen.
4.  Ventuz : This is the skin you see on the center of the image above.
                                                (OR)
     5.   Arcs : If you are contended you can choose this simple skin which is a digital clock.


    Setting Things Up:

       
    Well lets start setting things up. First of all, clear all the annoying shortcuts and icons from the desktop because it is on the top most list which makes your desktop awful. Apply the selected desktop background of yours. Download Rainmeter and install it. Now download the skins and open it. It opens automatically with the help of Rainmeter. Now start arranging the widgets on the place of your wish. Its easy just click and drag the ones you want to move to required place and it becomes its permanent place. To make it undraggable further right click on the widget and select "Settings" and uncheck the "Draggable" option.

    Feeding the information:

    Lets start feeding the information.
    Right click on any widget of the Enigma skin and select Enigma --> Options --> Options.ini . This would open a settings panel as follows. Informations given here would be shared by the Ventuz skin too. 



    Powered by Blogger.

     

    © 2013 VirtualVeins. All rights resevered. Designed by Templateism

    Back To Top