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

Search:

Type: Posts; User: rsodimbakam

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    5
    Views
    656

    When do we use Template classes

    Hi,
    Can anyone explain me when do we use Template classes ?

    Thanks
  2. Why we don't have Virtual Constructor when we have Virtual Destructor ?

    Hi,
    Is there any technical reason behind for not having a Virtual Constructor ?

    Upto my knowledge it may be because, since we know the type of constructor we are calling(which...
  3. How to find whether a linked list is a circular linked list

    Hi,
    Can anyone provide some algorithm to find whether a linked list is circular or not ? provide the algorithm should not used normal linear search.

    Thanks
  4. Re: Is there anything like Virtual Class present ?

    What is it ?

    Is it mean by inheriting a base class as Virtual one ?
  5. Is there anything like Virtual Class present ?

    Hi,
    Is there any concept called 'Virtual Class' present in C++ ?

    Thanks
    Kiran
  6. Replies
    2
    Views
    3,339

    Advantages of using Initialization list

    Hi,
    Can anyone give me information about the advantages of using initialization list ?

    Upto my knowledge, it will be used specifically for initializing constants and reference member...
  7. Re: Does the C++ compiler create VTable for an Abstract Class

    Thanks for the clarification. This question is something which is confusing my mind a lot.

    So the compiler creates the vtable for an abstract class, but since there will be a pure virtual function...
  8. Does the C++ compiler creates VTable for an Abstract Class

    Hi,
    Can anyone clarify me whether C++ compiler creates a VTable for an Abstract Class ?

    Thanks
    Kiran
  9. Replies
    6
    Views
    785

    Re: Clarify me on this example

    Hi, If we do this way, i mean removing the delete statement, is it not going to be a memory leak problem ?
  10. Re: How to print total memory allocated for an object

    So, is it mean the size of an object is always caluculated at compile time irrespective of whether it contains a normal member variable or pointer variables ?

    Any exception is there for this case ?
  11. How to print total memory allocated for an object

    Hi,
    class Sample
    {
    int x, *ptr;
    public:
    Sample()
    {
    ptr = new int[100];
    }
    ...
  12. Replies
    6
    Views
    785

    Re: Clarify me on this example

    Yes, even i am also thinking the same, becoz i have read many times that we need to use delete only on objects created by using 'new' operator. This is clear to me now.

    So it means we should...
  13. Replies
    6
    Views
    785

    Clarify me on this example

    Hi,
    I have the following code.

    class CVehicle
    {
    }

    class CCar : public CVehicle
    {
    }
  14. Re: Why do we dont need to mention the sizeof the class when using 'new' operator

    Can you explain me how the compiler can able to knew the size ?
  15. Re: Why do we don't need to type-cast when we use new operator

    Can you also explain me about how the compiler able to allocate the required memory even though we are not using the sizeof function in case of new operator

    ex:

    SampleClass *sm = new...
  16. Why do we dont need to mention the sizeof the class when using 'new' operator

    Hi, Can anyone give me detailed information why we don't need to pass size when using new operator

    for example

    class A
    {
    int x;
    public:
    A()
    {
  17. Replies
    2
    Views
    530

    What is mean by Saving a dialog box ?

    Hi, I have often seen some questions asking about 'how to save a dialog box' . What is it mean by saving a dialog box, and is it possible to do that ?
  18. An example scenarion where we can use VC++/MFC socket programming techniques

    Hi,
    Can anyone provide me some sample scenarion example where we can use VC++/MFC socket programming features ?

    Thanks
    Kiran
  19. Replies
    6
    Views
    1,870

    Re: enum to string function

    Simple way is put a Switch statemetn over the enum values and print it accordingly.
    like this

    switch(colors)
    {
    case 1:
    cout << "My color is White";
    break;
    ...
  20. Replies
    1
    Views
    621

    Re: SendMessage() Simulation

    Hi,
    I don't think there is any Window's defined message available for Mouse Drag event.

    What you can do, you need to capture mouse move event and the same time, if mouse move occurs...
  21. Is it possible that enum variables can take a value which is out of set ?

    Hi,
    Is it valid to assign a value which is out of the set to an ENUM variable ?

    for example
    -------------
    enum status
    {
    installed = 10;
    ...
  22. Why do we have only costant value's or constant value expression in SWITCH statement

    Hi,
    Can anyone provide me some information about why do we have only constant value's or constant value expression be in SWITCH case statement ?

    Is there any technical reason behind or its...
  23. Re: How to run a C++ module in Unix system

    Hi, Thanks for your clarification.

    We have requirement in our project to create a WEB-Application and we need to use an existing C++ code, which as you said is an EXE, which will load a vast...
  24. How to run a C++ module in Unix system

    Hi,

    How to create a module using C++ code which can be executed automatically in Unix.

    Like we have a Jar in JAVA which contains set of Java classes and which make it possible to...
  25. Re: what is the difference b/w a normal global variable and a global static variable

    That's gr8, your example is very much clear.

    Apart from this scope functionality, is there anything else difference is there ?, like memory allocation or initialization or accessing the variables...
Results 1 to 25 of 48
Page 1 of 2 1 2


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center