企業通訊錄源碼
① 高分求用VB做的通訊錄+源代碼
如果你平時有許多同學和朋友的信息,試試在電腦上編寫一個我這樣的通訊錄。很方便的喲。 先新建一個工程,在「工具箱->右鍵->部件」添加「Microsoft windows common control 6.0」,然後在窗體上添加五個標簽,「標題」分別為 「姓名、電話、Oicq、E-Mail、地址」;添加一個文本框(text1), 然後[復制/粘貼4次]使其成為控制項數組;添加一個Listview控制項(Listview1),在其屬性框中,添加五個「列首」,「文本」值分別為「姓名、電話、Oicq、E-Mail、地址」,「查看屬性」為 「3-lvwReport」, 選中「整行選擇」,取消「隱藏選擇」;添加兩個按鈕,其標題屬性分別為「添加」、「刪除」。添加如下代碼:
Option Explicit
Dim fileName As String
Private Sub Command1_Click()
』將文本框中的信息添加到列表框中
Dim i As Integer
With ListView1.ListItems.Add()
.Text = Text1(0)
For i = 1 To 4
.SubItems(i) = Text1(i)
Next i
End With
End Sub
② C++通訊錄的源代碼
分是萬能的嗎?
請客氣些。
③ 用c語言編寫一個通訊錄,並對他進行增加,查詢,刪除,修改,顯示記錄等操作,要寫出源代碼並畫出流程圖
這個是我編的,用數組和鏈表兩種功能實現的通訊錄
基本能滿足你的要求!!
代碼如下:
#include "stdlib.h"
#define NEW (struct node *)malloc(sizeof(struct node))
struct student
{ char name[10],tel[11];
}a[20];
struct node
{ char name[20],tel[11];
struct node *next;
};
main()
{ struct student *jianli(),*delete(struct student *);
struct student *charu(struct student *);
void xianshi(struct student *);
struct node *create(),*delnode(struct node*,char *);
struct node *insert(struct node *,struct node *,char *);
void prlist(struct node *);
struct student *p;
struct node *head=NULL,*stu;
char s[80],name[20],q[80];
int c,w;
a:;
system("cls");
printf("\nEnter your choice\n");
printf("1.SHUZU\n2.LIANBIAO\n0.Quit\n");
gets(q);
w=atoi(q);
switch(w)
{ case 1:
do
{ do
{ printf("----------------------------------------------\n");
printf("******************Phone book******************\n");
printf("----------------------------------------------\n");
printf(" | | <1> Add a note | |\n");
printf(" | | <2> Show the list | |\n");
printf(" | | <3> Delete a note | |\n");
printf(" | | <4> Insert a note | |\n");
printf(" | | <0> Quit | |\n");
printf("----------------------------------------------\n");
printf(" Enter your choice(0-4):");
gets(s);
c=atoi(s);
}while(c<0||c>4);
system("cls");
switch(c)
{ case 1: p=jianli();break;
case 2: xianshi(p);break;
case 3: printf("\nPlease input the name to deleted\n");
p=delete(p);break;
case 4: printf("\nPlease input the new name\n");
p=charu(p);break;
}
}while(c);goto a;
case 2:
do
{ do
{printf("----------------------------------------------\n");
printf("******************Phone book******************\n");
printf("----------------------------------------------\n");
printf(" | | <1> Add a note | |\n");
printf(" | | <2> Show the list | |\n");
printf(" | | <3> Delete a note | |\n");
printf(" | | <4> Insert a note | |\n");
printf(" | | <0> Quit | |\n");
printf("----------------------------------------------\n");
printf(" Enter your choice(0-4):");
gets(s);
c=atoi(s);
}while(c<0||c>4);
system("cls");
switch(c)
{ case 1: head=create();break;
case 2: prlist(head);break;
case 3: printf("\nInput the name to deleted\n");
gets(name);
head=delnode(head,name);break;
case 4: stu=NEW;
printf("\nInput the new node\n");
printf("name:");
gets(stu->name);
printf("tel:");
gets(stu->tel);
stu->next=NULL;
printf("\nInsert position\n");
printf("name:");
gets(name);
head=insert(head,stu,name);
}
}while(c);goto a;
}
}
#include "string.h"
struct student *jianli()
{ char c1[10],c2[11];
int i=0;
printf("name:");
gets(c1);
while(strlen(c1)!=0)
{ strcpy(a[i].name,c1);
printf("tel:");
gets(c2);
strcpy(a[i].tel,c2);
i++;
printf("name:");
gets(c1);
}
return a;
}
#include "string.h"
struct student *delete(struct student *p)
{ char c1[10];
int i=0,j,l=0;
while(strlen(p[i].name)!=0)
i++;
printf("name:");
gets(c1);
for(j=0;j<=i+1;j++)
if(strcmp(c1,p[j].name)==0)
{p[j]=p[j+1];
l=j;}
while(l<i+1)
{p[l]=p[l+1];
l++;}
return p;
}
#include "string.h"
struct student *charu(struct student *p)
{ char c1[10],c2[11];
int i=0;
while(strlen(p[i].name)!=0)
i++;
printf("name:");
gets(c1);
strcpy(p[i].name,c1);
printf("tel:");
gets(c2);
strcpy(p[i].tel,c2);
return p;
}
#include "string.h"
void xianshi(struct student *p)
{ int i=0;
printf("name\ttel\n\n");
while(strlen(p[i].name)!=0)
{ printf("%s\t%s\n",p[i].name,p[i].tel);
i++;}
}
#include "stdlib.h"
#include "string.h"
#define NEW (struct node *)malloc(sizeof(struct node))
struct node *create()
{ struct node *h;
struct node *p,*q;
char name[20];
h=q=NULL;
printf("name:");
gets(name);
while(strlen(name)!=0)
{ p=NEW;
if(p==NULL)
{ printf("Allocation failure\n");
exit(0);
}
strcpy(p->name,name);
printf("tel:");
gets(p->tel);
p->next=NULL;
if(h==NULL)
h=p;
else
q->next=p;
q=p;
printf("name:");
gets(name);
}
return h;
}
struct node *insert(struct node *head,struct node *p0,char *x)
{ struct node *p,*q;
if(head==NULL)
{ head=p0;
p0->next=NULL;
}
else
{ p=head;
while(strcmp(x,p->name)!=0&&p->next!=NULL)
{ q=p;p=q->next;}
if(strcmp(x,p->name)==0)
{ if(p==head)
head=p0;
else
q->next=p0;
p0->next=p;
}
else
{ p->next=p0;
p0->next=NULL;
}
}
return head;
}
void prlist(struct node *head)
{ struct node *p;
p=head;
printf("name\ttel\n\n");
while(p!=NULL)
{ printf("%s\t%s\n",p->name,p->tel);
p=p->next;
}
}
struct node *delnode(struct node *head,char *x)
{ struct node *p,*q;
if(head==NULL)
{ printf("this is a empty list.");
return head;
}
p=head;
while(strcmp(x,p->name)!=0&&p->next!=NULL)
{ q=p;p=p->next;}
if(strcmp(x,p->name)==0)
{ if(p==head)
head=p->next;
else
q->next=p->next;
free(p);
}
else
printf("Not found.");
return head;
}
④ 用vb來實現通訊錄的製作怎麼操作啊我現在下載並安裝了vb 大家知道哪裡有源碼應該是vbf格式的對嗎
一個VB源程序好像應該包括一個vbp文件和一個vbf文件
⑤ 怎麼用c#做一個簡單的通訊錄
你可以在資料庫里創建一張表,欄位就是你上面的這些欄位,然後你要會如何連接資料庫進行基本的增刪改查,如果不會,建議你學一下以後在開始做這個。如果你會的話,做這個其實很簡單。
⑥ 學java有哪些可以練手的項目
1.各種管理系統
源碼下載(實例一):
jsp開發完整的博研圖書館後台管理系統,不使用框架開發的,太完美了
源碼下載(實例二):
javaWeb圖書館管理系統源碼mysql版本
源碼下載(實例三)
GitHub - uboger/LibraryManager: JAVA GUI 圖書館管理系統
源碼下載(實例四):
java swing開發企業人事管理系統源代碼下載
2.簡易的聊天系統
源碼下載(實例一):
java swing開發網路聊天室群聊系統,基於java多線程socket編程
源碼下載(實例二):
java swing開發大貓聊天室源碼,簡單易懂,適合java swing初學者
源碼下載(實例三):
java websocket開發簡單聊天室系統,實現群聊與一對一單人聊天案例
源碼下載(實例四):
jsp開發簡單聊天室demo-分享
3.實現通訊錄
java通訊錄實現了添加刪除和查找功能
源碼下載(二):
JAVA版通訊錄管理系統課程設計源碼
源碼下載(三):
Java Swing界面.完美設計通訊錄..有需要的下
4.坦克大戰
源碼下載(一):
俄羅斯方塊 JAVA版
源碼下載(二):
GitHub - FieldSoft-HelloClyde/Tetris-Swing: Swing編寫的俄羅斯方塊
源碼下載(三):
java swing開發的俄羅斯方塊游戲,包含完整代碼+詳細注釋
5.五子棋
源碼下載(一):
Java實踐(十一)——五子棋
源碼下載(二):
java swing開發的五子棋小游戲源碼
源碼下載(三):
java swing開發單機版五子棋源代碼下載
源碼下載(四):
Java五子棋演算法和代碼
6.中國象棋
源碼下載(一):Java實踐(十二)——中國象棋
7.貪吃蛇
java貪吃蛇源代碼 、 java貪吃蛇源代碼
以上是總結出來的簡單的練手項目,希望對你有幫助
⑦ 用JAVA寫一個通訊錄,怎麼寫。源代碼。
採用C/S的架構方式。
首先用swing 畫幾個條條框框出來。做出顯示 和 添加 修改的界面。
添加的時候。吧輸入的信息存入資料庫
修改的時候 修改資料庫裡面的內容
查詢的時候 顯示資料庫裡面的內容。
不想用資料庫 也可以吧文件寫在磁碟上。不過這樣,還不如用個excel當通訊錄用來的省事。
這就是high level。detail么 自己研究吧
⑧ 如何用易語言編寫通訊錄 有沒有教程或者源碼參考
很早就有過了,幾年前就有易名片錄的教程,就是第一本紙質易書中就有,書名忘記了。很簡單的,要是有照片的話,用資料庫來做。要是沒有的話就用文本來當做資料庫添加查找就得了。推薦用資料庫來做,因為沒有資料庫的程序還能叫程序嗎?搜搜易名片應該可以找到的。
對了幾年前在易大全論壇中混的時候,好象見過這方面的源碼,不過不知現在在不在了。
⑨ 用C語言編寫一個通訊錄管理系統
C語言編寫一個通訊錄管理系統的源代碼如下:
#include<stdio.h>
#include<string.h>
#include<stdlib.h>
/*定義保存通迅錄的信息*/
structfriends
{
charname[20];/*名字*/
charprovince[20];/*省份*/
charcity[20];/*所在城市*/
charnation[20];/*民族*/
charsex[2];/*性別M/F*/
intage;/*年齡*/
}
(9)企業通訊錄源碼擴展閱讀
1、在C++中應該使用inline內連函數替代宏調用,這樣既可達到宏調用的目的,又避免了宏調用的弊端。
2、在C語言兩個函數的名稱不能相同,否則會導致編譯錯誤。在C++中,函數名相同而參數不同的兩個函數被解釋為重載。
3、在大型程序中,使函數名易於管理和使用,不必絞盡腦汁地去處理函數名。
⑩ 求android2.3系統自帶的通訊錄源碼
發了,採納