C++

Talk about things C/C++, some related to AutoHotkey
User avatar
nnnik
Posts: 4500
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: 9000
Joined: 29 Sep 2013, 17:08
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
Image Image Image Image Image
Windows 10 x64 Professional, Intel i5-8500, NVIDIA GTX 1060 6GB, 2x16GB Kingston FURY Beast - DDR4 3200 MHz | [About Me] | [About the AHK Foundation] | [Courses on AutoHotkey]
[ASPDM - StdLib Distribution] | [Qonsole - Quake-like console emulator] | [LibCon - Autohotkey Console Library]
User avatar
tank
Posts: 3130
Joined: 28 Sep 2013, 22:15
Location: CarrolltonTX
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;
Telegram is the best way to reach me
https://t.me/ttnnkkrr
If you have forum suggestions please submit a
Check Out WebWriter

Return to “C/C++”

Who is online

Users browsing this forum: No registered users and 8 guests