请帮我检查一下这个程序有什么错误。Thank you!
(5)编写字符串比较函数,其参数为两个字符型指针#include <iostream.h>
void s(const char *p,const char *q);
void main ()
{
char a[]="C++",b[]="program";
char *p=a,*q=b;
s(p,q);
}
void s(char *p,char *q)
{
2010-06-09 17:33
2010-06-10 11:41
2010-06-10 20:45
2010-06-12 12:04