0
How can i customize "cin >>" in C++?
What i mean by this is that when you run something like " int x; cin >> x; " A popup with the title "Looks like the program needs input" and a description saying "Split multiple inputs into seperate lines" pops up But is there a way to customize the title and description? And an extra question : Is there a way to make a popup that doesn't need an input and only has an ok button in C++? ( kinda like the "alert("popup")" cmd on JS)
2 Answers
+ 1
1. No, it's a generic input box. It only show you how inputs are supposed to be written there (on separate lines). Most online code processors require inputs this way, more efficient. Although there are some online code processors that simulate interactive I/O, it still feels awkward to use, especially on mobile devices.
2. Also no (read ASR's response)
+ 2
I didn't understood your first questions write description with example.
Second question there is no such library in standard cpp for popup or alert you can give a message via cout or you can configure any third party libraries Linar moon , SDL sfml