#include <iostram>
using namespace std;
int main()
{
cout<<"i"<<endl;
return 0;
}
阅读全部
|
CooperOne
贴于 2012年1月26日 05:38
hide
bbsi
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim intClassID As Integer = Convert.ToInt32(ddlstclass.SelectedItem.Value)
Dim intCourseID As Integer = Convert.ToInt32(ddlstcourse.SelectedItem.Value)
Dim intTeacherID As Integer = Convert.ToInt32(ddlstTea.SelectedItem.Value)
Dim intTerm As String = TextBox1.Text
Dim conn As New SqlConnection
conn.ConnectionString = ConfigurationManager.ConnectionStrings("ASPNETDBConnectionString").ConnectionString
Dim i As Integer
For i = 0 To gvstu.Rows.Count - 1
Dim lbl1 As Label
lbl1 = gvstu.Rows.Item(i).FindControl("Label1")
Dim intStudentID As Integer = Convert.ToInt32(lbl1.Text)
......................
阅读全部
|
lin9576
贴于 2012年1月19日 00:28
hide
bbsi
#include<cstdio>
#include<cstring>
using namespace std;
int *str2int(char *str)
{
int i ,len=strlen(str);
int *a=new int [(len+1)*sizeof(int)];
for(i=0;i<len;i++)
a[i]=(int)str[len-i-1]-48;
return a;
}
int check(int *a,int n)
......................
阅读全部
|
bofengqiye
贴于 2012年1月8日 07:53
hide
bbsi
ASP.net开发的一个wab后台厂商的系统里面有个功能是费用录入模块。
请问那个用GRIDVIEW怎么才能实现用文本框里的值(一个是交易编号,一个是时间来才查出金额),要用到自己创建的表格,但前提是(一个循环要实现数据库里两个不同表的字段)!!!(交易编号和时间是在文本框里显示的,而金额是再GRIDVIEW里实现的)and(交易编号的值是从另一个页面获取的,应该要做一个点击事件吧??)----------(交易编号和时间在一个表,金额在一个表)
请问谁能给点思路!!!或代码的书写!!谢了
阅读全部
|
谭祖爱
贴于 2012年1月7日 09:16
hide
bbsi
#include <stdio.h>
#include <malloc.h>
struct students * create(int n);//链表的建立
void print(struct students *head);//链表的输出
struct students * del(struct students *head,int num);
struct students
{
char name[20];
int number;
int sco;
struct students *next;
};
......................
阅读全部
|
xiaogongwei
贴于 2012年1月6日 05:57
hide
bbsi
#include<stdio.h>
#include<malloc.h>
#include<stdlib.h>
typedef struct ElemType{
int num;
int code;
}ElemType;
typedef struct LNode{
ElemType data;
struct LNode *next;
}LNode;
......................
阅读全部
|
charlin
贴于 2012年1月5日 06:23
hide
bbsi
刚开始学C语言,可能问题有点弱弱,大侠指导。
我自己编了一个小程序玩的,可是出了点问题,找不出原因:
#include<stdio.h>
void main()
{
char a;
int b;
printf("do you like c?");
scanf("%c",&a);
b=a=='y'||'Y'?1:0;
if(b) printf("work harder!");
else
......................
阅读全部
|
吴小君
贴于 2012年1月3日 06:27
hide
bbsi
书上让用结构体存放学生姓名 年龄 分数,然后按分数排序并输出。写到定义学生信息的时候出问题了。请知道的朋友给我一点指导。谢谢了!
下面是我写的程序
#include<stdio.h>
#include<malloc.h>
struct student //定义一个结构体为student
{
char name[50];//姓名
int age;//年龄
float score;//分数
};
void inlen(int * len0) //学生数量输入函数
......................
阅读全部
|
jysliang
贴于 2012年1月1日 09:24
hide
bbsi
void (*tree_get(void))(void) {
void (*self)(void);
self = tree_val[tree_idx];
return self;
}
阅读全部
|
dongmeteor
贴于 2012年1月1日 00:36
hide
bbsi
#include"stdio.h"
#include"malloc.h"
#include"stdlib.h"
#include"string.h"
#define SIZE sizeof(struct student)
struct student{
int Subject;
struct student * next;
};
struct subject
{
int subject; //科目数,且规定一名教师教授一门课程
......................
阅读全部
|
西单小六
贴于 2011年12月30日 03:11
hide
bbsi