Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
kind of works? reading multiple mice: any c programmers want to look at this?
#25
(09-08-2022, 08:49 PM)Spriggsy Wrote: I structured it this way as a direct translation of that other C program so as to make some of the more complicated aspects easier to understand. It can definitely be edited to be closer to how a QB64 program is usually structured. I am just more used to converting C/C++ examples to QB64 so I'm now in the habit of programming like a C coder more than a BASIC coder. I'm more comfortable that way. I'll have to look at your code and see what is going so I can attempt to make it more QB64 friendly.

Any help or guidance with that part would be a godsend, because I am totally out of my element here...

(09-08-2022, 08:49 PM)Spriggsy Wrote: By the way, something I just noticed is that you have System on the line above your Print and End. Print and End won't be hit since System closes the program entirely.

That was something I learned since I originally made this program almost a year go, I just forgot to clean that up.
I reuse stuff a lot and cut/paste code a lot, and sometimes I miss stuff. 
Just like how you mentioned how your own coding had changed since you made that old program of yours I had saved - 
I look at things I wrote 2 years or even 3 months ago and it reminds me how much I've learned since then. 
The real fun is looking at code you wrote back in school, or when you had your first job. 
It really brings you back and shows how far you've come.
Reply


Messages In This Thread
RE: kind of works? reading multiple mice: any c programmers want to look at this? - by madscijr - 09-08-2022, 08:56 PM



Users browsing this thread: 26 Guest(s)