腾讯云
开发者社区
文档
建议反馈
控制台
登录/注册
首页
学习
活动
专区
工具
TVP
最新优惠活动
文章/答案/技术大牛
搜索
搜索
关闭
发布
精选内容/技术社群/优惠产品,
尽在小程序
立即前往
文章
问答
(1068)
视频
沙龙
1
回答
大写函数不适用于Visual 2013 (C++)
,它总是给我奇怪的输出(有些像alpha的符号),但是它(函数)在2010年起工作,#include <stdio.h>
scanf_s
浏览 2
提问于2014-12-06
得票数 0
回答已采纳
1
回答
读取用户输入并存储到数组时出错
、
、
一旦程序到达循环,就会有一个“程序停止工作”窗口来扫描用户输入的名称("
scanf_s
(%s",&nameptri );)。任何帮助或建议都将不胜感激!nameptr[SIZE][80]; int i, result, size;
scanf_s
("%d", &size); printf("Enter %d names: ", size)
浏览 1
提问于2015-09-19
得票数 1
3
回答
C字符不工作在if..else中
、
、
、
= 't')
scanf_s
(" %c", &shape); { printf(
浏览 4
提问于2014-04-12
得票数 0
回答已采纳
3
回答
在C中出现循环问题并重新分配char变量(初学者)
、
、
、
{
scanf_s
(" %c", choice); //Want this line to get an input y/n and if y, repeat the
浏览 4
提问于2014-09-01
得票数 0
1
回答
Visual Studio C/C++ ucrtbased.dll访问冲突写入位置
、
、
; chk = getchar();} 仍然给我同样的错误。
浏览 1
提问于2015-10-29
得票数 1
3
回答
指针、字符和malloc
、
、
、
我对以下代码有问题:{int num, i;
scanf_s
"%d", &num);for (i = 0; i < num; i++, pointer++)
scanf_s
浏览 4
提问于2014-03-09
得票数 1
回答已采纳
1
回答
C程序问题: scanf不能正常工作
、
、
、
printf("%s", "[2] multiply\n"); printf("%s", "[4] quit\n"); while (choice >= 0 && choice < 4) printf("%s", "Enter a number: &quo
浏览 5
提问于2013-10-30
得票数 0
3
回答
不能将一个值赋值给一个字符变量,并在c中使用scanf?
、
、
、
到目前为止我已经int main(){printf("Enter one char\n");printf如果我把它改成int main(){printf("Enter one char\n");printf
浏览 1
提问于2014-01-22
得票数 0
回答已采纳
1
回答
一个整数不等于另一个整数?
、
"stdafx.h" {sumOfSquares = 0;{ for (int i = min
浏览 5
提问于2015-01-31
得票数 0
回答已采纳
1
回答
无法读取C中的结构数组
、
、
char model[30]; { printf("Introduce number of cars: "); printf("Manufacturer: "); printf("Model: ");
s
浏览 4
提问于2016-01-21
得票数 1
回答已采纳
1
回答
如何在C中修复运行时检查失败#2的错误?
\nPlease type 2 for Economy Class:");
scanf_s
("%s", selection, strlen(selection));\nEnter Y to confirm:");
scanf_s
(&quo
浏览 20
提问于2020-10-09
得票数 0
回答已采纳
1
回答
如何在错误的输入格式(垃圾值)后使用scanf?
、
、
、
、
虽然有一些方法可以解决这个问题,比如对字符输入使用isdigit(),但我想使用
scanf_s
和"%d“来解决这个问题。#include <stdio.h>
scanf_s
("%d", &id); printf(&qu
浏览 16
提问于2021-06-07
得票数 0
1
回答
使用字符串格式化程序从未处理的异常中导致“访问冲突写入位置”
include<stdio.h> char b[12]; fflush(stdin);
scanf_s
浏览 0
提问于2014-12-10
得票数 0
2
回答
在运行时初始化2d数组并允许用户输入
、
、
Please enter the number of rows: ");printf("Now enter the number ofcolumns: ");
浏览 1
提问于2017-04-24
得票数 0
4
回答
C- Scanf和Printf不正常执行,我不知道为什么
、
、
、
、
\n"); printf_s("what two numbers would you like to work with?\n");
scanf_s
("%d", &num2); if (choice >= 1 && choice <= 3) {\n");
浏览 6
提问于2019-01-22
得票数 3
回答已采纳
1
回答
printf:没有为格式字符串传递足够的参数
、
、
<stdlib.h> printf("Enter a test score (-1 to quit):"); sum = sum + score;
scanf_s
浏览 4
提问于2016-10-17
得票数 0
回答已采纳
4
回答
程序的问题[C数组]
、
, cookLoad = 0; int total_kWh;
scanf_s
("%d", &Telly);
scanf_s
("%d", &TVWatt); printf("input average use
浏览 0
提问于2013-11-11
得票数 0
1
回答
接受二维数组中的多个字符串?
、
、
Generate Bill"); printf("\nSelect Option:"); { printf("\nEnter Number of Groceries:");
scanf_s
(int i = 0; i <iG
浏览 5
提问于2017-04-27
得票数 0
回答已采纳
3
回答
C程序在上次输入后崩溃
\n"); fflush(stdin);
scanf_s
: ");
浏览 4
提问于2015-01-05
得票数 1
回答已采纳
1
回答
扫描空间为焦
、
、
#include <stdio.h> { while (
scanf_s
(" %c", &c1) == 1) {
浏览 0
提问于2018-11-03
得票数 1
回答已采纳
点击加载更多
扫码
添加站长 进交流群
领取专属
10元无门槛券
手把手带您无忧上云
相关
资讯
VS安全函数问题:VS报错 该函数不安全是怎么回事?如何解决?
基于LLM学习C语言
C语言/C加加编程?程序制作坦克大战小游戏!
源码解析,用C语言制作的猜数字小游戏,开始你的表演吧!
数据结构之链表(一)
热门
标签
更多标签
云服务器
ICP备案
腾讯会议
云直播
对象存储
活动推荐
运营活动
广告
关闭
领券