November 16th, 2012, 07:52 PM
Operator Overloading - object returns wrong value
Another example I created for my study, but the objects s3, s4 and s5 are returning wrong values. Someone knows you explain why?
#include...
November 11th, 2012, 10:25 AM
Thank you. The problem was solved.
November 8th, 2012, 04:38 PM
I am grateful for the support I have received from members of this forum and apologize for the mistakes of posting, no formatting required.
I created a new code to study the overhead of a binary...
November 4th, 2012, 05:07 PM
I'm studying operator overloading and can not understand how that is identified using the + + operator pre-set or post-set.
------ CODE --------------------------------------------------
...
October 22nd, 2012, 08:05 PM
Another doubt. How to use <vector> can not access methods of the class aluno.
--- Code-------
std::vector<aluno> a(nr_alunos);
cout << "\nTotal:" << a[1].quantidade();
October 22nd, 2012, 07:28 PM
Vector worked very well. Thanks for the help.
October 21st, 2012, 05:22 PM
I can not set the size of my array while running porgrama. Is there any way to do this in C + +?
---- code ------
#include <iostream>
#include <string>
using namespace std;
int MAX = 80;
October 18th, 2012, 06:35 PM
You're right, missed the << operator. Thank you for your help.
October 17th, 2012, 08:18 PM
I am studying the creation of classes in C + +. When executing the code below the method LEN class String2 not work. Someone can tell me why?
code...
October 14th, 2012, 04:47 PM
Excuse my ignorance, but I could not understand his explanation. You can fix mei code so I can see what is wrong? I will be very grateful.
October 14th, 2012, 11:09 AM
Hello, I'm new to the forum and would like some help. I am studying the use of static data into classes and the code below is returning an error ...
...