黄色在线观看视频-黄色在线免费看-黄色在线视频免费-黄色在线视频免费看-免费啪啪网-免费啪啪网站

首頁 考試吧論壇 Exam8視線 考試商城 網絡課程 模擬考試 考友錄 實用文檔 求職招聘 論文下載
2011中考 | 2011高考 | 2012考研 | 考研培訓 | 在職研 | 自學考試 | 成人高考 | 法律碩士 | MBA考試
MPA考試 | 中科院
四六級 | 職稱英語 | 商務英語 | 公共英語 | 托福 | 雅思 | 專四專八 | 口譯筆譯 | 博思 | GRE GMAT
新概念英語 | 成人英語三級 | 申碩英語 | 攻碩英語 | 職稱日語 | 日語學習 | 法語 | 德語 | 韓語
計算機等級考試 | 軟件水平考試 | 職稱計算機 | 微軟認證 | 思科認證 | Oracle認證 | Linux認證
華為認證 | Java認證
公務員 | 報關員 | 銀行從業資格 | 證券從業資格 | 期貨從業資格 | 司法考試 | 法律顧問 | 導游資格
報檢員 | 教師資格 | 社會工作者 | 外銷員 | 國際商務師 | 跟單員 | 單證員 | 物流師 | 價格鑒證師
人力資源 | 管理咨詢師考試 | 秘書資格 | 心理咨詢師考試 | 出版專業資格 | 廣告師職業水平
駕駛員 | 網絡編輯
衛生資格 | 執業醫師 | 執業藥師 | 執業護士
會計從業資格考試會計證) | 經濟師 | 會計職稱 | 注冊會計師 | 審計師 | 注冊稅務師
注冊資產評估師 | 高級會計師 | ACCA | 統計師 | 精算師 | 理財規劃師 | 國際內審師
一級建造師 | 二級建造師 | 造價工程師 | 造價員 | 咨詢工程師 | 監理工程師 | 安全工程師
質量工程師 | 物業管理師 | 招標師 | 結構工程師 | 建筑師 | 房地產估價師 | 土地估價師 | 巖土師
設備監理師 | 房地產經紀人 | 投資項目管理師 | 土地登記代理人 | 環境影響評價師 | 環保工程師
城市規劃師 | 公路監理師 | 公路造價師 | 安全評價師 | 電氣工程師 | 注冊測繪師 | 注冊計量師
繽紛校園 | 實用文檔 | 英語學習 | 作文大全 | 求職招聘 | 論文下載 | 訪談 | 游戲
您現在的位置: 考試吧(Exam8.com) > 計算機等級考試 > 計算機二級 > C語言 > 復習資料 > 正文

C語言中標準輸入流、標準輸出流、標準錯誤輸出流

來源:考試吧Exam8.com) 2010-1-20 18:37:58 考試吧:中國教育培訓第一門戶 模擬考場

  stderr

  objectFILE * stderr;

  Standard error stream

  The standard error stream is the default destination for error messages and other diagnostic warnings. Like stdout, it is usually also directed to the output device of the standard console (generally, the screen).

  stderr can be used as an argument for any function that expects an output stream as one of its parameters, like fputs or fprintf.

  Although generally both stdout and stderr are associated with the same console output, applications may differentiate between what is sent to stdout and what to stderrfor the case that one of them is redirected. For example, it is frequent to redirect the regular output of a console program (stdout) to a file while expecting the error messages to keep appearing in the console screen.

  It is also possible to redirect stderr to some other destination from within a program using the freopen function.

  perror

  functionvoid perror ( const char * str );

  Print error message

  Interprets the value of the global variable errno into a string and prints that string to stderr (standard error output stream, usually the screen), optionaly preceding it with the custom message specified in str.

  errno is an integral variable whose value describes the last error produced by a call to a library function. The error strings produced by perror depend on the developing platform and compiler.

  If the parameter str is not a null pointer, str is printed followed by a colon (:) and a space. Then, whether str was a null pointer or not, the generated error description is printed followed by a newline character ('\n').

  perror should be called right after the error was produced, otherwise it can be overwritten in calls to other functions.

  Parameters.

  str

  C string containing a custom message to be printed before the error message itself.

  If it is a null pointer, no preceding custom message is printed, but the error message is printed anyway.

  By convention, the name of the application itself is generally used as parameter.

  相關推薦:計算機等考二級C:C中如何顯示*.bmp文件
       2010年上半年全國計算機等級考試報名匯總
       2010年上半年計算機等級考試時間:3月27日-31日
文章搜索
版權聲明:如果計算機等級考試網所轉載內容不慎侵犯了您的權益,請與我們聯系800@exam8.com,我們將會及時處理。如轉載本計算機等級考試網內容,請注明出處。
主站蜘蛛池模板: 国产全黄一级毛片 | 老司机免费福利视频无毒午夜 | 日韩日韩精品无砖专区2020 | 成人免费在线视频 | 免费中文字幕视频 | 久久免费高清视频 | 日本综合在线观看 | 日韩网 | 色综合天天综合高清网国产 | 欧美日韩免费在线观看 | a级日本片在线观看 | 国产日韩欧美亚洲综合在线 | 天天做日日干 | 欧美成在线观看 | 日韩精品一区二区三区高清 | 一级毛片高清免费播放 | 五月综合激情网 | 欧美精品一区在线看 | 欧美xxxx做受欧美 | 亚洲国产午夜 | 特级xxxxx欧美 | 国产一级在线视频 | 中文字幕欧美激情 | 色网址在线观看 | 亚洲va精品中文字幕动漫 | 制服美女视频一区 | 很黄很黄很刺激的视频免费 | 1024亚洲精品国产 | 香蕉视频污视频 | 成人午夜在线观看国产 | 欧美专区在线视频 | 欧美日韩免费一区二区三区 | 日韩不卡中文字幕 | 毛片在线看免费版 | 亚洲伦理中文字幕一区 | 一区二区三区在线 | 日本 | 欧美一级看片免费观看视频在线 | 1024手机在线看 | 韩国伦理在线免费观看 | 黄色一级大片免费看 | 青草视频网 |