Questions tagged [console]
Use this tag for programs that interact with their user by means of a character-based console or terminal
843
questions
6
votes
2
answers
231
views
ds - A directory switcher via tags in Windows command line
I have this repository.
The idea is that there is a file tags sitting in the users home directory, and which contains the tag declarations of the format ...
0
votes
1
answer
226
views
Revisiting beginner problem: Bank account
I've been writing c# for about 4-5 years now mostly at school/uni. I consider it my most fluent language, but I am always learning. I decided to re-try a beginner project with the skills I've learned ...
1
vote
1
answer
180
views
swap two different length group of variable in array
The code below swaps two different-length groups of variables of the same array in the same array.
Is there any other method to achieve this that is less heavy or less redundant?
...
3
votes
1
answer
37
views
Open the best Reddit posts with Nim
I wanted to try out the Nim language so I wrote a simple program to retrieve the top \$n\$ messages on a given subreddit in a given time frame and open them in the default browser.
I would really ...
4
votes
3
answers
409
views
Fully-functioning chess game in Python
This post is in succession to this question. I have implemented all functionalities like castling, en-passant, pawn promotion etc. 50 move rule and 3-move repetition is pending.
I would like my code ...
2
votes
1
answer
59
views
URL link scraper and analyser
I recently wrote a testing tool (called plink) for retrieving all the links from a website (and then retreiving links from the linked pages, and so on).
Essentially,...
1
vote
3
answers
1k
views
Write SQL Server table to Parquet file
This is a C# console application that creates Parquet file for SQL Server table.
Given a 5GB SQL table, it takes nearly 65 minutes, so for our bigger tables (up to 500GB), it may end up taking days to ...
4
votes
3
answers
325
views
Word-guessing game
The objective of the game is to guess a five-lettered word in five guesses or less. When the user (player) enters a word, the application will inform the user whether their guess was correct or not. ...
4
votes
2
answers
136
views
Processing a very long single line of comma-separated (?) floating point numbers
I have a sample svg file from the graphics program Inkscape. My objective is to collect every third pair from a very long line of floating point numbers. That seems simple enough. The larger objective ...
3
votes
0
answers
236
views
System to automatically login to my university's Wi-Fi network using HTTP request
What is this?
My university's Wi-Fi network requires students to visit a specific URL and login to the network before we can use the actual internet. This project replicates that same process by ...
5
votes
4
answers
4k
views
Dividing two numbers then handle the divide by zero exception with try/catch
I am new to coding, I hope you can help me to improve my code :)
First of all: The code works correctly.
...
3
votes
2
answers
333
views
(Rev. 2) Command-line Tower of Hanoi game
This is a follow-up from Command-line Tower of Hanoi game -- many thanks to those whose reviwed it.
By request, the project is also available on GitHub. Forks and bug reports are welcomed.
Compiled ...
5
votes
1
answer
155
views
C# console app to subscribe to Chuck Norris API
I'm a newbie when it comes to programming. I'm working on a console app that subscribes to ChuckNorris JSON API and displays the results.
I believe I took into account all possible scenarios. Do you ...
5
votes
2
answers
1k
views
Command-line Tower of Hanoi game
This code has been revised. See (Rev. 2) Command-line Tower of Hanoi game
Compiled with g++ 9.4.0. makefile included. Any ...
7
votes
4
answers
1k
views
Calculate average values for each day of the week for each Meter
I have a program with these two methods. One method to import a set of data from a CSV within the given time period and store them in a dictionary. Here the data in CSV file is stored in following ...