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

Search:

Type: Posts; User: royibernthal

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    828

    Re: Managing memory with multiple heaps

    So you're saying I'll be using black boxed allocators anyway?
  2. Replies
    9
    Views
    828

    Re: Managing memory with multiple heaps

    Perhaps it's necessary when working on very big games for instance?
  3. Replies
    9
    Views
    828

    Managing memory with multiple heaps

    Is it a common thing to do?

    Does this tutorial seem legit or would you recommend a different one?...
  4. Replies
    14
    Views
    1,124

    Re: Cloning an object

    I seldom resort to analogies, I prefer to keep things simple. Thanks though :)
  5. Replies
    14
    Views
    1,124

    Re: Cloning an object

    You sound like my old teacher complicating stuff with stories :)
    Apparently I'm already familiar with all of that, I just wasn't aware it was called "value/reference semantics".

    OReubens - Okay I...
  6. Replies
    14
    Views
    1,124

    Re: Cloning an object

    Thanks you for the great reply :)

    I'm pretty certain we're on the same page on cloning but just in case, I might have explained myself poorly.
    By creating my own clone function I mean creating a...
  7. Replies
    14
    Views
    1,124

    Re: Cloning an object

    nuzzle

    True, let me rephrase: In this case should I store pointers to the objects rather than the actual objects?

    Copying - Will having a clone function that creates a new instance with the...
  8. Replies
    14
    Views
    1,124

    Re: Cloning an object

    Okay I understand. Thanks.
  9. Replies
    14
    Views
    1,124

    Cloning an object

    Is there a point in dynamically creating a pointer during runtime only to dereference it? (if that is the right term, as in *pointer, depoint it?)
    In this case should I perhaps store pointers...
  10. Replies
    42
    Views
    1,895

    Re: When to use pointers?

    Got it.

    If I understand correctly on the heap means allocating memory dynamically. What does using multiple heaps mean? Sequences of allocated memory with distance between them? (I hope I'm making...
  11. Replies
    42
    Views
    1,895

    Re: When to use pointers?

    I understand. I imagine there'll be cases where I'll have to expose my pointers, such as when a factory creates and returns a new product (OOP). Will smart pointers (scope) be good for that?
  12. Replies
    42
    Views
    1,895

    Re: When to use pointers?

    Java is indeed very similar to ActionScript 3.0, I've been using it as well. There are minor syntax differences but overall once you know one it's very easy to learn the other.

    What are those...
  13. Replies
    42
    Views
    1,895

    Re: When to use pointers?

    nuzzle - Yes I did like OOP, what do you mean by using the whole language and not just a fraction? Got any example for that perhaps?

    D_Drmmr - Okay I understand.
  14. Replies
    42
    Views
    1,895

    Re: When to use pointers?

    Duly noted. Thanks alot.
  15. Replies
    42
    Views
    1,895

    Re: When to use pointers?

    1) Do I have any real reason to use pointers over references here? So far I managed to pull off everything I tried with references only, maybe it could have been done more efficiently though using...
  16. Re: error C2061: syntax error : identifier 'string'

    Thanks for the advice, I'm not new to programming though just to C++. I pretty much understand how things work by now, so I am looking for shortcuts.
    I do obviously have much to learn about C++,...
  17. Replies
    42
    Views
    1,895

    Re: When to use pointers?

    No books, but I covered every single word here:
    http://www.cplusplus.com/doc/tutorial/

    In case you're afraid I'm too new to programming to start learning this kind of stuff, I also have about 8...
  18. Replies
    42
    Views
    1,895

    When to use pointers?

    I've googled the issue and read a few pretty abstract explanations.

    I was hoping you could give me a few solid examples for when one should use pointers.

    Thanks
  19. Re: error C2061: syntax error : identifier 'string'

    Okay, I will.
  20. Re: error C2061: syntax error : identifier 'string'

    Yes I understand what you're talking about. We look at it the same way really. Thanks again.
  21. Re: error C2061: syntax error : identifier 'string'

    Well it sounded like that from my point of view, I got the wrong impression then.
  22. Re: error C2061: syntax error : identifier 'string'

    I agree that debugging is needed from time to time, especially after writing some major code, but to execute line after line EVERY single time you run the program sounds very tiring and unnecessary....
  23. Re: error C2061: syntax error : identifier 'string'

    I see, thanks that sounds useful.
  24. Re: error C2061: syntax error : identifier 'string'

    I imagine I'll be developing in Debug Mode. I just develop and run the program fluently and when I encounter bugs I'll start debugging. Isn't it how it's done? Do you guys really press F10 countless...
  25. Re: error C2061: syntax error : identifier 'string'

    I see, F5 does the job.

    Yes I'll keep that in mind, but it is important to be able to just test your program fluently as well.

    Thank you all for the help.
Results 1 to 25 of 33
Page 1 of 2 1 2


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center