C with classes
This commit is contained in:
18
C/BasicSyntax/Pointer/pointer_book_li8.27.cpp
Normal file
18
C/BasicSyntax/Pointer/pointer_book_li8.27.cpp
Normal file
@@ -0,0 +1,18 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
bool flag=false;
|
||||
int main(){
|
||||
int n;
|
||||
scanf("%d",&n);
|
||||
char dic[n][1000];
|
||||
char (* p)[1000] = dic;
|
||||
for(int i=0;i<n;i++){
|
||||
gets(dic[i]);
|
||||
}
|
||||
while(flag==false){
|
||||
for(int i=0;i<n;i++){
|
||||
if((* p))
|
||||
}
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user