Skip to main content

All Questions

Tagged with
2 votes
1 answer
135 views

Tic-tac-toe game for Windows console

I am doing C++ for over a year and this is my game I tried making tic-tac-toe. And it's also my first program that uses multiple source files. main.cpp ...
NikolaTeslaPaga's user avatar
0 votes
1 answer
81 views

wtpdmt - Windows thread preemption duration measurement tool (C++)

I have this repository. The idea is that the user may measure for how long the thread is preempted with given priority class/thread priority. CommandLineParser.h: <...
coderodde's user avatar
  • 28.9k
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 ...
coderodde's user avatar
  • 28.9k
3 votes
1 answer
1k views

Snake Game in C++ with OOP need advice

I wrote a Snake Game in C++ and I have practiced some OOP approaches on windows 7. What I need: advice how to improve code Most important how to made what Snake on ...
Inex's user avatar
  • 131
6 votes
1 answer
1k views

Snake console game in C++

I reviewed this question to a snake game console implementation: My first C++ game (snake console game) I enjoyed refactoring this code and presenting a solution using more C++ features/classes. I ...
Sandro4912's user avatar
  • 3,076
5 votes
1 answer
78 views

Java program that relaunches itself in OS's terminal application

I wrote a Java program that when its executable .jar is opened manually, it re-opens itself inside the operating system's shell console. The purpose of this is to have a C#-style console application ...
potato's user avatar
  • 1,122
4 votes
1 answer
906 views

C++ Simple Game Beeping Utility

Lately I have been playing a game called Dirty Bomb. I like it very much, and since I was taking a rest of basic C++ OpenGL, i tried to make a simple console utility for it. What i wanted to achieve ...
Nikko77's user avatar
  • 137
3 votes
1 answer
374 views

C++ console progress display

I just figured out how to do a building menu with a progression feature in c++ console application. What this code does: It simply offers you a choice to build a building and then prints the ...
Cworm's user avatar
  • 31
1 vote
2 answers
2k views

Conway's Game of Life command line program in C++

I have programmed Conway's Game of Life in C++. ...
user avatar
3 votes
0 answers
176 views

Console based Vocabulary Trainer Version 2

After a long break I took the suggestions from Console based Vocabulary Trainer and reworked the Trainer. It contains of the following parts Vocabulary.h/cpp: Save and read vocabulary from/to text ...
Sandro4912's user avatar
  • 3,076
4 votes
2 answers
324 views

Snake game for Windows text console

I have started to code Snake in C++. I am finding it hard to make progress on this project because the code is quite messy. How can I improve the structure of my program? main.cpp: ...
user avatar
7 votes
3 answers
436 views

Console based Vocabulary Trainer

This code was reworked and repostet in Console based Vocabulary Trainer Version 2 I wrote a console based Vocabulary Trainer to practice C++. Its possible to add and remove vocabulary and practice ...
Sandro4912's user avatar
  • 3,076
10 votes
2 answers
317 views

Tic-Tac-Toe console application (as foundation for Ultimate Tic-Tac-Toe)

For the purpose of becoming better at C++ programming, I wanted to program Ultimate Tic-Tac-Toe as a console application for Windows in C++. However, I thought it would be sensible to create the plain ...
Ben Groeneveld's user avatar
9 votes
1 answer
4k views

Text-based User Interface in Python

I wanted to make a GUI-ish (a TUI) thing in the terminal as I have no experience with PyGame or the like. It works, but how can I improve this? ...
LForchini's user avatar
  • 275
2 votes
3 answers
177 views

Simple line editor

I'm self-learning C now and I want to find out if my code is good and clean or kinda messy. This exercise is a simple line editor. please tell me what do you think, If anything needs to be better in ...
Ariel Ariel's user avatar

15 30 50 per page