Step 3 - put the code into the IDE and save the file
IDEs are a kind of software that tend to have a big empty space for you to paste or type some text
into. Some of them might make it a little difficult to figure out how to create a file, but there tend to
be IDE-specific guides on places like YouTube or whatever. Create a file and paste the code from
one of the pastebins in. Part of this program saves a few files, and it saves them in the same folder
as your program. Make sure you save your file somewhere you know the location of. Most IDEs
will save the program in the format of the language you're using, but in case they don't, Python files
are saved as .py files, Java files are saved as .java files, and C# files are saved as .cs files (again, I'm
not familiar with Rust). Some languages require you to save the file as the same name used to name
the class (without needing to know what a class is, it'll tend to be in the first line of code after all the
lines that say something about "import xyzthing", when it says something like "public class
Factorizer"). With the Java version, for example, you'll need to call it "Factorizer.java".
Step 4 - you might have to do a little extra to the code
In some languages, you have to do what's called compiling. This turns the code into a slightly
different file which the computer can more closely understand. This will be the case if you're using
Java. The IDE (or, if you're using Linux, the terminal) will have to make sure all of the code makes
sense and isn't typed in wrong. If it is, it'll tell you, so you can fix it. If it works, it'll create a .classfile. If you're using an IDE, there will be an option somewhere that says something about compiling
the code. If you are using the terminal to compile, you'll first have to get the terminal to the correct
folder. If you're using Linux (I can't remember it with Windows but it's similar, and, long story
short, it's almost identical on OSX but you might have to look it up), you'll need to know the folder
path from the root folder (the folder where all the other folders come from), and you'll need to type
into the terminal (without quotation marks) "cd /home/whateveryournameis/folder/folderagain/etc",
obviously replacing the folder path with your folder path. You'll then need to compile using a
command specific to the language you're using. If you're using Java, you'll need to type in "javac
Factorizer.java". javac is the name of a piece of software the terminal can use to compile Java code.
There are other more specific ones for the other languages. If you're using an IDE that can compile
and run code, you won't have to worry about this.
Step 5 - run the code
Most IDEs will have a button or a selection option thing in one of the things at the top of the page
(File, Edit etc) that says something about running the code. If you're using Emacs or some other
IDEs, you'll have to do it with terminal commands. For example, if you used Java with Emacs, after
you compile you'll have to type "java Factorizer" into the terminal, and once the terminal shows
your computer's name again, it'll be done.
Step 6 - open the .csv file, look at the image
If you have a version of the code with image generation, you'll find a .png with a bunch of dots in a
crazy pattern on it. You won't have to do anything weird to open it. It's just an image. To open the
.csv file, you'll need software that opens spreadsheets, such as Microsoft Excel. Two examples of
other completely free spreadsheet programs are OpenOffice and LibreOffice.