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

Search:

Type: Posts; User: PredicateNormative

Page 1 of 47 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    6
    Views
    386

    Re: Need help

    :D

    RezaBagherian2, you clearly need to provide more information, how about showing the code with which you have an issue?
  2. Re: Anybody remember Sequiter Software's Codebase 6.5?

    Hi GBergmann, I haven't personally heard of it, but I would suggest two things. 1) run the search from a Linux Live CD or virtual machine. 2) When you do find the latest release, transfer all of the...
  3. Re: How to write a code Using while loop begin and extend untill you find end in Java

    This sounds like homework, so without wanting to give too much away, the best place to start is to ask yourself, how you would find a single "/begin", "/end" block. I expect the logic would be...
  4. Replies
    3
    Views
    408

    Re: small help with java

    It's probably a bit late for me to reply, but if you haven't figured it out yet, then think about what you are doing with having an outer loop and an inner loop both counting to N. What you are...
  5. Replies
    63
    Views
    2,979

    Re: Abstraction concept problem?

    Yeah I think there is too much room for interpretation on this subject :D
  6. Replies
    63
    Views
    2,979

    Re: Abstraction concept problem?

    Ok, you've got me there. :)
  7. Re: Recursive function: take a non-negative integer and print each digit of that inte

    You seem to miss the practical point that with recursion you can run out of stack space - for this reason in cases that are not sufficiently bound iteration is the clear winner. With template...
  8. Replies
    63
    Views
    2,979

    Re: Abstraction concept problem?

    Lol, very true :)
  9. Replies
    63
    Views
    2,979

    Re: Abstraction concept problem?

    Superbonzo (and OReubens), thanks for the clarification. :)

    To be honest, as a general rule I tend to pass built-in types by value, but class types I prefer to pass by reference. That way I avoid...
  10. Replies
    63
    Views
    2,979

    Re: Abstraction concept problem?

    I agree that reference semantics can mean both pointers and references, but my issue is with lumping reference and pointer types under the term of "pointers". My reasoning is doing so is opens up...
  11. Replies
    63
    Views
    2,979

    Re: Abstraction concept problem?

    I’ve been really enjoying this thread and if it was going faster, I might even have got some popcorn for the show. :D

    All joking aside, tiliavirga you seem to be using a different set of...
  12. Re: a question regarding to std vector

    Learning aside, perhaps the wrong tool for the job is being used in your here. If the only two options are that the task passed or that it failed, then wouldn't a container of boolean values (e.g....
  13. Replies
    11
    Views
    1,014

    Re: Templated upcast function

    Am I missing something? Why wait until runtime to tell the programmer they have done something wrong? Why not just fail at compile time?




    template <bool canUpCast>
    struct...
  14. Replies
    6
    Views
    723

    Re: Heartbeat Calculation Question

    bpm = (1/tick) * 6000
    bpm = 6000 * (1/tick)
    bpm = (6000 * 1)/tick
    bpm = 6000/tick

    However, if you want to think about it more deeply then, yes, 6000 is implicitly 6000/1, so you are really...
  15. Replies
    6
    Views
    723

    Re: Heartbeat Calculation Question

    Bpm = frequency * 60

    Bpm = (1/tick) * 100 * 60

    Bpm = (1/tick) * 6000

    Bpm = 6000/tick
  16. Re: STL functions shows a segmentation fault.

    I'm with VictorN on this one, the most likely cause is that there is a bug in your code. I've seen this kind of thing before where it works on some machines but not on others. Someone at my work had...
  17. Replies
    27
    Views
    2,982

    Re: passing smart pointer

    Yes, however, as I stated previously:

    If the true terminology was still so well widely known and accepted, there wouldn't be so many varying opinions. The fact is, it may have been well...
  18. Replies
    27
    Views
    2,982

    Re: passing smart pointer

    So, razzle, lets get back to businness... ;)


    You are missing the point, the reason for avoiding dynamic memory allocation in real-time systems, is not always to do with the timing guarantees of...
  19. Replies
    27
    Views
    2,982

    Re: passing smart pointer

    Yeah, that is where I was coming from in post #10. My point being is that it depends on intent, i.e. what is the subject matter?

    But, if you take the strict alias view of reference semantics,...
  20. Replies
    27
    Views
    2,982

    Re: passing smart pointer

    Agreed, however, outside of the context of Stroustrup and the C++ standard (neither of which by the way give any formal definition of the term reference semantics, though both do make statements that...
  21. Replies
    27
    Views
    2,982

    Re: passing smart pointer

    Having spent all the time that I was going to spend replying to the rest of razzles last post, researching the subject of reference semantics, I'm changing my mind - I don't agree with the argument...
  22. Re: Can you think of anything wrong with this code.

    Ok, your post has just shattered my trust in alignment guarantees for non-standard alignment of objects that are not automatic. Although I don't have time now, at the my available opportunity, I'll...
  23. Replies
    27
    Views
    2,982

    Re: passing smart pointer

    Razzle, my apologies for not replying sooner, although I read your post on Saturday, due to a number of commitments, this is the first opportunity I have had to respond. I'm a bit limited for time at...
  24. Replies
    27
    Views
    2,982

    Re: passing smart pointer

    Ok, let's go through these one by one. I'll deal with point 5 first, because it is really important to the context of other things that I'll write in this post.



    There are no other parameter...
  25. Replies
    27
    Views
    2,982

    Re: passing smart pointer

    Agreed. :)
Results 1 to 25 of 1157
Page 1 of 47 1 2 3 4


Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a Codeguru.com survey!


HTML5 Development Center