Top new questions this week:
|
I've always been a little bothered by the fact, that in order to get user input in C++, one had to use up to three lines of code in an ugly manner like the below to get user input for a specific type, ...
|
To preface this post a little bit, I'll explain a little bit of the "backstory" here. The Stack Exchange site, Gaming.SE, also known as Arqade, often has a large influx of bad questions about the ...
|
The goal of the following code is to be able to use an Xbox Controller in a Java program, it works with the jinput library.
Unfortunately this library is rather old, has little to no documentation ...
|
I am getting two different lists of members, then if certain conditions meet, I add more members to the list before converting into an array.
Is there any way this could be improve? I guess we can ...
|
Is there a more elegant way than the following to check if two numbers have the same sign?
bool sameSign(int num1, int num2)
{
if (num1 > 0 && num2 < 0)
return ...
|
Code Review is running rampant with an infection. A zombie infection.
Everywhere posts are becoming rapidly mutated into slobbering, green
freaks of nature. But the citizens of Code Review are ...
|
I've spent my fair share of time criticizing other people's code on this site; but I'm finding out I'm kind of a hypocrite. Almost everything I've written so far has been some program whipped together ...
|
Greatest hits from previous weeks:
|
I'd like this code to be improved.
package com.array.demo;
import java.util.Arrays;
public class ArraysDemo {
public static void main(String[] args) {
// TODO Auto-generated method stub
...
|
I am just coding some classic brute force password cracking program, just to improve myself.
I've explained how my program works at the start of the code. Check some of those screenshots to ...
|
Can you answer these?
|
I've been learning Scala and I'd love to get your feedback in order to improve. As an exercise I made a simple framework for creating command-line user interfaces.
Any and all comments are welcome, ...
|
In an attempt to get deeper down into Scala, I decided to make a BST using as many interesting concepts as possible in order to explore everything Scala has to offer.
Taking inspiration from this ...
|
Given two input directed graphs \$G_1 = (V_1, A_1)\$ and \$G_2 = (V_2, A_2)\$, the problem of isomorphism asks whether the two directed graphs are isomorphic, or in other words, whether the two input ...
|