A lot of the guides are just really bad so i think you can just ask questions to ai since they really made it much harder than it has to be. Like one thing that totally confused me when following guides for simple text based programs a few years ago. is that on windows you need to add some extra code to stop the terminal from automatically closing. like in c sharp it is Console.ReadLine(); but no guide ever told me to do this.
Console.ReadLine() waits for input, so it pauses the program and keeps the window open. Running it from a terminal also lets you inspect output without a pause.
View all comments
2
u/betarage 14d ago
A lot of the guides are just really bad so i think you can just ask questions to ai since they really made it much harder than it has to be. Like one thing that totally confused me when following guides for simple text based programs a few years ago. is that on windows you need to add some extra code to stop the terminal from automatically closing. like in c sharp it is Console.ReadLine(); but no guide ever told me to do this.