1. All Categories
  2. Code Review

Code Review : Recent Questions and Answers

Find answers to your questions about Code Review or help others by answering their Code Review questions.

Finding the position in a triangle for the given challenge

The LAMBCHOP doomsday device takes up much of the interior of Commander Lambda's space station, and as a resultthe prison blocks have an unusual layout. They are stacked in...

Asked on 11/28/2021

2 answer

Parse a simple key=value config file in C

Write a program that should read a file formatted strictly like this below:$ cat samplebingo=2bingo2=939bingo3=textThe left and right side of = are consecutively parameter name and...

Asked on 11/28/2021 by Sedmaister

6 answer

Rails model for aggregate data instead of a real table

I have a rails app with a Project model. Each project has usages which is numeric data. I need to get all the usage for each month and year. I...

Asked on 11/28/2021 by KNejad

1 answer

Powershell script to verify Linux-generated md5sum file

I'm moving some files from a Linux machine to a Windows machine over a low-speed, possibly buggy experimental communications channel that I want to test. One of the tests...

Asked on 11/28/2021

1 answer

Battleship game in C

Goal: Create a simple battleship game to test what I've learned so far.#include <stdio.h>#include <stdlib.h>#include <time.h>void buff_clr(void){ char junk; do{ ...

Asked on 11/25/2021 by MrPlow

1 answer

QTableView implementation

I've put together my first table using Qt's QTableView and a custom data model. Currently, some data is populated on initialisation, and the user has the option of adding and...

Asked on 11/25/2021 by 19172281

1 answer

A Level Statistics Calculator/Helper For A Casio Fx-CG50 Calculator's MicroPython

I have made a program for my calculator's micropython, that can solve various a level statistics questions for me. However due to the limitations of the micropython's standard library, i...

Asked on 11/25/2021 by user227128

1 answer

upload multiple images and resize

I've written PHP code to upload multiple images to a server. This function processes a maximum of 10 images at one time and if any image's width or height is...

Asked on 11/25/2021 by retqio

1 answer

RFC 1951 "Inflate" (de-compression)

My exploration of Rust continues. I'm quite pleased with the 2-step table lookup for decoding variable bit-length codes here, for some reason I found this tricky to...

Asked on 11/25/2021 by George Barwood

0 answer

Generalised NxN Sudoku solver using heap

My implementation of a Sudoku solver. It isn't done using the most naive way but still it does an exhaustive search with some assistance from a heap. The only constraints...

Asked on 11/25/2021 by srt1104

1 answer

Ask a Question

Get help from others!

© 2021 All rights reserved.