Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4581168
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T20:53:11+00:00 2026-05-21T20:53:11+00:00

I have a couple of simple C++ homeworks and I know the students shared

  • 0

I have a couple of simple C++ homeworks and I know the students shared code. These are smart students and they know how to cheat moss. I’m looking for a tool that can rename variables based on their types (first variable of type int will be int1, first int array will be intptr1…), or does something similar that I cannot think of now. Do you know a quick way to do this?

edit: I’m required to use moss and report 90% match

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-21T20:53:12+00:00Added an answer on May 21, 2026 at 8:53 pm

    Yep, the tool you’re looking for is called a compiler. 🙂

    Seriously, if the programs submitted are exactly the same except for the identifier names, compiling then (without debugging info) should result in exactly the same output.

    If you do this with debugging turned on, the compiler may leave meta-data in the executable that is different for each executable, hence the comment about ensuring it is off. This is also why this wont work for Java programs – that kind of info is present whether in debug mode or not (for the purposes of dynamic introspection).

    EDIT: I see from the comments added to the question that you’re observing some submissions that are different in more than just identifier names. If the programs are still structurally equivalent, this should still work.

    EDIT: Given that the use of moss is a requirement, this probably isn’t the way to go. I does seem though that moss has some support for comparing assembly – perhaps compiling to assembler and submitting that to moss is an option (depending on what compiler you’re using).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have python code that needs to do just a couple simple things to
I have a couple of super simple databases. Basically they all consist of single
I have a couple of simple forms that send an html-only email. Most clients
I recently made this simple navigation where you have a couple links that have
I have made a simple web-page including a couple of static pages, a css
I have a couple of links on some images. The code is very simply
I have couple of questions about AS3 variables handling by AVM/compiler/scope .1. This code
I am using ExtJS 4.1.0 Say I have a couple simple model's connected via
I have done a couple of simple swing based apps with static layout, but
I have a couple of databases containing simple data which needs to be imported

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.