In relation to this topic: What is the copy-and-swap idiom?
It states that one class should at most handle one resource. What is meant by resource?
EDIT: For example I have a class that handles the information for each monitor, and contains an array of the desktop pixels. Would the array and only the array be considered a resource? Would the array of monitors that hold the monitor information and array of the desktop pixels another resource, that would require another class? It is in another class, but is that what is meant?
I have searched here and Google but only find more information relating to the rule of three or resource files (*.rc and MSDN). Nothing that relates to a definition.
That question is referring to concepts in C++ in general. In this case, it is also using the general concept of a "resource": an object, usually external, provided by an outside source, that a block of code uses. It's the same as a "resource" in real life.
In the case of copy-and-swap, it is referring to what your C++ class represents. The idea is simple: each instance of your C++ class will provide access to a given resource. For instance, let's take a file on disk. The resource is the file; the operating system provides access to that file. Your C++ class would wrap around the operating system's API calls to read and write to that file.
The question that you linked is asking about how to mix these classes with C++'s initialization rules. How you follow these rules is going to be shaped by what accesses the outside source lets you use and what you personally need to do.
Of course, your program can also have its own resources. For example, a global array that maps one type of enumeration to another type of enumeration could be a resource in your program. So the answer to your question of "what should be a resource in my program" is "it really depends on how you wrote your program".
Windows programs also have their own "resources", such as bitmaps, icons, dialog box control layouts, menu layouts, localized strings, and other stuff. To allow these things to be embedded in the output binary, Windows provides its own system, and also calls all these "resources". A .rc file is merely how you would list all of these Windows resources; you build that into your Windows program.
GLib (which GTK+ is built on top of), Qt, and the various Apple APIs have their own analogous systems, each of which also have "resource" in their names.
(You can write C++ classes that provide access to all these specific resources too; in this case, the resource is the resource.)
But it is very important when reading not to confuse he general term ("resource") for the specific technology (Windows resources) and vice versa, especially for such an abstract concept as a resource. Keep that in mind as you continue your programming journey.