A mechanism for interacting with a computer operating system or software by typing commands to perform specific tasks.
2
votes
1answer
289 views
Execute script on remote host and obtain variables on localhost
This executes a predefined script on a remote host, and somehow retrieve variable values without affecting STDOUT and STDERR.
...
11
votes
0answers
112 views
Racetrack in Java
Racetrack:
The August community challenge is to implement a program that plays the Racetrack game. Each player starts with an integer position on a square grid. On each turn, the current player can ...
4
votes
0answers
119 views
Reading Intervals from command line
I want to parse a command line using boost.program_options. Most of my command line arguments will be intervals, which I could implement as something like ...
3
votes
0answers
264 views
Building a console application using a DI service container
I am working on a project that will allow developers to create a console application using a dependency injection service container. Both the console and container are Symfony components with some ...
2
votes
0answers
179 views
The right way to use IPC::Open3 in Perl
Here is the function which does exactly what is specified by its name:
...
2
votes
0answers
123 views
Simple Win32 console library (mimicking almighty SFML) - follow-up
I'm trying to mimic the SFML library to be suitable for text-based games. The library called MSLIB in GitHub here.
Here is a sample of the library implementation. It prints gray square onto the ...
2
votes
0answers
73 views
Delegating which module's functions to use based on user input
My main concern with this code is this problem - given that this program could generate a prompt string from Bash, Zsh, Fish, etc., I would like to make this code easily extendable so people can add ...
1
vote
0answers
25 views
1
vote
0answers
78 views
1
vote
0answers
56 views
Text-based Snake game on Window - follow-up 2
Previous question:
Text-based Snake game on Window - follow-up
Summary of improvements:
Corrected the names of classes and members data
Implemented Console ...