Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate

C


  • Please log in to reply
5 replies to this topic
Guest
  • Guests
  • Last active:
  • Joined: --
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?

HotKeyIt
  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008

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.

You can take a look on examples on web and AHK source code, eg. script_gui.cpp.
As far as I know, all needs to be done trough CreateWindow and SendMessage.

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?

Yes you can, though it is not simple.

In AHK you can use AutoHotkey.dll to get real multi-threading which is much much simpler to use.

Good luck ;)

Guest
  • Guests
  • Last active:
  • Joined: --
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.

HotKeyIt
  • Moderators
  • 7439 posts
  • Last active: Jun 22 2016 09:14 PM
  • Joined: 18 Jun 2008

Also possible for users who don't have AHK installed but using an exe?

Of course :)

Guest
  • Guests
  • Last active:
  • Joined: --
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.

  • Guests
  • Last active:
  • Joined: --
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.