Writing a simple C++ Program
来源:互联网 发布:梦里花落知多少上一句 编辑:程序博客网 时间:2024/05/29 11:44
Today I write two simple cpp program,one is the console application ,and the second is the windows program.
here I just want to talk about the IO Redirection.As we know that the standard IO Library provide us the input and out.
sometimes such as we write the windows program ,most often we use MessageBox function to show some debug imformation. But this is not convenient. Infact Most operating systems give us a way of redirecting the input and output streams when we run a program. not just the console program ,also the windows can also redirect the io stream. below is my excution command line.
D:/cppworkspace/WindowApp/WindowsUI/Debug>WindowsUI.EXE >>d:/a.txt
D:/cppworkspace/WindowApp/Cppstudy/Debug>CppConsole.exe >>d:/a.txt
- Writing a simple C++ Program
- 1.1 Writing a Simple C++ Program
- Writing and Compiling A Simple Program For OpenWrt
- Writing a Simple Publisher and Subscriber (C++)
- Writing a Simple Service and Client (C++)
- A Simple Java Program
- A simple XDR program
- Writing a Simple USB Driver
- Writing a Simple USB Driver
- Writing a Simple Action Client
- Some simple c program
- [java] a simple Applet program
- C++ - A Simple Calculator Program
- A simple libpng example program
- Writing a Service Program's main Function
- writing a java program with Native methods
- Chapter 2 - Writing a C# Program
- Writing a Simple …
- AIDL简单入门
- 用ant 部署Tomcat7的应用
- Fedora下的mysql相关信息
- Asp.net MVP & MVC 之 ASP.NET Model-View-Presenter
- 闲 愁
- Writing a simple C++ Program
- 黑马程序员-JAVA学习第7课--包装类
- scp 文件传输
- 不要废话,立即行动!
- 1214 信号分析
- java5线程并发库中的工具
- n皇后问题6_6
- MFC中为子对话框添加OnInitDialog()函数
- word 脚注尾注批量跟换样式的方法