This is a creation in
Article, where the information may have evolved or changed.
"Go language Programming" in the book "2.4.1 Conditional statement" There is a mistake, should be in the book using the Go language version is less than the 1.1 version, the original text as follows:
In a function that has a return valu
1. Introductory Readings
R's Help documentation provides introductory readings, such as an Introduction to R (download address http://cran.csdb.cn/doc/manuals/R-intro.pdf), an authoritative reading of the early entry of R, the Chinese version of this book called Introduction to R (2006 years of translation, the translator Ding ghding@gmail.com of the national emblem).
Another early famous introductory reading is "R for Beginners", also has the Chin
This section is the header of the Address Book (HEAD.H)This section is the most important part of the Address book, the function function (CONTACT.C)#include "head.h" int find (PCon Pcon,char *name) {int i=0;for (i=0;iThis section is the Contacts Test section, which is the main function section (TEST.C) #include "head.h" void print () {printf ("********************************************* \ n ");p rintf ("
;
Ldap.php (as the current mainstream development language) (please modify the LDAP server link, Department list, and search basics to suit your needs.) )
※ in particular, our company's search is based on LastName. is not differentiated by sector. Please make your own changes to meet the requirements.
Code:
Free source code company Address Book Query
("Please enter the name you want to find:>"); scanf ("%s", tmpname); ret = Find (Pcon,tmpname), if (ret! =-1) {printf ("%s\t%s\t%d\t%s\t%s\t\n", Pcon->dhb[ret].name,pcon->dhb[ret]. SEX,PCON->DHB[RET].AGE,PCON->DHB[RET].TELE,PCON->DHB[RET].ADDR);} else{printf ("There is no information to look for \ n");}}Modify a Contact function segmentvoid Modify_peo (PCon pCon)//Modify data function {char tmpname[name_max];int ret=0;printf ("Please enter the name you want to modify:>"); scanf ("%s", Tmpname)
package in documentation, in a more comprehensible language, and in a well-organized way. So same, if you have enough power to learn Java libraries directly through documentation, then basically you don't need to look at other books. In addition, documentation is also a prerequisite for programming manuals, my desktop has three documentation shortcuts, The documentation of the documentation and j2sdkee1.3.
I seriously probation the book today, first of all, according to the author's habit of Reading, like to first look at the front part. The author puts a roadmap to learning Java in the preface, which is a relatively standard learning process. But why in the programming advanced there put a design pattern, and then next is the abstract class and interface, package and access permissions (this name and
/* implements an address book that can be used to store 1000 people's information, including: Name, gender, age, phone, Address Provision method: 1. Add contact information 2. Delete the specified contact information 3. Find the specified contact information 4. Modify the specified contact information 5. Display all contact information 6. Clear all contacts */#include C-Language linked list write address
Today I wrote an address book for you to see#define _CRT_SECURE_NO_WARNINGS1#includeIf there is any deficiency, I wish to correct my mistakesThis article is from the "Pawnsir It Road" blog, so be sure to keep this source http://10743407.blog.51cto.com/10733407/1717800C language with structure write an address book
The address book has been improved based on Address Book (1) and added the ability to save contacts.
Important knowledge points of C language are:
File stream operations
Code:
Main. c
# Include
# Include "record. h"
Int menu_select (void );
Void hand_menu (int cmd, int * flag );
Int main (int argc, char * argv [])
{
Int cmd = 0;
Int flag = 1;
While (1 ){
Cmd
implement an address book;Contacts can be used to store 1000 of people's information, and each person's information includes:Name, gender, age, telephone, addressAvailable methods:1. Add contact information2. Delete the specified contact information3. Find the specified contact information4. Modify the specified contact information5. Show All contact information6. Clear All contactsDefining header Filespart of the function implementationTest fun
Implement an address book;Contacts can be used to store 1000 of people's information, and each person's information includes:Name, gender, age, telephone, addressAvailable methods:1. Add contact information2. Delete the specified contact information3. Find specified contact information4. Modify the specified contact information5. Show all contact information6. Clear All contactsMain.c#include "contact.h"//Find contact, return subscript, int find (PCo
Implement an address book;Contacts can be used to store 1000 of people's information, and each person's information includes:Name, gender, age, telephone, addressThe following methods are available:1. Add contact information2. Delete the specified contact information3. Find the specified contact information4. Modify the specified contact information5. Show All contact information6. sort all contacts by name7. Clear All ContactsStudent.h:#ifndef
The Android phone is lost. I changed the BlackBerry 9630 mobile phone (cheap) because it does not support access to cmnet. Therefore, there is no way to use Google sync to synchronize your Google address book. However, you can only import the address book through Google → outlook → BB.
However, during the import process, it is found that the region settings are incorrect. The CSV column headers on Google ar
Implement an address book;Contacts can be used to store 1000 of people's information, and each person's information includes:Name, gender, age, telephone, addressAvailable methods:1. Add Contact information2. Delete the specified contact information3. Find the specified contact information4. Modify the specified contact information5. Show all contact information6. Clear All ContactsHeader file:#ifndef _contact__#define _contact__#define name_max 20#de
(Pcon Pcon) {intTMP =0;CharName[name_len];printf("Please enter the name of the contact you want to modify:");scanf('%s ', name); TMP = FIND (Name,pcon);if(TMP = =-1) {printf("no contact!\n"); }Else{printf("Please enter all information for the modified contact: \ n");scanf('%s%s%d%s%s ', Pcon->dhb[tmp].name, Pcon->dhb[tmp].sex, pcon->dhb[tmp].age, Pcon->dhb[tmp].phone, pcon->dhb[tmp].address);printf("\ n Modify success!\n"); }}voidShow (Pcon Pcon) {inti =0;printf("name sex age phone address \
Download address: Network disk download
Introduction to the content
One of the most influential and valuable works in the Java field, with more than 20 years of experience in teaching and research of senior Java technology experts to write (won the Jolt Award), and "Java Programming ideas," the same as the more than 10-year global best-selling not decline, popul
This is my freshman second semester at the beginning of the C language course design works, hey, originally thought has not found the manuscript, today inadvertently unexpectedly in QQ network hard disk found the original version of the Teta, published in this, in order to commemorate.C source code such as the following:#include C Language Course design-book Man
This is my freshman second semester at the beginning of the C language course design works, hey, originally thought has not found the manuscript, today inadvertently unexpectedly in QQ network hard disk found the original version of the Teta, published in this, in order to commemorate.C source code such as the following:#include C Language Course design-book Man
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.