摘要:
// Pi.cpp : 定义控制台应用程序的入口点。//求圆周率PI#include "stdafx.h"#include #include #include #include using namespace std;static long num_steps=1000000000;//定义所分的块... 阅读全文
2014年9月24日
摘要:
// Sum_section.cpp : 定义控制台应用程序的入口点。//section功能:;//1.指定其内部的代码划分给线程中某个线程,不同的section由不同的线程执行;//2.将一个任务划分成独立的几个section,且section之间是并行执行的;#include "stdafx.h... 阅读全文