Search:

Type: Posts; User: freiza

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    4
    Views
    3,010

    I didn't get you. But Do you mean that iterator...

    I didn't get you.
    But Do you mean that iterator is class inside vector class? (And because we are accessing it using :: operator so it must be a static class)

    Something like this:


    Template...
  2. Replies
    4
    Views
    3,010

    How is iterator implemented in vector class?

    vector<int> v;
    vector<int>::iterator i = v.begin();

    How is iterator implemented?

    I mean,


    test::box c = 1;
  3. Thread: Visual C++ IDE

    by freiza
    Replies
    13
    Views
    1,423

    v

    Tried all. But none was useful for me.


    I found this two links useful for me

    Pragma Directive:
    Pragma Directives (C/C++)

    Def files:
    Module-Definition (.Def) Files
  4. Thread: Visual C++ IDE

    by freiza
    Replies
    13
    Views
    1,423

    I agree on this point. But I never thought that...

    I agree on this point. But I never thought that my post will produce so much inflation.

    But you must also agree. Just blatantly stating "Use Google" without knowing OP's situation is not good...
  5. Thread: Visual C++ IDE

    by freiza
    Replies
    13
    Views
    1,423

    Can I assume every OP to be lazy just like...

    Can I assume every OP to be lazy just like everyone else is thinking same for me?

    Great, I got plethora of Guidance on how to ask and search.
    But my question till unanswered. That's okay. I will...
  6. Thread: Visual C++ IDE

    by freiza
    Replies
    13
    Views
    1,423

    If you consider "Use Google with commonsense" a...

    If you consider "Use Google with commonsense" a help. Can I help every other post in this forum in similar way?

    Btw, your last post in Function pointer helped me. Thank You

    And why do you...
  7. Thread: Visual C++ IDE

    by freiza
    Replies
    13
    Views
    1,423

    You are just taking side of your old fellow. He...

    You are just taking side of your old fellow.
    He just provided me a link of visual studio ide.
    And even you didn't provided me any link.
    If I was able to search it myself, I wouldn't have posted it...
  8. Thread: Visual C++ IDE

    by freiza
    Replies
    13
    Views
    1,423

    First reply after 12 hours. And that too useless....

    First reply after 12 hours. And that too useless.
    If you don't want to help then please don't.
  9. Thread: Visual C++ IDE

    by freiza
    Replies
    13
    Views
    1,423

    Visual C++ IDE

    I want to learn more about visual c++ 2010 IDE like project/linker settings, optimizations, pragma etc.
    Can someone give me a good link. (Video tutorial if possible)
  10. Still confused. I mean instead of using function...

    Still confused. I mean instead of using function pointers, why we cannot simply call the function with the objects.
  11. Function pointer and Member function pointer usage?

    When should I use function pointer and member function pointer.

    Till date I have done all my programming without noticing any need of these two. Then when it is actually used?

    And what is the...
  12. Replies
    7
    Views
    1,246

    In my class. I have not declared name as static....

    In my class. I have not declared name as static. But it still both code compiles fine?
  13. Replies
    7
    Views
    946

    Output: Creating test instance at 0x002AF7FB...

    Output:

    Creating test instance at 0x002AF7FB via default c'tor.
    Destroying test instance at 0x002AF7FB.
    Press any key to continue . . .

    I don't know why copy constructor is not called?
  14. Replies
    7
    Views
    946

    I didn't understand this point. In my opnion...

    I didn't understand this point.

    In my opnion it should be

    test t(t); // This syntax is incorrect. because you cannot pass same object in constructor; But I thought default copy constructor...
  15. Replies
    4
    Views
    2,198

    Yes, It did. Now I understand what you were...

    Yes, It did. Now I understand what you were trying to say. Thank you.
  16. Replies
    4
    Views
    2,198

    But how can I use testme variable in both...

    But how can I use testme variable in both person.cpp and main.cpp ?
  17. Replies
    4
    Views
    2,198

    Static data member already defined

    // MAIN.cpp
    #include <iostream>
    #include "Person.h"
    using namespace std;


    int main()
    {

    return 0;
  18. Replies
    7
    Views
    946

    constructor call return

    class test
    {
    public:
    test()

    };

    void main()
    {
  19. Replies
    7
    Views
    1,246

    Person::name and this->name difference?

    void Person::setname(string name)
    {

    Person::name = name;
    cout<<Person::name;
    }


    void Person::setname(string name)
    {
  20. Replies
    8
    Views
    1,158

    I mean when the second case is useful? From...

    I mean when the second case is useful?

    From what I know that stack size is assigned at compile time and heap is allocated in runtime. Hence using stack increases exe size. Is this the primary...
  21. Replies
    8
    Views
    1,158

    When should I use Classname Object;...

    When should I use


    Classname Object;
    Object.a;

    And,

    Classname *Object = new Object();
    Object->a;
  22. Replies
    8
    Views
    1,158

    Class pointer (newbie question)

    QLabel *label= new QLabel("HelloQt!"); //this works

    QLabel label= new QLabel("HelloQt!"); //Error: Cannot convert QLabel* to QLabel

    When this is possible. I mean, what must be class...
  23. Replies
    0
    Views
    1,419

    Which Gui toolkit should I use.

    What gui tool kit should I use?

    For now I my project is windows based. And I will stick to windows for atleast 1 year. I know only C++ and Win32 api. My project is not a simple database...
  24. Thread: What is ATL

    by freiza
    Replies
    3
    Views
    1,296

    What is ATL

    What is ATL ?
    why and when should I learn it?
    Where it is used and why it is used ?
  25. Replies
    7
    Views
    1,094

    When is linked at link time. Then how...

    When <iostream> is linked at link time. Then how does the compiler knows about cout at compile time?
    Does header files are included in compile time?
Results 1 to 25 of 48
Page 1 of 2 1 2