I wanna make more posts in this education sub, but I wonder, I want to teach people how to write computer programs, and I came up with a way to teach them, by writing code, and have comments in the code about how the code works.
I say this because I've been using QB64 to write programs. Just thought I'd teach people how. Here's a special introductory program on beginning:
PRINT "HELLO WORLD" PRINT PRINT "PRESS ANY KEY TO CONTINUE" WHILE INKEY$="" WEND
If you don't know what QB64 is, it's a special program where you can type in BASIC code from the legendary QBasic program that Microsoft was famous for in the 90s, except that QB64 is compatible with Windows, Linux and MacOS, while QBasic from the 90s was made for DOS. I prefer BASIC over C++, Java, python, and assembly.
Now, here's an example of a program where the color changes...
https://old.reddit.com/r/QBeducation/comments/umy1oa/a_program_that_cycles_through_the_first_15/
this will give some education on how some QBasic commands work, which QB64 also supports.
There's also the /r/QBeducation subreddit where one can make posts educating us on subjects, whether it's QB programs made for educational purposes, or posts educating us on how to write programs, and maybe programs that do both.
I'm also active in some subs made for sharing QB64, and QBasic (sometimes also GW-BASIC) code:
/r/QBprograms for any QBasic or QB64 programs in general
/r/QBmusic for musical compositions using the PLAY command.
/r/QBart for sharing art made with QB code
last but not least, which was already mentioned above....
/r/QBeducation, for educational programs made with QB. The newest sub of all the QB subs for sharing code.
Just thought I'd educate others on how to use QB64 and the classic Microsoft BASIC suites such as QBasic, QuickBasic, and GW-BASIC, and maybe some other dialects if one prefers something else over the QB family.
Submitted May 10, 2022 at 07:30PM by SupremoZanne https://ift.tt/DU4krIt
No hay comentarios:
Publicar un comentario