int i=0;
int lines=0;
int vertro=4,temp,times=0,times_inner=0;
double coord,coord_x,coord_z;
char* coord_line;
FILE *f_mark;
int wmark[1584]={0};
int aj=0,cj=0,pj=0;
bool flag=TRUE;
f_mark=fopen("mark1.txt","rb");
int wj;
......................
阅读全部
|
share_ours
贴于 2012年2月13日 20:43
hide
bbsi
#include <stdio.h>
#include <stdlib.h>
#include <math.h>
void main()
{
float a[490][1200],b[1200000];
int i=0;
int j=0;
FILE *fp,*fp1,*fp2;
//打开原数据文件 写成剔除乱码后文件 数组文件
if ( (fp=fopen( "f:\\chuli\\0.2 0.2.txt ", "r"))==NULL)
{
......................
阅读全部
|
zhanlantian
贴于 2012年2月10日 21:33
hide
bbsi
执行applet,包括以下代码:
TO中:
private EEPTempData rfIDData = null;
public EEPTempData getRfIDData() {
return rfIDData;
}
public void setRfIDData(EEPTempData rfIDData) {
this.rfIDData = rfIDData;
}
private EEPTempEndorsementData rfIDEndorsementData[] = null;
public EEPTempEndorsementData[] getRfIDEndorsementData() {
......................
阅读全部
|
yangf_Zack
贴于 2012年2月9日 19:52
hide
bbsi
#include <iostream>
#include <fstream>
using namespace std;
struct staff
{
int num;
char name[20];
int age;
double pay;
};
int main()
{
......................
阅读全部
|
xiaoxiao6263
贴于 2012年2月6日 17:28
hide
bbsi
#include <iostream>
#include <fstream>
using namespace std;
struct staff
{
int num;
char name[20];
int age;
double pay;
};
int main()
{
......................
阅读全部
|
xiaoxiao6263
贴于 2012年2月6日 17:28
hide
bbsi
#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