Hello

I have to learn C++ and how to code GUIs (for a new programming language).

I need to be able to learn all this within a month.

I have a little bit of experience (tiny bit of PERL, and tiny bit of Python... also a tiny bit of CSS & HTML). I have also done some very small C++ tutorials.

So I probably know the most basic of basics.

And I think myself a fast learner.

So if someone can please recommend a book/ebook for me to read, study and learn, please tell me!

I need to learn as much as I can, in as little time as possible!

Thanks in advance for any suggestions,

Panarchy
Edit/Delete Message

Dani AI

Generated

Practical, hands-on path to go from basic scripting experience to a working C++ GUI quickly — this expands on the toolchain point from and the timeline mentioned by .

First focus: the language basics that matter for real projects — build and run a program, object lifetime and RAII, containers and algorithms, smart pointers, move semantics, and the standard library utilities you will use every day. Keep a compact, reliable reference at hand such as cppreference and follow the Cpp Core Guidelines for safe idioms.

Pick a GUI toolkit and learn it by example. For cross-platform C++ GUIs, Qt has the most complete documentation and examples; alternatives are wxWidgets and gtkmm:

A minimal Qt window (learn by compiling and running this) shows how small the first step can be:

#include <QApplication>
#include <QPushButton>

int main(int argc, char **argv) {
    QApplication app(argc, argv);
    QPushButton button("Click me");
    button.show();
    return app.exec();
}

Tooling and workflow: use a modern compiler and a build tool (CMake) so examples and tutorials build the same on Windows and Linux. MSYS2 provides an up-to-date MinGW toolchain on Windows; on Linux use the distro toolchain. See https://cmake.org/ and https://www.msys2.org/ for setup details.

A realistic short plan: spend the first week on concise C++ fundamentals and tooling, the next week building small console utilities, then one week porting a simple GUI example and learning layout/signals, and the final week polishing and debugging. Troubleshooting tips: compile often, use a debugger, follow the official examples in the toolkit docs, and keep each change small so errors are easy to track.

Recommended Answers

All 3 Replies

VC++ is better for GUI s , what OS are you using ?

I'm using Windows XP 64-bit.

But I need to learn this for (probably) XP 32-bit + Linux 32-bit.

Hello

I've finally been able to learn (well haven't finished either book yet, not even half way through the first one! BUT I am on my way to becoming a programmer) C++ & Java by reading/learning the following two books;

Sams Teach Yourself C++ in One Hour A Day

Sams Teach Yourself Java 6 in 21 Days

Thanks for all help given.

Wish me luck!

Panarchy

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.