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

Search:

Type: Posts; User: VelvetTLeopard

Search: Search took 0.03 seconds.

  1. Replies
    25
    Views
    4,666

    Re: Best Variable to Use

    D_Drmmr and monarch_dodra, thank you for more clarification. I guess I was too concern with the low level stuff due to my assembly education. So I can trust my Visual C++ 2008 Express Edition...
  2. Replies
    25
    Views
    4,666

    Re: Best Variable to Use

    Would you be able to tell me how to profile a program? Tools needed, etc?
  3. Replies
    25
    Views
    4,666

    Re: Best Variable to Use

    bitset seems the way to go then, but I would want to come up with more flags for the program, which shouldn't be hard.

    For performance, it may matter or it may not, but the class this is part of...
  4. Replies
    25
    Views
    4,666

    Re: Best Variable to Use

    bitset seems the way to go then, but I would want to come up with more flags for the program, which shouldn't be hard.

    For performance, it may matter or it may not, but the class this is part of...
  5. Replies
    25
    Views
    4,666

    Re: Best Variable to Use

    I actually was thinking of a way to create a sort of "flag" word, but didn't know how to do it in C++. Assembly is no problem. I know what preprocessor directives are and I know how to use them. ...
  6. Replies
    25
    Views
    4,666

    Re: Best Variable to Use

    So a simple bool will suffice. And once again I did not say the data WAS a string. I said the data COULD BE REPRESENTED as a string or bool or int, etc. The important fact was that the data type,...
  7. Replies
    25
    Views
    4,666

    Re: Best Variable to Use

    Ok here is what I am trying to do. I have a class. In this class I want a data member that holds a value, one of two possible values, that will be used by the main program or other classes to...
  8. Replies
    25
    Views
    4,666

    Re: Best Variable to Use

    That seems like a lot of unnecessary work. I am not trying to pair them. I just wanted to know what data type is best for a piece of data that can only two values. I thought since a bool is just a...
  9. Replies
    25
    Views
    4,666

    Best Variable to Use

    Hello. I have a question that is more of a general programming question.

    I am making a class and I ran into a data member that I am having trouble deciding what variable type to use.

    I have a...
Results 1 to 9 of 9





Click Here to Expand Forum to Full Width

Featured