Linked Questions

5
votes
3answers
4k views

Shape Calculator in Java

This is my first time putting up a completed program onto the web and I was hoping to get some feedback on these areas: Commenting (Too much, not enough or do I need to simplify anything) Structure (...
8
votes
1answer
5k views

Encrypting strings in Golang

This is a an example application for testing some encryption and decryption functions in Golang. The functions encryptString(), ...
6
votes
3answers
2k views

Geometry Calculations - Cube, Sphere, and Tetrahedron

This is the first code I've written. It's for an intro to Java course. Could you look over it and let me know of things I could improve before handing it in? For reference, I've also provided what I'...
4
votes
1answer
4k views

Check if a String is a valid Double

For a class, I need to ask the user for a double. To verify that the number can be safely passed to Double.parseDouble, I wrote ...
5
votes
3answers
1k views

EncodingTranslatorStream - A stream object that translates character encoding

This class is a stream designed to perform character encoding translation. So you instantiate it, pass an input stream, and specify the input encoding and desired output encoding, so that when you ...
4
votes
1answer
2k views

Animal inheritance hierarchy

I'm trying to figure out if I'm doing superclasses right. Also, I welcome critique on Java structure/syntax etc. Animal.java: ...
4
votes
1answer
3k views

HND Java module (vending machine simulator)

As part of the distinction requirement, I am required to ask for testing/review of my code. There was no time allotted for this in class, and as such I am turning to the folks of StackExchange for ...
5
votes
3answers
152 views

Userform that calculates gas mileage

I created a project for a programming class that asks you to make a userform in Visual Studio that calculates mileage, given the user inputs of gallons of gas consumed and distance traveled. The code ...
4
votes
3answers
621 views

Right triangle side length calculation

My code compiles and executes. I would like to hear any comments or suggestions pertaining to my use of C++. ...
1
vote
2answers
2k views

Remove the occurences of an element from array if it occurs more than n times

I wanted to remove the occurrence of an element from an array if it occurs more than n times. For example: ...
4
votes
2answers
84 views

Posting accounting data to a report

I have some buttons on an Excel report. 2 in particular are for posting all Budget numbers to the report and posting the Actual numbers. I currently have 2 separate subs, one assigned to each button. ...
3
votes
1answer
533 views

Tic Tac Toe with Python and Kivy

Accomplishment: Tic Tac Toe game with Python & Kivy I have created a simple tic tac toe game with a random bot logic (really random after a user selects a mark). Next step would be to insert the ...
0
votes
1answer
181 views

Cleaning up 3D bin packing [closed]

This is a follow up question to 3D bin packing in Java I finished testing my code's result and started cleaning it up. Could anyone please tell me what I should do or fix to clean up this code more?...
4
votes
2answers
119 views

Accelerate the process of filling the quality control table

I'm working on a report of quality control. I've got a table, with all the points of control inside, and each time, when I get a new test result, Excel should fill this table. My code already works, ...
0
votes
1answer
184 views

Project Euler#18: Maximum Paths I: Brute Forced Depth First Search

Problem: Data: ...

15 30 50 per page