C++

Talk about things C/C++, some related to AutoHotkey
User avatar
nnnik
Posts: 4470
Joined: 30 Sep 2013, 01:01
Location: Germany

C++

02 Oct 2013, 02:03

C++ is one of the most common programming languages.
You can find a good tutorial here.
http://www.cplusplus.com/doc/tutorial/
Also you will need a compiler:
Google:
  1. gnu gcc
  2. Visual C++ Express 2010
I personally use Visual C++ Express.

If you know other Compilers Name them here.
Recommends AHK Studio
kon
Posts: 1756
Joined: 29 Sep 2013, 17:11

Re: C++

02 Oct 2013, 02:19

http://www.bloodshed.net/devcpp.html ->wikipedia-> https://en.wikipedia.org/wiki/Dev-C++

A while ago when I started reading through the exact tutorial you mentioned, (http://www.cplusplus.com/doc/tutorial/) I understood it because I knew AHK, but I was baffled because it didn't mention a compiler. Eventually I got Cygwin and downloaded the gnu gcc, but that took a long time to figure out. For just learning the basics, which I am still doing, I just wanted something similar to SciTE4AutoHotkey.
Last edited by kon on 02 Oct 2013, 02:29, edited 1 time in total.
User avatar
joedf
Posts: 7735
Joined: 29 Sep 2013, 17:08
Facebook: J0EDF
Google: +joedf
GitHub: joedf
Location: Canada
Contact:

Re: C++

02 Oct 2013, 02:27

1. Install mingw
2. create hello.cpp
3. in cmd, g++ hello.cpp -o hello
4. in cmd, run, hello
5. it prints "hello world"

@kon lol, Combine LibCon and Ahk, and go back to the console again! :D
User avatar
tank
Posts: 2833
Joined: 28 Sep 2013, 22:15
Facebook: charlie.simmons.7334
Google: ttnnkkrr
GitHub: ttnnkkrr
Location: Irving TX
Contact:

Re: C++

08 Oct 2013, 14:51

I was gonna say the bloodshed site also
We are troubled on every side‚ yet not distressed; we are perplexed‚
but not in despair; Persecuted‚ but not forsaken; cast down‚ but not destroyed;
https://www.facebook.com/ahkscript.org
If you have forum suggestions please submit a pull request
Check Out WebWriter
Thanks Tank :thumbup:

Return to “C/C++”

Who is online

Users browsing this forum: No registered users and 2 guests