首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
Option Explicit
Const C_GameWith = 1024
Const C_GameHeight = 768
Const C_GameSmallWith = 320
Const C_GameSmallHeight = 240
'黑  16  20
Dim GamehWnd, dm, AppName, config, bgkms, KMData
config = ".\Angel.ini"
AppName = "Angel_BP"
Function CmpMutlColor(Args, Sleep)
    Dim i
    For i = 0 To UBound(Args)
......................
阅读全部 | 王宇577 贴于 2022年9月16日 14:28     hide bbsi
#include<bits/stdc++.h>
#define N 1000 
using namespace std;
int main(){
string sa,sb;
int la,lb,i;
int a[N]={0},b[N]={0},c[N]={0};
int lc=0,x=0;
cout<<"----------------------------------------------"<<endl;
cout<<"欢迎来到加法计算器,可执行1000位的整数数字相加"<<endl;
cout<<"----------------------------------------------"<<endl; 
while(1){
......................
阅读全部 | 一瓶浓墨 贴于 2022年9月12日 11:01     hide bbsi
abc
阅读全部 | weinaike 贴于 2022年9月4日 09:58     hide bbsi
#include<iostream> 
using namespace std;
// 直接插入排序 
void sort(int *p , int size){
for(int i = 1; i < size ; i++){
int temp = p[i];
int j = i;
while(p[j - 1] > temp && j > 0){
p[j] = p [j-1];
j--;
}
p[j] = temp;
......................
阅读全部 | weinaike 贴于 2022年9月1日 21:31     hide bbsi
#include <stdio.h>

int main() {
printf("我在编程中国学C语言\n\n");

// 练习一下循环的使用
int i;
for (i=1; i<=20; i++) {
printf("我爱编程中国 %d 次\n", i);
}

printf("\n\n绘制一个心形图案:");
......................
阅读全部 | qq1990086708 贴于 2022年8月30日 00:23     hide bbsi
#include <stdio.h>

FILE *pfile;
fopen_s(&pfile,"D:\\图片\\我的图片\\123.jpg","rb");
//////////////////////////////////////////
FILE *pfile = fopen("D:\\图片\\我的图片\\123.jpg","rb");
阅读全部 | ゐ丶僷ヂ諾 贴于 2022年8月27日 08:58     hide bbsi
Option Explicit
Dim JScript, CString, File, Control, System, NetWork  '定义线程级变      '每个线程不同
Dim Window, VBSlibrary
Dim HttpProgress
Const IsDebug = 0
Const Version = "0.0.0.7"
Sub Main()
    If Globals("App").PrevInstance Then
        Dim ws, WMI, Process
        Set ws = CreateObject("wscript.shell")
        ws.SendKeys "{HOME}"
        Set WMI = GetObject("WinMgmts:")
......................
阅读全部 | 王宇577 贴于 2022年8月26日 14:55     hide bbsi
/*--------------------------------list.h--------------------------------*/

/*
Remember:
If you want to delete a node or a list,
you should delete things that in this node or in this list at first.
You don't need to use function list_add.
Use typedef when you have a complex type!
*/

#ifndef _LIST_H
#define _LIST_H
......................
阅读全部 | W192547975 贴于 2022年8月23日 19:42     hide bbsi
/**

 * 题目:一个整数,它加上100后是一个完全平方数,再加上168又是一个完全平方数,请问该数是多少?两个完全平方数是多少?
 
 */

#include<stdio.h>
#include<math.h>

int main() {
     int a;
     double c,d;
......................
阅读全部 | naihe666 贴于 2022年8月23日 15:01     hide bbsi
上一页 28 29 30 31 32 33 34 35 36 37 下一页