Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Alex_Brazil

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    1,078

    Re: Studying operator overloading

    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...
  2. Replies
    6
    Views
    1,078

    Re: Studying operator overloading

    Thank you. The problem was solved.
  3. Replies
    6
    Views
    1,078

    Re: Studying operator overloading

    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...
  4. Replies
    6
    Views
    1,078

    Studying operator overloading

    I'm studying operator overloading and can not understand how that is identified using the + + operator pre-set or post-set.

    ------ CODE --------------------------------------------------
    ...
  5. Replies
    5
    Views
    994

    Re: Declaring Array at runtime

    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();
  6. Replies
    5
    Views
    994

    Re: Declaring Array at runtime

    Vector worked very well. Thanks for the help.
  7. Replies
    5
    Views
    994

    Declaring Array at runtime

    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;
  8. Replies
    4
    Views
    681

    Re: Object method does not respond

    You're right, missed the << operator. Thank you for your help.
  9. Replies
    4
    Views
    681

    Object method does not respond

    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...
  10. Replies
    3
    Views
    427

    Re: Static data of a class

    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.
  11. Replies
    3
    Views
    427

    Static data of a class

    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 ...
    ...
Results 1 to 11 of 12


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center