Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for kluttâ€
Type | On... | Excerpt | Status | Date |
---|---|---|---|---|
Comment | Post #278869 |
Thank you. Performance does not have the highest priority, but I'll incorporate that. (more) |
— | over 3 years ago |
Comment | Post #278809 |
*"If certain arguments are optional"* - This is fairly easy to solve in both approaches. I don't think it counts as a difference between these two concepts. (more) |
— | over 3 years ago |
Comment | Post #278848 |
@MythicalProgrammer Truth to be told, you discovered a bug, but not the one you think. It's a bug in the specification. I was not looking for number of assignments. I was looking for number of arguments that should be passed and wrongly assumed they were the same. So the fix is to put n back and chan... (more) |
— | over 3 years ago |
Comment | Post #278848 |
@MythicalProgrammer I just made some CRAZY testing that I need to show you. I was not comfortable with manually figuring out how many arguments a format string should have, but on the other hand, that's also the problem I'm trying to solve. But I did a workaound and made the program create a new .c f... (more) |
— | over 3 years ago |
Comment | Post #278848 |
Hmmm, I don't think it's that important to test %n, but you definitely have a point in general about such things. I should not only test things that should work. I should also test things that should not work. I added tests including the asterisk: "%*d", "%*23d" and "%23*d" even though I'm not sure i... (more) |
— | over 3 years ago |
Comment | Post #278837 |
@CharlieBrumbaugh†Yes it is. Those are pretty common in C where exceptions would be used instead in C++ and Java. Feel free to rewrite it as an answer. (more) |
— | over 3 years ago |
Comment | Post #277217 |
You were assuming right. I have edited the question, so you might want to remove that part. (more) |
— | over 3 years ago |
Comment | Post #277375 |
The general answer to "Will X make Y faster?" is "Try it and measure" (more) |
— | over 3 years ago |
Comment | Post #277331 |
@chris-barry You're correct. That was just a typo that i missed several times. Question is corrected with a `&`. Sorry for any inconvenience. (more) |
— | over 3 years ago |
Comment | Post #277331 |
Are you saying that my code would not compile because it's not in a function? I just did not include that code, but the question is changed now. (more) |
— | over 3 years ago |
Comment | Post #277215 |
@kami Nope, that line is exactly as it should be. (more) |
— | over 3 years ago |
Comment | Post #277215 |
@olinlathrop Except that `arr[10]` is legal to point at, but not `arr[11]` ;) I mostly posted this question to get this site going. (more) |
— | over 3 years ago |
- ← Previous
- 1
- 2
- Next →