News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

New User Build and Run troubleshooting 20.03 on Windows 11

Started by NewOrOld, February 21, 2023, 02:40:09 AM

Previous topic - Next topic

NewOrOld

Hello everyone! I hope this is the correct spot to post this kind of issue. I am a beginner using the c++ Hello World project, and I am trying to use cin to get input when using build and run. However, when I try to repeat the exact same thing from a class. It doesn't work. I have an int and a cin >> for both parts of the code I want to get input from. I have no errors when starting a run, but I can not add input for the second part I want to input a value during the run. I am not confident in my skills yet, so I can't say exactly if I did something wrong on my part. I did copy the exact same code, so it seems unlikely. I was wondering if there was something I need to activate on my end on code:blocks, and I am using the GNU GCC compiler if that helps.

Miguel Gimenez

Things happening while your program is running are OT here, you should ask in a programming forum. Show them the non-working code.