Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

strcmp(c,"hello")==0

Posted by first at 2003-12-24 17:24:15
In Reply To:哪位好心人能告诉我,<stdio.h>下如何去判断一个字符串呢? Posted by:90303109 at 2003-12-24 16:47:07
> 就比如说scanf一个字符c,如果c是"hello",就打印"world"
> 如果c是"world",就打印"hello"
> 
> 谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢谢

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator