Skip to main content

How to Install C++ on Windows and Mac

C++ is a general-purpose programming language. It has imperative, object-oriented and generic programming features, while also providing facilities for low-level memory manipulation.

It was designed with a bias toward system programming and embedded, resource-constrained and large systems, with performance, efficiency and flexibility of use as its design highlights.C++ has also been found useful in many other contexts, with key strengths being software infrastructure and resource-constrained applications,including desktop applications, servers (e.g. e-commerce, web search or SQL servers), and performance-critical applications (e.g. telephone switches or space probes). C++ is a compiled language, with implementations of it available on many platforms and provided by various organizations, including the Free Software Foundation (FSF's GCC), LLVM, Microsoft, Intel and IBM.

To Download C++ -------> Click Here

Installing C++ in Windows :
Step 1: First you have to download C++ from the above given link.
Step 2: After you have downloaded C++, Extract the Zip file there only.












Step 3: Once you have extracted the Zip file double Click on the Setup.exe .











Step 4: A Dialog Box will be Displayed, Click on the Next button.












Step 5: Now Click on the I accept the Terms in the Licence Agreement radio button and then Click on the Next button.












Step 6: Now Click on the Install Button.












Step 7: And Finally Click on the Finish Button.













Step 8: Now the C++ has been installed on your Windows and to run it Click on the Start Turbo C++ Button.











Installing C++ in Mac :

Installing Xcode :
Xcode is a free development package offered by Apple that you will need. Follow these steps to install it first:
1.    Open the Safari browser and go to the Apple Developer site.
2.    Click on Download Xcode to get the most recent version.
This will open the Xcode download dialog box shown in this figure









3.    Click on the Free icon to change it to Install App. Click on it again.
4.    Enter your system password (the one you log in with when your Mac boots up).
The icon changes to Installing.
The download and installation takes quite some time, as Xcode is a little over 2GB as of this writing.
Installing the Command Line Tools :
As big as Xcode is, you would think that it has everything you need, but you would be wrong. You need one more package from Apple to make your joy complete and to get a working gcc compiler on your Macintosh. Follow these steps to install the Command Line Tools for Xcode:
1.    Open the Safari browser and go to Apple Developer Download website.
You may be asked to sign up for an Apple Developer ID. Go ahead and do so — it’s free.
2.    Search for Command Line Tools for Xcode. Select the application shown in the following figure. Click on the Download icon.
3.    Double-click on the mpkg package that downloads to install it.
4.    Accept all of the default values.
The installation should finish with Installation Was Successful.











Installing Code::Blocks
Now, you can finish your installation by downloading the Code::Blocks editor:
1.    Open the Safari browser and go to Code::Blocks Download page.
2.    Click on Downloads→Binaries.
3.    Click on Mac OS X.
4.    Select either the BerliOS or Sourceforge.net mirror for the most recent version.
At the time of this writing, CodeBlocks-13.12 -mac.zip was the most recent.
5.    Install the downloaded Zip file into the Applications folder.
If you have never installed an application from a third-party site, you may need to execute these extra steps before you can do so:
1.    Click on System Preferences.
2.    Click on Security and Privacy.
3.    Click the padlock in the lower-left corner of the dialog box to allow changes.
4.    Click on Allow Applications Downloaded from: Anywhere, as shown in the following figure.
Once you have completed the installation of Code::Blocks, you may choose to return to this dialog box and restore the settings to Mac App Store.











6.    Double-click on the Code::Blocks icon.
The first time you do this, the Mac OS will ask, “Are you sure you want to open it?”
7.    Select Don’t Warn Me When Opening Applications on This Disk Image and click Open.
Code::Blocks should start and find the gcc compiler installed with the Command Line Tools.
8.    Select the gcc compiler, as shown in the following figure. Click on Set as Default and then click on OK to continue starting Code::Blocks.
Code::Blocks will open with a banner page followed by a menu across the top of the dialog box.
9.    Select Settings→Compiler, then click the Have g++ Follow the Coming C++0x ISO C++ Language Standard. Click on OK to close the dialog box.
You are now ready to build your first C++ program.









Note :
Our Some of this article material is taken from Wikipedia.com and Dummies.com

Comments

Popular posts from this blog

How to hack Andriod using Stagefright Vulnerability

Today i am going to demonstrate a exploit to take reverse shell in android,before i explain the demo i want to explain some things related to  this hack or exploit and also this for education and awareness about security of your devices.
What is Stagefright?
Android includes Stagefright, a media playback engine at the native level that has built-in software-based codecs for popular media formats.

Stagefright audio and video playback features include integration with OpenMAX codecs, session management, time-synchronized rendering, transport control, and DRM.

Stagefright also supports integration with custom hardware codecs provided by you. To set a hardware path to encode 
and decode media, you must implement a hardware-based codec as an OpenMax IL (Integration Layer) component.  

How hacker can exploit this Stagefright Library?
This critical vulnerability was discovered by a researcher at Cyber Security Firm called Zimperium. This  vulnerability is a type of buffer overflow attack and in thi…

The Best way to Track your Facebook Login Location and Receive the Login Alerts

I think about One-Fourth of the total world population is on Facebook and Whatsapp. Facebook hacking has become common so we all should look towards our safety so that no one else could use our account for something doing illegal purposes and we should know that when our account was last logged in and from which location.

By the Way Facebook provides both the Features for your Safety and has a lot of many Additional Features.When someone or you log in into your account, facebook notify you by sending you a message at your Registered Phone Number and your registered Email-ID.It also has a feature that you can see at which place you were last logged in.

Follow the Below Steps to Track your Facebook Login Location ::

1)First of all open up a browser and log in into your Facebook account.
2)At the Right most End below the Address Bar there will be a Down Arrow.Click on that arrow.
3)Now click on the Settings Option.Then Click on Security below the General option.
4)Now click on the Edit button …

How to Transfer Your Android SmartPhone to PC from Wifi Wirelessly The Best Way

Everybody in today's World is on Internet and they have become very Modern and Work Smartly in their life and make full use of the Internet to do their work more efficiently and Simply.
If you have a Android Smart Phone,What would you do if you want to see your mobile stuff on your Windows ?Buy a Card Reader or use a Data Cable or use Shareit or something like that to transfer your Data to your Windows and Then Access it.
I got a Better and Of course a Smart Way to do this with a help of a Simple app called Airdroid.And I bet you that It will the Best Android App you have ever seen.

Follow the Below Steps to Transfer your Android Phone to PC ::

1)Download the Airdroid App from PlayStore and install it.
2)Open the App and first Sign Up.You can Sign up using Google+,Facebook or Twitter also.
3)A small Window will appear asking for View all App and System Notifications on the Computer in real time.Click on the Enable Button.
4)Then your Mobile Accessibility Settings will be open.Under the S…