首页    新闻    小组    威客    人才    下载    博客    代码贴    在线编程    论坛
代码贴随便看看全站
<?php

echo 1;

?>
阅读全部 | 初学者零柒 贴于 2017年8月30日 09:58     hide bbsi
private: System::Void Form1_Load(System::Object^  sender, System::EventArgs^  e) {
 listView1->Items->Add("美丽的蓝天");//添加项目
 listView1->Items->Add("天上有小鸟");
 listView1->Items->Add("飞来飞去");
 listView1->Items[2]->Selected=true;//选中项目
 }
//简单程序
//关于ListView控件添加图标需要用到imagelist控件暂时还不会,希望可以推荐下书
阅读全部 | 孟祥建 贴于 2017年8月30日 09:20     hide bbsi
private: System::Void button1_Click(System::Object^  sender, System::EventArgs^  e) {
    if (textBox1->Text == "") //判断文本框中是否输入数据
    {
        MessageBox::Show("项目不能为空"); //如果没有输入数据则弹出提示
    }
    else //否则
    {
        listView1->Items->Add(textBox1->Text->Trim()); //使用Add方法向控件中添加数据
    }

 }
private: System::Void button2_Click(System::Object^  sender, System::EventArgs^  e) {
......................
阅读全部 | 孟祥建 贴于 2017年8月30日 07:50     hide bbsi
菜鸟求教,不明白怎么回事,编译过了,运行提示已停止工作。请高手指点:
#include <stdio.h>
#include <conio.h>
//int main(int argc,const char*argv[])

main()                                       //巴斯卡三角形 
{
int a,b;
scanf("%d",a);
int A[a][a];
b=(int)a/2;
A[0][b]=1;
......................
阅读全部 | 宝宝1074 贴于 2017年8月26日 10:41     hide bbsi
#include <stdio.h>
void main()
{
int a[10],max,min,k;
int sum=0;
float score;
for (k=0;k<10;k++)
{
printf("Please input the score which is between 0 and 100:\n");
scanf ("%d",a[k]);
if (a[k]>100 || a[k]<0)
{
......................
阅读全部 | szzxg 贴于 2017年8月18日 00:29     hide bbsi
#include<stdio.h>
int main(){
printf("%%d\n");
printf("\\n\n");//后面一个\n为换行
return 0;
}
阅读全部 | 小王八 贴于 2017年8月13日 16:19     hide bbsi
有一个列尺寸:值分别是    1*40HQ     10*40'GP+2*20

sql语句是 sql:=sql+','''+trim(RzEdit1.Text)+''''; 
这个会出错的,因为上面的值中,有一个值有单引号,这个要怎么解决?有一些值有单引号,有一些值没有单引号。所以sql语句要怎么写,才能写对??
阅读全部 | liubeiling 贴于 2017年8月8日 17:20     hide bbsi
# includ <stdio.h>

int main ()
{
 printf ("this is a test !");
 return 0 ;
}
阅读全部 | yehuabao 贴于 2017年8月6日 23:39     hide bbsi
#include<stdio.h>
#include<stdlib.h>
#define    TRUE    1
#define    FALSE    0
#define    OK        1
#define    ERROR    0
#define    INFEASIBLE    -1
#define    OVERFLOW    -2
typedef    int    Status;
typedef    int ElemType;
#define    LIST_INIT_SIZE    100
#define    LISTINCREMENT    10
......................
阅读全部 | 似水涟漪 贴于 2017年7月31日 09:25     hide bbsi
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
/*
浮点结果+括号的计算机
作者:大路
*/
typedef struct stack
{
float data[128];
int top;
}Stack;
......................
阅读全部 | 大路 贴于 2017年7月28日 11:05     hide bbsi
上一页 144 145 146 147 148 149 150 151 152 153 下一页