Any C programmers wanna help convert code to convert between MIDI + CSV?
#9
(08-26-2022, 02:06 AM)mnrvovrfc Wrote:
Quote:The only one _not_ doing stuff that I've already done in QB64 a zillion times is Assert. That's a weird one, but I read that it's basically C's way of handling illegal values, which we can do in QB64 with some regular IF/THEN logic.
I'm not an expert about programming in C. But "assert" is supposed to be used for debugging. "assert" is not a keyword, and it's not supposed to be a function adhering to POSIX standard. A good C compiler package would define it as a macro so that when "release" version of the app is to be compiled, there is no hint of it. On a few applications, it's more embarrassing instead to see "Runtime error!" crash box from M$CRT. During debug phase, everytime an "assert" is raised, the programmer is supposed to fix it, cannot become lazy about it. Provided source code with a lot of "asserts" indicates somebody didn't have the time to finish it.

Well if it's for debugging, that makes it easy. 

But it does provide some rules for what values are out of bounds for certain variables. 

You know far too much about this stuff that "not an expert" sounds more like humility. 

Might you be the expert we're looking for? 
:-D
Reply


Messages In This Thread
RE: Any C programmers wanna help convert code to convert between MIDI + CSV? - by madscijr - 08-26-2022, 02:54 AM



Users browsing this thread: 44 Guest(s)