编号:C2141直译:在八进制中出现了非法的数字‘#’(这个数字#通常是8或者9)。错误分析:如果某个数字常量以“0”开头(单纯的数字0除外),那么编译器会认为这是一个8进制数字。例如:“089”、“078”、“093”都是非法的,而“071”是合法的,等同于是进制中的“57”。
原创 2021-08-05 11:45:10
203阅读
[原创作品---转载请注明出处----地址:http://blog.csdn.net/jiuaiwo1314]error C2275! illegal use of this type as an expression 今天在VS2008上面调试模拟器.编译的时候发现报了这个错误,经过查看代码发现,VS2008编译器,编译不允许在
原创 2022-01-06 16:38:27
405阅读
问题: [oracle@tony admin]$ lsnrctl start  LSNRCTL for Linux: Version 10.2.0.1.0 - Production on 26-OCT-2011 01:52:42  Cop
原创 2011-10-26 10:11:55
3280阅读
在使用concat连接字符串时出现错误:MySQL Error: Illegal mix of collations for operation 'concat' 原因:字段操作默认为UTF8的编码,应该绝对统一使用UTF-8,而创建数据库时使用了其它编码。 解决方法:在Navicat for My
转载 2017-07-11 16:52:00
353阅读
2评论
[oracle@phydb admin]$ lsnrctl startLSNRCTL for Linux: Version 11.2.0.1.0 - Production on 15-SEP-2014 02:33:08Copyright (c) 1991, 2009, Oracle. All rig
转载 2017-03-10 12:23:00
234阅读
2评论
简单题View Code #include <iostream>#include <cstdio>#include <cstdlib>#include <cstring>#include <algorithm>using namespace std;#define maxn 30char order[maxn];char st[maxn];int l;void work(char ch){ char x; int d; switch (ch) { case 'J': x = st[l - 1]; for (int i
转载 2011-07-23 09:41:00
20阅读
2评论
2011-12-14 05:42:17地址:http://acm.hdu.edu.cn/showproblem.php?pid=2041题意:中文递推。mark:dp[i] = dp[i-1] + dp[i-2]。用了long long,最大才102334155,int应该也可。代码:# include <stdio.h>long long dp[50] = {0, 1, 1} ;int main (){ int i, n ; for (i = 3 ; i <= 40 ; i++) dp[i] = dp[i-1]+dp[i-2] ; scanf ("%d"
转载 2012-01-06 14:45:00
12阅读
lsnrctl启动报错,Linux Error: 29: Illegal seek lsnrctl启动报错,信息如下 [oracle@sap admin]$...
原创 2022-03-11 10:06:30
398阅读
lsnrctl启动报错,Linux Error: 29: Illegal seeklsnrctl启动报错,信息如下[oracle@sap admin]$ lsnrctl startLSNRCTL for Linux: Version 11.2.0.1.0 - Production on 15-SEP-2014 02:33:08Copyright (c) 1991, 2009, Oracle.  A
原创 2021-04-10 19:25:39
298阅读
<br />在include wspiapi.h之前#define _WSPIAPI_COUNTOF
转载 2023-09-19 10:23:10
76阅读
lsnrctl启动报错,Linux Error: 29: Illegal seek lsnrctl启动报错,信息如下 [oracle@sap admin]$ lsnrctl start LSNRCTL for Linux: Version 11.2.0.1.0 - Production on 15-SEP-2014 02:3...
转载 2021-04-13 23:11:42
565阅读
当你命名你的源文件时*.c,MSVC假定它正在编译C,这意味着C89。所有块本地变量都需要在块的开头声明。解决方法包括:在代码块的开始部分声明/初始化所有局部变量(紧接在大括号之后{) 将源文件重命名为*.cpp或等效并编译为C ++。 升级到VS 2013,放宽这个限制。示例:下面程序会报错//最简单的创建多线程实例#include<stdio.h>...
原创 2021-07-19 17:39:28
925阅读
---------------------------------------------------------------------------------------------错误信息: error C2265: '<Unknown>' : reference to a zero-sized array is illegal  error C2265: '
原创 2023-01-16 00:01:05
55阅读
递推式:f[n]=f[n-1]+f[n-2]#include int f[41];int main(){ int i,t; f[1]=1; f[2]=1; for(int i=3; i<41; i++) f[i]=f[i-1]+f[i-2]; scanf("%d",&t); while(t--) { int n; scanf("%d",&n); printf("%d\n",f[n]); } return 0;}
转载 2014-01-21 09:38:00
32阅读
Problem Description 有一楼梯共M级,刚开始时你在第一级,若每次只能跨上一级或二级,要走上第M级,共有多少种走法?Input 输入数据首先包含一个整数N,表示测试实例的个数,然后是N行数据,每行包含一个整数M(1<=M<=40),表示楼梯的级数。Output 对于每个测试实例,请输出不同走法的数量Sample Input 2 2 3Sample Output 1 2
原创 2022-05-14 11:30:16
172阅读
题目地址:点击打开链接思路:水题AC代码:#include using namespace std;int main(){ int i,n,b; int a[41] = {0,1,1}; for(i=3; i<=40; i++) { a[i] = a[i-1] + a[i-2]; } cin>>n; wh
原创 2022-08-04 09:04:15
33阅读
超级楼梯=
原创 2022-08-30 11:01:29
59阅读
Problem Description有一楼梯共M级,刚开始时你在第一级,若每次只能跨上一级或二级,要走上第M级,共有多少种走法? Input 输入数据首先包含一个整数N,表示测试实例的个数,然后是N行数据,每行包含一个整数M(1<=M<=40),表示楼梯的级数。 Output 对于每个测试实例,请输出不同走法的数量 Sample Input 223 Sample Output 12 import java.io.BufferedInputStream;import java.util.*;public class Main { pu...
转载 2013-07-22 18:59:00
63阅读
2评论
题目:http://acm.hdu.edu.cn/showproblem.php?pid=2041题目是一个递退题,用=
原创 2022-08-23 09:00:27
33阅读
原总结排错vs编译错误错误列表输出窗口排错排到编译 缘起最近,项目里出现
原创 2022-01-13 16:34:25
248阅读
  • 1
  • 2
  • 3
  • 4
  • 5