Started with C today.
I thought in case I want to do something with programming after school as job, only saying I know AHK and can use it on good/semi-pro level wouldn't be enough since they (probably) don't know it.
So I started with C today. Watched some tutorials.
Learned pretty basic stuffs, like how to print a line, how to get the input of the user, how to count the string, how to count 2 strings in one line, then if-else, >,<,=,!=, etc.
Tomorrow starting with (while)loops but that seems pretty simple aswell.
Just wondering how to create GUIs? No clue 'bout that. How would the commands look like?
At the moment, the basic pretty much reminds me of AHK which makes it pretty easy.
One question: C and C++ probably support "multi-threating"? Like 2 tasks of the same program at the same time which AHK isn't capable of, right?
Also some of you are probably programmers irl, what did you do after school to become one?
C
Started by
Guest
, Sep 12 2012 06:57 PM
5 replies to this topic
#1
-
Posted 12 September 2012 - 06:57 PM
You can take a look on examples on web and AHK source code, eg. script_gui.cpp.Just wondering how to create GUIs? No clue 'bout that. How would the commands look like?
At the moment, the basic pretty much reminds me of AHK which makes it pretty easy.
As far as I know, all needs to be done trough CreateWindow and SendMessage.
Yes you can, though it is not simple.One question: C and C++ probably support "multi-threating"? Like 2 tasks of the same program at the same time which AHK isn't capable of, right?
In AHK you can use AutoHotkey.dll to get real multi-threading which is much much simpler to use.
Good luck
#2
-
Posted 13 September 2012 - 07:27 AM
Didn't even know about the DDL o.o
Also possible for users who don't have AHK installed but using an exe?
Thank you for the CreateWindow function link, will study that, thanks.
Also possible for users who don't have AHK installed but using an exe?
Thank you for the CreateWindow function link, will study that, thanks.
#3
-
Posted 13 September 2012 - 01:54 PM
Of courseAlso possible for users who don't have AHK installed but using an exe?
#4
-
Posted 13 September 2012 - 01:59 PM
By the way, got a working c-code gui example for me?
Doesn't have to contain much, just for me to play around a bit.
Doesn't have to contain much, just for me to play around a bit.
#5
-
Posted 13 September 2012 - 02:07 PM
Just get the best C IDE out now -
<!-- m -->http://www.smorgasbordet.com/pellesc/<!-- m -->
Not a single reason not to. And comes with bare-bones GUI/OpenGL/etc templates to get you going faster.
<!-- m -->http://www.smorgasbordet.com/pellesc/<!-- m -->
Not a single reason not to. And comes with bare-bones GUI/OpenGL/etc templates to get you going faster.
#6
-
Posted 02 October 2012 - 12:15 AM