学校计划 [英] Program for School

查看:65
本文介绍了学校计划的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是一名新手,我的课程将于12月12日至11日举行。我的程序

必须将用户的URL作为输入。程序必须输出使用的

协议和顶级域。如果协议未包含在

中,则URL或程序无法识别协议,程序必须

输出消息来传递该信息。同样,它必须为域名执行相同的

。我们目前正在使用指针和数组。我们有

来使用strncmp和strncat。

sincerly PouBear

I''m a new programer and I have a program due Monday 12-11-06. My program
must take a URL from the user as input. The program must output the
protocol used and the top level domain.If the protocol is not included in
the URL or the program does not recognize the protocol, the program must
output messages to relay that information. Likewise it must do the same
for the domain. We are currently working with pointers and arrays. We have
to use strncmp and strncat.
sincerly PouBear

推荐答案



PouBear写道:

PouBear wrote:

我是一个新的程序员,我的节目将于12月12日至11月12日到期。我的程序

必须将用户的URL作为输入。程序必须输出使用的

协议和顶级域。如果协议未包含在

中,则URL或程序无法识别协议,程序必须

输出消息来传递该信息。同样,它必须为域名执行相同的

。我们目前正在使用指针和数组。我们有

来使用strncmp和strncat。

sincerly PouBear
I''m a new programer and I have a program due Monday 12-11-06. My program
must take a URL from the user as input. The program must output the
protocol used and the top level domain.If the protocol is not included in
the URL or the program does not recognize the protocol, the program must
output messages to relay that information. Likewise it must do the same
for the domain. We are currently working with pointers and arrays. We have
to use strncmp and strncat.
sincerly PouBear



这听起来像一个有趣的任务。你应该玩得很开心




(留下狡猾,你不会让某人来这里

为你做功课。如果你有什么特别的问题

你正在努力发帖,我们会尽力帮助你。)


Evan

That sounds like an interesting assignment. You should have fun working
on it.

(Leaving behind the glibness, you''re not going to get someone here to
do your homework for you. If you have a specific problem with what
you''re working on feel free to post and we''ll try to help you out.)

Evan


Evan我很抱歉你觉得我想让某人为我的任务做准备>
我,那是,而不是我的意图。我需要建议如何

创建比较字符串的函数。


PouBear

Evan I sorry you feel I''m trying to get someone to do my assignment for
me,that was and is not my intention. I need suggestions as to how to
create the function to compare the strings.

PouBear


PouBear写道:
PouBear wrote:

我是一个新的程序员,我有一个程序将于12月12日至11日星期一到期。我的程序

必须将用户的URL作为输入。程序必须输出使用的

协议和顶级域。如果协议未包含在

中,则URL或程序无法识别协议,程序必须

输出消息来传递该信息。同样,它必须为域名执行相同的

。我们目前正在使用指针和数组。我们有

来使用strncmp和strncat。

sincerly PouBear
I''m a new programer and I have a program due Monday 12-11-06. My program
must take a URL from the user as input. The program must output the
protocol used and the top level domain.If the protocol is not included in
the URL or the program does not recognize the protocol, the program must
output messages to relay that information. Likewise it must do the same
for the domain. We are currently working with pointers and arrays. We have
to use strncmp and strncat.
sincerly PouBear



提示:寻找一个实现 ; URL"解析器。谷歌是你的朋友。

我写了这个...
http://austria.sourceforge.net/dox/h...UrlParser.html


这篇关于学校计划的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆