代码搜索:VC开发环境
找到约 10,000 项符合「VC开发环境」的源代码
代码结果 10,000
www.eeworm.com/read/153991/6294281
cpp vc0207.cpp
//example 2-7
#include
#define YES 1
#define NO 0
int isleap(int year)
{
int leap=NO;
if(year%4==0&&year%100!=0||year%400==0)
leap=YES;
return leap;
}
int week_of_newy
www.eeworm.com/read/153991/6294282
cpp vc0202.cpp
//example 2-2
#include
#define M 10001
void CreatePrimeList(int PrimeList[])
{
int i,j;
for(i=0;i
www.eeworm.com/read/153991/6294403
cpp vc0406.cpp
// Example 4-6:解一元二次方程
#include
#include
void main()
{
double a, b, c, delta, p, q;
cout > a >> b >> c;
delta = b*b-4*a*c;
p =
www.eeworm.com/read/153991/6294404
cpp vc0401.cpp
// Example 4-1:连接两个字符串
#include
#include
void mystrcat(char destin[], char source[])
{
int i = strlen(destin), j = 0;
while(source[j]!=0)
destin[i++] = source[j++
www.eeworm.com/read/153991/6294405
cpp vc0405.cpp
// Example 4-5:求三角形面积
#include
#include
void main()
{
double a, b, c, s, area;
cout > a >> b >> c;
s = (a+b+c)/2;
area = sqrt(s*(
www.eeworm.com/read/153991/6294406
cpp vc0407.cpp
// Example 4-7:求π的近似值
#include
#include
void main()
{
int s = 1;
double n = 1.0, u = 1.0, pi = 0.0;
while(fabs(u)>=1e-4)
{
pi = pi+u;
n = n+2;
s = -s;
u =
www.eeworm.com/read/153991/6294407
cpp vc0402.cpp
// Example 4-2:求双精度类型量的绝对值
#include
double mydabs(double x)
{
return x>0?x:-x;
}
void main()
{
double f1 = -12.0, f2 = 234.0;
cout
www.eeworm.com/read/153991/6294408
cpp vc0404.cpp
// Example 4-4:制作乘法表
#include
void main()
{
int i,j;
for(i=1; i
www.eeworm.com/read/153991/6294409
cpp vc0403.cpp
// Example 4-3:求级数和
#include
void main()
{
int sum = 0, u = 1;
for(int i=1; i
www.eeworm.com/read/422063/6295866