dmit8a Forum Index
  Register FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in 
Log in to check your private messages  ·  fChat
Tài liệu môn C

 
Post new topic   Reply to topic    dmit8a Forum Index -> Kho tài liệu
View previous topic :: View next topic  
Author Message
Minh Đức
Supper Novice


Joined: 05 Apr 2006
Posts: 585
Location: localhost

PostPosted: Tue Apr 24, 2007 11:23 pm    Post subject: Tài liệu môn C Reply with quote

File Name: study_guide_C.zip

File Size: 0.23 MB

Time Stamp: April 24, 2007, 9:25 am
Download Link:

http://upload.mauthoigian.org/download.php?file=89cd3b6af790e7826c02f2c86b0f4349
_________________
Nguyễn Minh Đức -DIT8A1

Biển học vô bờ, những gì bạn biết chỉ là giọt nước trong đại dương.
Càng nhiều kiến thức bạn chia sẻ, càng nhiều kiến thức bạn nhận được.
www.phuthohoa.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Minh Đức
Supper Novice


Joined: 05 Apr 2006
Posts: 585
Location: localhost

PostPosted: Thu Apr 26, 2007 6:30 am    Post subject: Reply with quote

File Name: BorlandC++3.1.zip
File Size: 18.92 MB
Time Stamp: April 25, 2007, 4:34 pm

Download Link:
http://upload.mauthoigian.org/download.php?file=95397925a28cd7fc4798feab17678f01
_________________
Nguyễn Minh Đức -DIT8A1

Biển học vô bờ, những gì bạn biết chỉ là giọt nước trong đại dương.
Càng nhiều kiến thức bạn chia sẻ, càng nhiều kiến thức bạn nhận được.
www.phuthohoa.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
redmoon3009
Super Moderator


Joined: 26 Aug 2006
Posts: 136
Location: 192.168.1.2

PostPosted: Thu Apr 26, 2007 1:25 pm    Post subject: Reply with quote

File down gần hết thì bị hỏng, ko down dc.
_________________
Làm sao sống được mà không yêu,
Không nhớ không thương một kẻ nào!
Back to top
View user's profile Send private message
Minh Đức
Supper Novice


Joined: 05 Apr 2006
Posts: 585
Location: localhost

PostPosted: Sun May 06, 2007 10:54 am    Post subject: Reply with quote

File Name: TextbookC.zip
File Size: 1.55 MB
Time Stamp: May 5, 2007, 8:57 pm

Download Link:
http://upload.mauthoigian.org/download.php?file=b0faf791a52927850fe0fbe2cb37d644
or
http://minhduc.byethost7.com/TextbookC.zip
password: www.dmit8a.tk
_________________
Nguyễn Minh Đức -DIT8A1

Biển học vô bờ, những gì bạn biết chỉ là giọt nước trong đại dương.
Càng nhiều kiến thức bạn chia sẻ, càng nhiều kiến thức bạn nhận được.
www.phuthohoa.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
buiducliem1102
Thành viên trụ cột


Joined: 16 Oct 2006
Posts: 90

PostPosted: Mon May 07, 2007 10:51 pm    Post subject: Reply with quote

troi may up len ma dat pass word chi nua vay duc
_________________
DaiCaLiem
Back to top
View user's profile Send private message
Minh Đức
Supper Novice


Joined: 05 Apr 2006
Posts: 585
Location: localhost

PostPosted: Tue May 08, 2007 1:43 pm    Post subject: Reply with quote

đặt pass cho người ngoài mà down về cũng ko đọc được. Chỉ có sv khóa chúng ta mở đc thôi.
_________________
Nguyễn Minh Đức -DIT8A1

Biển học vô bờ, những gì bạn biết chỉ là giọt nước trong đại dương.
Càng nhiều kiến thức bạn chia sẻ, càng nhiều kiến thức bạn nhận được.
www.phuthohoa.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
QUANA1
Banned


Joined: 13 Oct 2006
Posts: 26

PostPosted: Wed May 30, 2007 7:45 pm    Post subject: Reply with quote

troi oi con so nguoi ngoai vo down nua chu
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
Minh Đức
Supper Novice


Joined: 05 Apr 2006
Posts: 585
Location: localhost

PostPosted: Wed May 30, 2007 9:39 pm    Post subject: Reply with quote

Code:
Cấu trúc vòng lặp FOR

for(<st1>; <st2>; <st3>)
{
   ...
}

example:
int i;
for(i=1; i<5; i++)
{
   printf("%dn", i);
}

int i;
i = 1;
while(i < 10)
{
   printf("%dn", i);
   i++;
}

for(i=1 ; i<=2; i++)
{
   printf("%dn", i);
}

i = 1;
while(true)
{
   if(i == 3) break;
   printf("%dn", i);
   i++;
}

i = 1;
while(i <= 3)
{
   printf("%dn", i);
   i++;
}

for(;;)
{

}

while(true)
{
  ....
}

do
{
  ....
}
while(true);

for(;;)
{
   ....
}

NumInputs = 10;
Sum = 0;
for (Count = 1; Count <= NumInputs; ++Count)
{
   printf("Enter number: ");
   scanf("%f", &Number);
   Sum = Sum + Number;
}

count = 2007;
for(; count--;)
{
   printf("Count = %dn", count);
}

for(int i = 0 ; i < 10 ; i++)
{
   printf("Count = %dn", i);
}

for(int i = 0, j = 0; i + j; i++, j++)
{
   printf("Count = %d, %dn", i, j);
}

for(int i = 10, j = 10; i - j; i++, j++)
{
   printf("Count = %d, %dn", i, j);
}

for(int i = 0, j = 0; i + j < 10; i++, j++)
{
   printf("Count = %d, %dn", i, j);
   if(i + j) break;
}

for(int i = 0, j = 0; i + j < 10; i++, j++)
{
   printf("Count = %d, %dn", i, j);
   while(i + j < 10) break;
}

Viết chương trình in ra màn hình các con số sau:
1 2 3 4 5 6 7 8 9 10
11 12 13 14 15 16 17 18 19 20
...
1001 1002 1003 1004 1005 1006 1007 1008 1009 1010

1. Sử dụng vòng lặp FOR để thực hiện
2. Sử dụng vòng lặp DO .. WHILE để thực hiện.
3. Sử dụng vòng lặp WHILE để thực hiện.

Viết chương trình in ra màn hình các con số sau:
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
1 2 3 4 5 6
...
1 2 3 4 5 ... 100
1. Dùng WHILE
2. Dùng DO ... WHILE
3. Dùng FOR

Vòng FOR lồng nhau:
Ví dụ:
for(int i = 0 ; i < 10 ; i++)
  for(int j = 0 ; j < 10 ; j++)
  {
     printf("%d, %d", i, j);
  }


for(int i = 1; i <= 10 ; i++)
   for(int j = 1 ; j <= 10 ; j++)
      for(int k = 1; k <= 10 ; k++)
         for(int l = 1 ; l <= 10 ; l++)
         {
            printf("%d, %d, %d, %d", i, j, k, l);
         }

for(int i = 1 ; i <= 10 ; i++)
{
   for(int j = 1 ; j <= i ; j++)
   {
      printf("%d ", j); 
   }
   printf("n"); 
}

Bài tập 12.2

Viết chương trình in ra màn hình như sau:
         1
        23
       456
      7890
     12345
    678901
   2345678
  90123456
 789012345
6789012345

các bạn quote bài viết để thấy dòng lệnh cho đúng vì forum ko hiển thị dấu back slash.
_________________
Nguyễn Minh Đức -DIT8A1

Biển học vô bờ, những gì bạn biết chỉ là giọt nước trong đại dương.
Càng nhiều kiến thức bạn chia sẻ, càng nhiều kiến thức bạn nhận được.
www.phuthohoa.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Minh Đức
Supper Novice


Joined: 05 Apr 2006
Posts: 585
Location: localhost

PostPosted: Wed Jun 20, 2007 9:45 pm    Post subject: Reply with quote

http://www.freewebtown.com/minhduclol/assignmentC.zip
_________________
Nguyễn Minh Đức -DIT8A1

Biển học vô bờ, những gì bạn biết chỉ là giọt nước trong đại dương.
Càng nhiều kiến thức bạn chia sẻ, càng nhiều kiến thức bạn nhận được.
www.phuthohoa.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Minh Đức
Supper Novice


Joined: 05 Apr 2006
Posts: 585
Location: localhost

PostPosted: Tue Sep 29, 2009 12:08 am    Post subject: Reply with quote

Mới up lại mấy file note để ôn thi liên thông
http://phuthohoa.com/c4PT(A).rar
_________________
Nguyễn Minh Đức -DIT8A1

Biển học vô bờ, những gì bạn biết chỉ là giọt nước trong đại dương.
Càng nhiều kiến thức bạn chia sẻ, càng nhiều kiến thức bạn nhận được.
www.phuthohoa.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Display posts from previous:   
Post new topic   Reply to topic    dmit8a Forum Index -> Kho tài liệu All times are GMT + 7 Hours
Page 1 of 1

 
Quick Reply:
Username: 

Quote the last message
Attach signature (signatures can be changed in profile)
 
Jump to:  
You cannot post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum