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

Search:

Type: Posts; User: ulumulu

Page 1 of 4 1 2 3 4

Search: Search took 0.04 seconds.

  1. Replies
    28
    Views
    3,164

    Re: HELP me OUT please..

    Well if "we" want to escape this, probably everyone have to ignore such topics as
    * i am noob
    * please help, urgent
    and so on, and so on. All these questions are not informative, and probably its...
  2. Replies
    14
    Views
    1,303

    Re: Reversing a Number

    There is, but only for a fixed number size.

    repeat for times


    m *= 10;
    m += n%10;
    n /= 10;
  3. Replies
    14
    Views
    1,303

    Re: Reversing a Number

    Your problem lies there:

    rev1 = 0
    {
    mod1 = num3 % 1000; // Show the reverse average to 4 digits?
    num3 = num3 / 1000;
    rev1 = (rev1 * 1000) + mod1;
    }

    you need to...
  4. Replies
    2
    Views
    1,266

    Re: convert c++ to block digram

    MagicDraw, Rational Rose, Poseidon.
  5. Replies
    30
    Views
    10,743

    Re: Is STL important?

    Don't read it. Understand it :)
  6. Thread: Strings

    by ulumulu
    Replies
    4
    Views
    568

    Re: Strings

    Nice.

    did like this " \n\r\\"\" and worked like a charm.

    Thankyou laserLight.
  7. Thread: Strings

    by ulumulu
    Replies
    4
    Views
    568

    Re: Strings

    Yes. My English isn't that good. But I will try my best ;)

    Simple example.

    " \n\t\r"
    " " \n\t\r"

    And how to put it in this construction if ((strchr(", \n\r\t", chunckOfData[i])) ...
  8. Thread: Strings

    by ulumulu
    Replies
    4
    Views
    568

    Strings

    Hi



    if ((strchr(", \n\r\t", chunckOfData[i])) ........


    how to add to the string ", \n\r\t" also " type of simbol. I want to check also if chunckOfData[i] isn't ".

    Thankyou in advice.
  9. Replies
    3
    Views
    875

    Re: Just curious about std::string

    Ahh OK. Thank you Zuk :)
  10. Replies
    3
    Views
    875

    [RESOLVED] Just curious about std::string

    Good evening lads.

    OK. Lets say I make string



    std::string dataBlock;
    ...........................................
    //Fill that string with some data...
  11. Replies
    12
    Views
    1,090

    Re: class created object name.

    To all who responded, big hugs :D

    As I predicted it's not posible to code.

    To JohnW@Wessex: Lettely I eat too much beens :D so fogot some pointers :blush:

    To Ajay Vijay: Maybe you are right,...
  12. Replies
    12
    Views
    1,090

    Re: class created object name.

    To GNiewerth :
    Well I am usein GCC 4.x compiler.

    To Mybowlcut :
    Somehow I knew it. But hoped that someone knows some magic tricks :D
  13. Replies
    12
    Views
    1,090

    Re: class created object name.

    Hmm. Well I tell you maybe first whay I am doing so.
    it's because I may have 100 objects. Buttons, Labels, Scrollboxes and so on. And to set everytime name is a bit overkill.
    Like
    :

    ...
  14. Replies
    12
    Views
    1,090

    class created object name.

    Good day.

    I dont know if it is possible. But maybe there is a solution to such kind of situation.

    Lets say. I have class which creates a button. and I create it.



    TButton button1 = new...
  15. Replies
    13
    Views
    773

    Re: Pointers (confused)

    Yes your are right :)
    Cheers.
  16. Replies
    13
    Views
    773

    Re: Pointers (confused)

    well chunchofData is actualy a small pease off data (block) which is parsed at the moment.
    Anyway thanks for your help LaserLight. I think I found the problem.
    Problem: knowledge. I am still...
  17. Replies
    13
    Views
    773

    Re: Pointers (confused)

    Ok the problem is:
    I have some text file. And I am parsing some data of it. So then I found the items i need. I want to hold pointers of it in vector that I could use it many times. That vector with...
  18. Replies
    13
    Views
    773

    Re: Pointers (confused)

    char *tempLine;
    .......................
    tempLine = &chunchOfData[0];
    .......................
    chunchOfData[i] = '\0';
    .....................



    well and I want from tempLine to get adress of...
  19. Replies
    13
    Views
    773

    Re: Pointers (confused)

    Oh ok. I did that and It still shows the content of X. Probably I did a mistake somewhere else. Most likely with Y in uper code. Anyway thankyou.
  20. Replies
    13
    Views
    773

    [RESOLVED] Pointers (confused)

    Good day.
    Probably the foolish question ever, but still.

    Lets say I have pointer X*and hold in it address of &Y.
    How do I get the the address of Y from X. (Not the X address but Y from X)
    ...
  21. Replies
    4
    Views
    637

    Re: Dynamic ? Nested structs

    Well relation between objects are actually weak. Anyway thankyou laserLight.
  22. Replies
    4
    Views
    637

    Re: Dynamic ? Nested structs

    So you saying. that X* next will make lika a copy of new struct.
    Hmm somehow I was trying to make it work like a class with (new = ) and constructor :x
  23. Replies
    4
    Views
    637

    [RESOLVED] Dynamic ? Nested structs

    Good day to everyone. I am a bit lost , and I hope someone could help me a bit :)

    Lets say I have a struct which could have the same look of struct as itself and that child struct the same ant so...
  24. Replies
    7
    Views
    799

    Re: I am a bit lost there ....

    OK but if it is recursion ??? It does not create new objects. It should stay on the same address.
    Does it ???
  25. Replies
    7
    Views
    799

    Re: I am a bit lost there ....

    void Parser::materialParsing (char *source)
    {
    /*

    { - New Block
    , /n /t/ /r ' ' - New element
    } - The end of the block

    */
Results 1 to 25 of 99
Page 1 of 4 1 2 3 4





Click Here to Expand Forum to Full Width

Featured