Submission + - Cross-platform sample without revealing code?
cos(0) writes: "I will be teaching a computer science / C++ course to high school students. They will have two projects they'll have to take to completion, making one improvement at a time. Since all students will be working on the same projects, I would like to provide a sample implementation that they could run to see what's expected of them in terms of interacting with the program and its functionality—but I don't want them to see how it's structured in terms of classes, functions, and other high-level logic. I'd provide a binary—but students may use their own laptops, and I know that there will be multiple platforms in the classroom. I've gone down the path of code obfuscation and compiling followed by decompiling, but neither approach is as fruitful as I like. Code obfuscators are few and expensive, and decompilers are few, immature, and I haven't been able to get one to work for me. How can I provide a sample implementation to all my students while shrouding its logic?"