Linked Questions

3
votes
2answers
88 views

LinkedList using Node Class in C++

I implemented Linked List data structure in C++ for practice purpose. The LinkedList.h uses Node.h as nodes. Creates and insert ...
5
votes
3answers
5k 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 (...
67
votes
8answers
9k views

Open, write and close a file

I have a small 10-liner function that writes some data to a file using an std::ofstream. I did not explicitly call .close() at ...
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: ...
8
votes
1answer
6k views

Encrypting strings in Golang

This is a an example application for testing some encryption and decryption functions in Golang. The functions encryptString(), ...
7
votes
1answer
4k views

Basic JavaScript template engine using replace, match and RegExp

To practice with regular expressions, I wrote this basic template engine in JavaScript in addition to a simple test case to make sure it works correctly. I am wondering if there is any improvements I ...
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
2answers
87 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. ...
5
votes
5answers
12k views

Checking if a given string is in alphabetical order

I wrote this function to check if a given string is in alphabetic order. How can I improve? ...
4
votes
2answers
58k views

Connect Four game in Java

I was wondering if you guys could point out any mistakes I've made in this program, and how to improve the code. It's a simple console-based Connect Four game. You use 0-5 to place your piece in the ...
3
votes
1answer
636 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 ...
4
votes
2answers
125 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, ...
5
votes
2answers
6k views

Read binary serial data and parse integers

I'm reading serial data in binary format from a stream, and I'm not happy with how I extract the data because it takes so much operations to extract the binary data from a simple line of binary data. ...
0
votes
1answer
183 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?...
10
votes
3answers
223 views

Writing a program to read a maximum of 99 elements in an iteration from a list

I want to read a list of elements and pass a maximum of 99 elements to a function for some logical operations. I have tried this with an array as an example and this code was successful in achieving ...

15 30 50 per page