I'm learning C++ and Qt, but even the simplest code that I copy and paste from a book produces problems.
On Ubuntu 10.04, I'm using g++4.4.2 with the QtCreator IDE.
Is there a distinction between the syntax of the g++ compiler and those of other compilers?
When I try to access static members, for example, something always goes wrong.
#include <iostream>
using namespace std;
class A
{
...READ MORE
Jul 7, 2022
in C++
by
Nicholas
• 7,760 points
•
475 views