Type: Posts; User: PredicateNormative
Search took 0.05 seconds.
July 23rd, 2015, 09:44 AM
RezaBagherian2, you clearly need to provide more information, how about showing the code with which you have an issue?
July 23rd, 2015, 08:26 AM
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...
July 22nd, 2015, 11:40 AM
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...
July 22nd, 2015, 05:33 AM
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...
July 22nd, 2015, 05:20 AM
Yeah I think there is too much room for interpretation on this subject :D
July 17th, 2015, 01:11 PM
Ok, you've got me there. :)
July 17th, 2015, 01:08 PM
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...
July 17th, 2015, 10:35 AM
July 17th, 2015, 09:35 AM
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...
July 17th, 2015, 04:54 AM
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...
July 13th, 2015, 12:09 PM
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...
July 13th, 2015, 08:46 AM
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....
September 7th, 2014, 03:01 AM
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>
September 2nd, 2014, 08:57 AM
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...
September 2nd, 2014, 01:27 AM
Bpm = frequency * 60
Bpm = (1/tick) * 100 * 60
Bpm = (1/tick) * 6000
Bpm = 6000/tick
September 1st, 2014, 03:28 PM
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...
August 28th, 2014, 08:28 AM
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...
August 21st, 2014, 02:24 PM
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...
August 21st, 2014, 07:04 AM
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,...
August 21st, 2014, 06:46 AM
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...
August 19th, 2014, 12:46 PM
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...
August 18th, 2014, 03:37 PM
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...
August 18th, 2014, 03:32 PM
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...
August 15th, 2014, 08:28 AM
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...
August 14th, 2014, 05:36 PM
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!