oogabooga, I don't can place all in a single file because now the class B and a new class, C, and other classes make reference to A. I don't know how make this in a single file, because B requires...
Type: Posts; User: lcecil
oogabooga, I don't can place all in a single file because now the class B and a new class, C, and other classes make reference to A. I don't know how make this in a single file, because B requires...
Without lose of value of variables? Because this last version is used in my project and happens lose of value of variables. I renember that in my project, the class B uses function get_a() to access...
This assignment of the temporary variable includes other unexpecteds behaviours, like lost of value of some variables?Looking in my project( the real, not this small ) again, see that there are...
The code with &a works.
Why when I write &a instead of &A() it compiles? If I use only the test_variable_2, the program compiles. See this:
#include <class_a.h>
#include <iostream>
#include...
I made a program that follows the same logic that my project. However, the code not compiled. After the error, I compared the two programs to see if the simple program have the same logic that the my...
Sorry. What I meant by "derivatives" are classes that belong to the class mentioned. For a moment I forgot the sense of inheritance that the word carries in oop. I have no other programs in which the...
Hi. I have a very strange problem in my project that is the lost of values in some variables of some classes. I'm using MinGW that comes with CodeBlocks 10.0.5. I didn't post the code, because my...