字符串输入输出函数-题解(C语言代码) 摘要:%s 遇到空格被截断 ``` #include int main(){ char s1[10005],s2[10005]; scanf("%s%s",s1,s2); …… 题解列表 2019年09月09日 0 点赞 0 评论 797 浏览 评分:4.6
字符串输入输出函数-题解(C++代码))(格式错误。。。“题目”真坑) 摘要:不知道有多少人和我一样为了图省事,于是代码中的提示字符"please input a number:"和"please input a string:"是直接copy题目上的,到最后交程序时老是格式错…… 题解列表 2019年08月03日 0 点赞 2 评论 1191 浏览 评分:9.9
字符串输入输出函数 (C语言代码) 摘要:解题思路:数字字符串都用字符数组储存注意事项:格式要对参考代码:#include <stdio.h>void GetReal(char *N){ gets(N);}void GetString(cha…… 题解列表 2019年03月21日 0 点赞 0 评论 753 浏览 评分:0.0
字符串输入输出函数 (C语言代码) 摘要:#include<stdio.h> void GetReal(double *p) { double x; printf("please input a number:\n…… 题解列表 2019年03月05日 0 点赞 0 评论 1119 浏览 评分:0.0
字符串输入输出函数 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner; public class Main{ public static void main (String[] …… 题解列表 2019年02月27日 0 点赞 0 评论 863 浏览 评分:0.0
字符串输入输出函数 (C++代码) 摘要:解题思路:注意事项:参考代码:#include<iostream> #include<cstdio> using namespace std; int main() { cout<<"pl…… 题解列表 2018年04月15日 0 点赞 0 评论 1666 浏览 评分:0.0
优质题解 Manchester- 字符串输入输出函数 摘要:解题思路:①:用c语言编写时,输出数字时不好控制应为不知道小数点后为多少位有效数字②:所以把数字也用字符串存储参考代码:#include<stdio.h> void GetReal(char *…… 题解列表 2018年04月03日 18 点赞 16 评论 3652 浏览 评分:9.8
字符串输入输出函数 (Java代码) 摘要:解题思路:注意事项:参考代码: import java.io.InputStream; import java.util.Scanner; public…… 题解列表 2018年02月24日 0 点赞 0 评论 1311 浏览 评分:9.9
字符串输入输出函数 (C++代码) 摘要:参考代码:#include<iostream> using namespace std ; void getreal() ; void getstring() ; int main() { …… 题解列表 2018年02月01日 0 点赞 2 评论 742 浏览 评分:2.0
字符串输入输出函数 (Java代码) 摘要:解题思路:注意事项:参考代码:import java.util.Scanner;public class Main{ public static void main(String[] args) { …… 题解列表 2017年12月24日 1 点赞 2 评论 574 浏览 评分:0.0