Search found 3 matches
- Sat Aug 11, 2012 11:03 pm
- Forum: Volume 117 (11700-11799)
- Topic: 11716 - Digital Fortress
- Replies: 39
- Views: 17833
Re: 11716 why CE ??
Oops ! I found out the reason...
- Sat Aug 11, 2012 12:28 am
- Forum: Volume 117 (11700-11799)
- Topic: 11716 - Digital Fortress
- Replies: 39
- Views: 17833
Re: 11716 why CE ??
tnx.
here is the msg I get from uva.
code.cpp: In function 'int main()':
code.cpp:9:10: error: 'getchar' was not declared in this scope
code.cpp:13:12: error: 'gets' was not declared in this scope
code.cpp:22:16: warning: converting to non-pointer type 'char' from NULL
I can replace "getchar ...
here is the msg I get from uva.
code.cpp: In function 'int main()':
code.cpp:9:10: error: 'getchar' was not declared in this scope
code.cpp:13:12: error: 'gets' was not declared in this scope
code.cpp:22:16: warning: converting to non-pointer type 'char' from NULL
I can replace "getchar ...
- Fri Aug 10, 2012 4:44 pm
- Forum: Volume 117 (11700-11799)
- Topic: 11716 - Digital Fortress
- Replies: 39
- Views: 17833
11716 why CE ??
hi,
I'm getting CE for this code, I don't how to change it, can anyone help ?
#include<iostream>
#include<cmath>
#include<cstring>
using namespace std;
int main(){
int n;
cin>>n;
getchar();
for(int i=1; i<=n; i++){
char ciph[10010], deciph[10010];
int len, sq;
gets(ciph);
len = strlen ...
I'm getting CE for this code, I don't how to change it, can anyone help ?
#include<iostream>
#include<cmath>
#include<cstring>
using namespace std;
int main(){
int n;
cin>>n;
getchar();
for(int i=1; i<=n; i++){
char ciph[10010], deciph[10010];
int len, sq;
gets(ciph);
len = strlen ...