Top new questions this week:
|
I stumbled upon this unsolved problem of math named Euler’s brick. I wrote a program in C++ to generate solutions for Euler’s brick problem. It searches from …
|
This is a follow-up to the question: C program for storing the time of the sunset and sunrise After receiving a lot of great help and critique I’ve updated my code. Questions Are there major issues …
c |
|
|
asked by Max Score of 6 |
|
|
|
I have written the below shared code and wanted to ask for some optimization tips or even alternative (more elegant?) ways of solving the task at hand (maybe without …
|
In order to provide a better output of sets with many consecutive elements (a similar class could be written for a list or tuple,…
|
I have a graph represented with an Adjacency set similar to: …
|
Continuing my K&R journey! Please see below for my solution to: Exercise 1-20: Write a program detab that replaces tabs in the input with the proper number of blanks to space to the next tab stop….
|
Continuing to slowly progress through The C Programming Language by Brian Kernighan and Dennis Ritchie. The code I came up with below is for …
|
Greatest hits from previous weeks:
|
I am using ExcelDataReader to import an Excel file to a dataset. Example Excel table: …
|
I’m trying to find the closest point (Euclidean distance) from a user-inputted point to a list of 50,000 points that I have. Note that the list of points changes all the time. and the closest distance …
|
This is a working stack implementation using a linked list. I’m just curious to know if this is a good way of doing it. Any suggestions are welcome. Can we keep track of the number of elements in …
|
I decided to build my own fade-in fade-out function, since that is all I need on my page. Please comment on things I can make better. …
|
The code below prints sum from 1 to 10: \$1\$ \$1+2 =\$ \$1+2+3 =\$ \$1+2+3+4 =\$ \$……\$ \$1 + … 10 = 55\$ …
|
Here is a very basic Snake game in C, which I just want to make better. The game is working perfectly but it is very annoying because when playing it, it is always blinking. I hope that somebody could …
|
I am trying to write a basic function that will decide whether the object already exists in array of objects based on unique id that is inside this object as a property. Upon searching I came up with …
|
Can you answer these questions?
|
I’m learning Python Scrapy, and I’m scraping product information from the following website: apotheekdedeyne.be/ This project is for personal learning & …
|
I am making a plugin for Firefox, this is (more or less) my first time working with JavaScript. Is this a reasonable design for working with both values and lists in a database? …
|
The code copies the second column from the right of all the docx files’ tables from the folder where the py file is saved, and does some editing on the content in specific cases. The problem that it …
|