gets()问题 [英] gets() problem

查看:87
本文介绍了gets()问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有这个全局变量:

I have this global variable:

展开 | 选择 | Wrap | 行号

推荐答案

它跳转到printf并获取?

您是否尝试过冲洗流?
It jumps both printf and gets?
Have you tried flushing the streams?



它同时跳转到printf并获取?

你试过冲洗溪流吗?
It jumps both printf and gets?
Have you tried flushing the streams?



只跳过获取...和同样的问题,即使使用flush

only skips gets...and yes same problem even with flush


我有以下内容:
I have this after:
展开 | 选择 | Wrap | 行号


这篇关于gets()问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆