Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
so I have seen this link and trying to find notes to help to rewrite it

What I have tried:

CSE-141L/assembler.py at master · zhl108/CSE-141L · GitHub[^]
Posted
Updated 24-Nov-20 5:24am
Comments
Richard MacCutchan 24-Nov-20 11:26am    
We have already explained that this site does not provide code conversion services. Also, if you do not understand the code or what it does, then don't waste time with it.
Rick York 24-Nov-20 15:49pm    
You asked for tips before and now you want notes. I think you are being entirely disingenuous. The internet if full of tips on how to write C++ code but you aren't looking for notes or tips. You are looking for someone to write the code for you.

It ain't happening pal.

1 solution

This is not a code conversion service: we are not here to translate code for you.
Even if we did, what you would end up with would not be "good code" in the target language – they are based on very different frameworks, and what makes something work in one language does not always "translate" directly into another.
So what you end up with is very poor code, that is difficult if not impossible to maintain, that can’t be upgraded nicely, and that will cause you immense headaches if the original is changed. And it’ll be a nightmare to debug if it doesn’t work "straight out of the box".
Instead, use the source code as a specification for a new app written in and for the target language / framework and write it from scratch using the original as a "template". You will get a much, much better result that will save you a lot of time in the long run.

And frankly? If you blindly convert from any language into C++ and hand it is as your won work then two things will happen:
1) You will learn nothing about how to write C++ code, and will real problems when you either reach a task you can't find (and it'll be more complicated that this task), or reach your exams and can't copy from anywhere ...
2) It'll be blindingly obvious to your tutor what you did (and probably the language you found it in) and you could get an automatic course fail for plagiarism.

I'd think long and hard about your whole homework solving method, if I was you ...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900