We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b1f8a7c commit c18cb04Copy full SHA for c18cb04
comfortable-swipe.cpp
@@ -16,13 +16,21 @@ You should have received a copy of the GNU General Public License
16
along with this program. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
19
+#include <ios> // std::ios
20
+#include <iostream> // std::cin, std::cout, std::cerr
21
#include <string> // std::string
22
#include "lib/comfortable_swipe"
23
24
/* MAIN DRIVER FUNCTION */
25
26
int main(int argc, char** args)
27
{
28
+ // improve buffering by decoupling loggers from stdio
29
+ std::ios::sync_with_stdio(false);
30
+ std::cin.tie(0);
31
+ std::cout.tie(0);
32
+ std::cerr.tie(0);
33
+
34
if (argc > 1)
35
36
std::string arg = args[1];
0 commit comments