This is something I made up, the idea of it is to announce that I am attempting something new with a date, I will not update often on my progress but rather show it in my blogsI also will post projects and concepts What am I going to do…I am going to research math (networking […]
Integers use Two’s compliment which replaces the largest bit with a 1 for negative and a 0 for positive, which does negatively square the biggest number you can represent. 10000000 = -0, 00000000 = 0. I have a question now, if integers are 4 bytes how come I can only assign 2 bytes worth of […]
https://github.com/EthienDuckett/blackjack It finally works, and I think the rules needed to be fixed in the real life version as well.
Code is on my github page. github.com/EthienDuckett To make the program I watched a video tutorial and checked out the page’s documentation. I think pyglet is the easiest GUI programming is going to get without using scratch, visual studio, or pygame. Also pyglet is a lot faster than pygame. Also an alternate announcment, I am […]
part 1. But first if you like this sort of stuff https://discord.gg/4yYVkU4 join my coding group discord serverroad map: The first part, LEN1 is being assigned to a string. The string is generated by the command $( wc -l file.txt ). wc is a command for finding stats on a document, the -l command returns […]
If you find that substr is broken you can just use a function. I don’t know why it breaks but it just broke for me. It probably is not efficient at all but at least it works all the time.
This program is a lot bigger than usual, so I decided to run it through itself. (tested without comments)
I was just so excited when I realized my program actually was going to work (with very minimal bugs considering I have no way to grab new lines as input) that is all. Probably coming before August. std::getline(std::cin, varname) this is very helpful for passing the no spaces limitation cin has. With spaces I can […]
I know my code isn’t perfectly optimized but I think c++ is slowed down a bit because I don’t know it as well. The calculations being used were meant to be CPU intensive i=6i=i^4i=i+11i=i%7(i stands for integer) These 4 operations were done 40000000 (40 million times) for each test and the python3 test was rounded […]