企业通讯录源码
① 高分求用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系统自带的通讯录源码
发了,采纳