Search:

Type: Posts; User: karnavor

Search: Search took 0.00 seconds.

  1. Thread: User Controls

    by karnavor
    Replies
    1
    Views
    949

    User Controls

    Hello,

    I wanted to create a custom control in Visual Studio, and then add it as a component to a Windows Form. So, I added a new "User Control" to the project, and edited it by dragging and...
  2. Replies
    8
    Views
    1,832

    It seems to work well when I initialize the...

    It seems to work well when I initialize the values in a source file:


    int MyClass::x = 4;
    int MyClass::y = 5;
    int MyClass::z = 8;

    But I thought that it was bad practice to have global...
  3. Replies
    8
    Views
    1,832

    Well yes, actually I want them to be constants as...

    Well yes, actually I want them to be constants as they will not change. Can I do it in the same way, but using "const static int x" instead of just "static int x"?
  4. Replies
    8
    Views
    1,832

    extern variables

    Hello,

    Suppose I have a class, MyClass, which contains variables (int x, y, z) which I want to access throughout my program. I want to be able to use the class in a static sense. I want to be able...
Results 1 to 4 of 4