#include<iostream>
#include<istream>
using namespace std;
int main()
{
int i=0;
int phone_book[3]={ 1, 2, 3 };
void entry (int i) {
cout<<phone_book[ i ]<<" "<<"n";
}
}
[code]
cout<<phone_book<<" "<<"n"; should be:
cout<<phone_book[ i ]<<" "<<"n";
Sorry, when I type the source code, all seem fine, but after I clcik the post button,
some symbols always are missed.
|