1.ความหมายของโครงสร้างข้อมูล
ข้อมูล คือ ข้อเท็จจริงต่างๆ ซึ่งอาจเป็นตัวเลขหรืไม่เป็นตัวเลขก็ได้
โครงสร้าง คือ ความสำคัญของสมาชิกในกลุ่ม
2. ประเภทของโครงสร้างข้อมูล
1.โครงสร้างข้อมูลทงกายภาพ
2.โครงสร้างข้อมูลทางตรรกะ
3. การแทนที่ข้อมูลในหน่วยความจำหลัก
1.การแทนที่ข้อมูลแบบ สแตติก
2. การแทนที่ข้อมูลแบบไดนามิก
4. ขั้นตอนวิธี
1. มีความถูกต้อง
2. ใช้เวลาในการปฏิบัติงานน้อยที่สุด
3. ง่ายต่อการทำความเข้าใจ
วันจันทร์ที่ 29 มิถุนายน พ.ศ. 2552
DTS02 - 23/06/2552
#include<stdio.h>
#include<string.h>
void main()
{
struct MyDog{
char name[10];
char sprains[50];
char sex[10];
char born[20];
char color[10];
int age;
float weight;
float price;
}animal;
strcpy(animal.name,"Poodle");
strcpy(animal.sprains,"German");
strcpy(animal.sex,"male");
strcpy(animal.born,"France");
strcpy(animal.color,"White");
animal.age=5;
animal.weight=7.5;
animal.price=5000;
printf("Name : %s\n\n",animal.name);
printf("Fprains : %s\n\n",animal.sprains);
printf("Sex : %s\n\n",animal.sex);
printf("Born : %s\n\n",animal.born);
printf("Color : %s\n\n",animal.color);
printf("Age : %d\n\n",animal.age);
printf("Weight : %.2f\n\n",animal.weight);
printf("Price : %d\n\n",animal.price);
}
#include<string.h>
void main()
{
struct MyDog{
char name[10];
char sprains[50];
char sex[10];
char born[20];
char color[10];
int age;
float weight;
float price;
}animal;
strcpy(animal.name,"Poodle");
strcpy(animal.sprains,"German");
strcpy(animal.sex,"male");
strcpy(animal.born,"France");
strcpy(animal.color,"White");
animal.age=5;
animal.weight=7.5;
animal.price=5000;
printf("Name : %s\n\n",animal.name);
printf("Fprains : %s\n\n",animal.sprains);
printf("Sex : %s\n\n",animal.sex);
printf("Born : %s\n\n",animal.born);
printf("Color : %s\n\n",animal.color);
printf("Age : %d\n\n",animal.age);
printf("Weight : %.2f\n\n",animal.weight);
printf("Price : %d\n\n",animal.price);
}
วันอังคารที่ 23 มิถุนายน พ.ศ. 2552
Resume
รหัสประจำตัว 50132792013
ชื่อเล่น ใหม่
ชื่อเล่น ใหม่
คณะวิทยาการจัดการ
หลักสูตรการบริหารธุรกิจ (แขนงคอมพิวเตอร์ธุรกิจ)
สมัครสมาชิก:
บทความ (Atom)