-
REQUIREMENTS:
- Windows Operating System (tested on Windows 10)
- Java JDK version 17+ (May work on older versions, but I only tested with version 17.0.2)
-
DESCRIPTION: The folder 'ExternalUse' contains updated code for 'CreateRandSampFile' with a batch file that'll execute the code so an IDE isn't required.
-
INSTALL/USAGE:
- Download Repository (Code -> Download ZIP)
- Unzip either entire repository or the 'ExternalUse' folder to a new folder
- Open 'ExternalUse' and select '.CreateSampFile'
- Either open '.CreateSampFile' and run 'run.bat' or move the folder to another place in your hard drive
Little program that generates a text file with random numbers. I was really tired of typing random numbers for class so here is my solution!
NOTICE: this will work only if you are using an IDE on your local system, meaning that online IDE's such as JDoodle will not work (as far as I know)
- I recommend IntelliJ IDEA if you need an IDE (Link: https://www.jetbrains.com/idea/)
- First open the 'src' folder and then open 'CreateFile.java' (on GitHub)
- I recommend copying and pasting the code into your IDE, however, you can download either the file or the entire repository
- I could be wrong about the repository (still new to GitHub)
- Build/Run the .java file in your IDE after setting the location for file creation
- code comments should help you out here
- you will be prompted to enter the number of values required for your assignment/project after successfully running the program, which will specify how many random numbers will be in the file created.
- Finally open the created file and verify that it was generated successfully
- file should have a positive integer number on every line