Ask coding questions

← Back to all posts
Binary Multiplication
Highwayman (1357)

So, I’ve been making a BigInt class in c++ recently because that has always been a goal for me, but I’ve come to a grinding halt because my brain just won’t process binary multiplication into c++ code. I keep on thinking "you need two loops", but I have no idea what to do with them! I understand binary multiplication too, that’s not even the problem - which makes it worse. All I really need is for someone to walk through the steps with me because I am just stuck.

Ripping out my hair,
Highwayman

Commentshotnewtop
Highwayman (1357)

@MatthewDoan1 sorry for putting it in a random post, but I wasn’t sure how to ping you.
My answer to your invite/question is:
Yes, that would be awesome!

MatthewDoan1 (325)

@Highwayman Lol you could have just written it on the repl haha

Highwayman (1357)

@MatthewDoan1 actually I wrote in both the repl and here. I wasn’t sure where you would check.

MatthewDoan1 (325)

@Highwayman I have some free time right now, could you get on? (if you have time too)

Highwayman (1357)

@MatthewDoan1 I have around an hour right now and around 30 minutes in about 3 hours from now, do you want to do some stuff?

MatthewDoan1 (325)

@Highwayman I'm in school :( (for like 5 more hours)

Highwayman (1357)

@MatthewDoan1 hey, want to do some stuff now?