现在的位置: 首页 > 综合 > 正文

下面内容为C++的教学

2012年06月23日 ⁄ 综合 ⁄ 共 1592字 ⁄ 字号 评论关闭

以下内容为大一C++课程的教学内容

本来想使用校内服务器做个主页的,但是觉得使用博客园更加方便,尤其是其代码功能。

测试一下各种内容

flash内容

 

代码内容

 

 

#include <iostream>
#include
<windows.h>
using  std::cout;
using std::endl;
using std::cin;
int main(){
    STARTUPINFO si 
= sizeof(si) };
    PROCESS_INFORMATION pi;
    
if(::CreateProcess(NULL,"C:\\WINDOWS\\system32\\notepad.exe",NULL,NULL,false,CREATE_NO_WINDOW,NULL,NULL,&si,&pi)){
        CloseHandle(pi.hThread);
        CloseHandle(pi.hProcess);
    }

    
else{
        cout
<<"Create Failed\n"<<endl;
    }

   
//system("pause");
}

 

插入链接

上海交大动漫下载 

 

插入图片

 

测试一下文本

 

The BASIC (Beginner's All-purpose Symbolic Instruction Code) programming language was developed in the mid-1960s at Dartmouth College as a means of writing simple programs. BASIC's primary purpose was to familiarize novices with programming techniques. Microsoft's Visual Basic language, introduced in the early 1990s to simplify the development of Microsoft Windows applications, has become one of the most popular programming languages in the world.

Microsoft's latest development tools are part of its corporate-wide strategy for integrating the Internet and the Web into computer applications. This strategy is implemented in Microsoft's .NET platform, which provides developers with the capabilities they need to create and run computer applications that can execute on computers distributed across the Internet. Microsoft's three primary programming languages are Visual Basic .NET (based on the original BASIC), Visual C++ .NET (based on C++) and C# (a new language based on C++ and Java that was developed expressly for the .NET platform). Developers using .NET can write software components in the language they are most familiar with and then form applications by combining those components with components written in any .NET language.

抱歉!评论已关闭.