Top new questions this week:
|
Starting point
I kind-of inherited a VBA project at work that consists of a bunch of Word document templates that provide users with the tools they need to create documents according to company ...
|
I've just made this program and I want to know how to improve it. It just receives a word and prints it backwards. Sequences of numbers are also accepted, but not white spaces (that's why I used ...
|
Haven't put one of these together since college. How does this look overall?
public class HashTable<T, TU>
{
private LinkedList<Tuple<T, TU>>[] _items;
private ...
|
I am working on this assignment to draw the flag of Liberia for my essentials of computer programming class.
I finished it but had extra time to kill and noticed that a couple similar blocks of ...
|
I'm trying to learn the Repository pattern, and I have some questions regarding my current understanding of it.
All the examples I've been able to find of database repositories use ORMs, but for a ...
|
I've been working on this game for a couple weeks now as a purely personal project to help myself learn Java. I'd like to know if I'm on the right track with my project.
Items I'd like specific ...
|
I have created an automated macro which takes vehicle crash data from a .csv file and automatically creates a pivot table and charts and compares it to the previous year. The code is approximately ...
|
Greatest hits from previous weeks:
|
Imagine that I need a color palette form my Winforms application to have a consistent look.
What I did was create a static helper class, and helper methods that I can call from anywhere in my code ...
c#
|
|
|
asked by
Sergio Tapia
50 votes
|
|
answered by
akmad
34 votes
|
|
|
|
I have made a basic calculator using methods. This is my first attempt at using methods and would like to see if I can improve on this as there is a lot of repeated code.
import java.util.Scanner;
...
|
Can you answer these?
|
I wrote below block allocator for exercise and would love to get your suggestions.
Main features I wanted to have :
Detecting buffer overflows with canary terminator.
Being able to allocate ...
|
What are some good improvements on this script to detect when a session is no longer valid?
Important definitions:
session.gc_maxlifetime - (default 1440 seconds) defines how long an
unused PHP ...
|
I am writing a Swift library. I'm writing unit tests for that library.
I am afraid that some of the code that I am testing will possibly throw exceptions. In Swift, we can handle errors, but we can ...
|