Author Topic: newbie starter questions  (Read 3019 times)

Offline MrCrashTestDummy

  • Single posting newcomer
  • *
  • Posts: 2
newbie starter questions
« on: January 21, 2022, 05:00:46 am »
Hello Everyone,

I am new to C++ and CodeBlocks, and I am wondering if anyone has some starter code for a basic GUI interface?

When I learned python, I got really interested in it because I accidentally found python's tkinter gui module, and it was easy to program.  Consequently, when it comes to C++, I know if I can find a good GUI module and some basic demo scripts with all the widgets to compile, learning C++ will go much more smoothly.   

It's just with python I lucked out when I took to tkinter.  I am not sure of what is best to study for C++.  Can anyone make some good recommendations.

Also, if it helps, long term I would like to try writing vst synthesizer plugins for fruity loops.  But right now I'm just looking for a beginning "hello world" kind of GUI script to compile and start tweaking.
 
Ty!

Offline BlueHazzard

  • Developer
  • Lives here!
  • *****
  • Posts: 3353
Re: newbie starter questions
« Reply #1 on: January 21, 2022, 02:07:41 pm »
Codeblocks supports wxWidgets with wxSmith
So to start install wxWidgets and then create a wxWidgets project in codeblocks
Here is an example how to install wxWidgets https://www.youtube.com/watch?v=O3xijpOeLm8

In the video the tutor uses a generic c++ project, i would use a wxWidgets project...
Here is a video how to use wxSmith https://www.youtube.com/watch?v=gjxG4nygQOM

Codeblocks is a generic IDE, so you can basically use any c++ GUI toolkit out there...