猿问

关于getc的问题



getc获取字符失败了,返回值为-1,求解

冷寒nn
浏览 1036回答 1
1回答

慕设计2395807

MIEGWYTCLVXFOQMCYGWEAKWLAWSBKMOSOESUKNPYOJMWFHWMVXMOKNIRGCLHQYOXTCZIETWENCYIXKNCEAIKAVYBYAWYHWSZVEURAVYOWZVXSODLHXZVWSBEIEZVLUWYOXZIAVEHJZIRNWLXGIYUQTVXUWJRTDMZCEADZXFHXTIYUJMPXFOKTHQSUXTNWLHXGHJFBXGCYHWMIKROQZHQGVYHJFODBKSACLHQFIRNJDZIRGPYOQOJZIKGPFHQGBETHCLBKFVRBXZIRGOXMPLJETOXMWYHEANWLAWEZCXHJDFUQMPRTPSITAJFOKGVXAPPYUXSVRGVYULUDSOXGJLODOKGUWMVRNQYJFUKNWMBXAWRNCYZIRACLUKTCYUDSBKNCSAQZBEZIEAWHQLBDTBQECRKGIFNKMCERZDGCMOYUXNQZAPXNQFOQMCMTIEUURTPLBKCWFVXTOXTPSRLNWZIXGBYAPLAJMVDZBYOQLURMVLNQSCZBQZVYAQFVQHOWGIRACLUQLNPMBWYBDHDQMBXNCENQTCJFUXGWZPYBDXAISBDNJMJSHDMCEAKTISNBDEGDGVYOKGKZOSUDTNDAJQGOSUKTCYURUXFVEAPYNJLPFSLSIBHNRDJSHKYGPFAJMIXSHWFOXZWRIYGJKGIRNJFNCKUQZOQZVDCSPLHKZPRHCPYNDZIQZCLIMHDNJZBKHQZRUWMCYOQEBXFVDTDZIKTQYADMPRHQSPSHQSBKGCETPSGMPIFOKNTGXYGWYTPYUBEGWGVKGWEGPYOKJENWTADFUXZSIDACQYNQMPYUKAJMPQZCFDGISBENDMOYNJLHEZWYUEUVXTCEGPMVFHFVXTCYIYODTYHDAISORAWZPLHOXNJLUWM

anet

读取完毕了 -1其实就是EOF (end of file)
随时随地看视频慕课网APP
我要回答