ยินดีต้อนรับคุณ, บุคคลทั่วไป กรุณา เข้าสู่ระบบ หรือ ลงทะเบียน

เข้าสู่ระบบด้วยชื่อผู้ใช้ รหัสผ่าน และระยะเวลาในเซสชั่น

  แสดงกระทู้
หน้า: 1 ... 3 4 [5] 6 7 8
81  < กดยุบ (ห้องยกเลิกการใช้งาน) / สาระคำถามทั่วไป (ย้ายไป cafe) / Re: 3BB อัพSpeed ให้ 590บาท ได้ 10Mb เมื่อ: 18 กันยายน 2012, 15:25:19
Speed นี้ได้มาจะสองสามเดือนละ ฮี่ฮี่  wanwan004
82  ความรู้ทั่วไป / General (ถามคุยวิชาการ IM) / Re: รบกวนผู้รู้เรื่องภาษา C หน่อยครับ อีกแค่ครั้งเดียว! เมื่อ: 08 กันยายน 2012, 06:28:08
 Cry Lips Sealed
83  ความรู้ทั่วไป / General (ถามคุยวิชาการ IM) / รบกวนผู้รู้เรื่องภาษา C หน่อยครับ อีกแค่ครั้งเดียว! เมื่อ: 08 กันยายน 2012, 06:02:02
หลังจากที่ผมได้ถามไปเมื่อวาน เรื่อง \n มันติดมา
ก็แก้ได้เรียบร้อยแล้ว

แต่พอผมเขียนโค้ดทั้งหมดเสร็จ แต่จะจัดลง Function ดันทำไม่ได้  Shocked

อยากรบกวนช่วยหน่อยครับ ครั้งสุดท้ายแล้วจริงๆ

นี่คือหน้าตาโค้ดครับ  เขียนใน Linux นะครับ
เป็นเกมส์ XO

#include<stdio.h>
int main()
{
int i,d[9];
char a,b[9],c=' ';
for(i=0;i<9;i++){
b=c;}

system("clear"); //เคลียหน้าจอ
//สร้างตาราง
printf("\n ======================\n");
printf("||  %c  ||  %c  ||  %c  ||\n",b[0],b[1],b[2]);
printf(" ======================\n");
printf("||  %c  ||  %c  ||  %c  ||\n",b[3],b[4],b[5]);
printf(" ======================\n");
printf("||  %c  ||  %c  ||  %c  ||\n",b[6],b[7],b[8]);
printf(" ======================\n");

//รับค่าตัวอักษร
for(i=0;i<9;i++){
printf("Enter Character : ");
scanf(" %c",&a);
getchar();

//ให้อักษร แทนช่องตารางที่เราสร้าง ถ้าเป็น x=3 O=5 เพราะต้องตรวจนิพจณ์ว่าใครจะชนะ
if(a=='q'){if(i%2!=0){b[0]='x';d[0]=3;}else {b[0]='o';d[0]=5;}}
if(a=='w'){if(i%2!=0){b[1]='x';d[1]=3;}else {b[1]='o';d[1]=5;}}
if(a=='e'){if(i%2!=0){b[2]='x';d[2]=3;}else {b[2]='o';d[2]=5;}}
if(a=='a'){if(i%2!=0){b[3]='x';d[3]=3;}else {b[3]='o';d[3]=5;}}
if(a=='s'){if(i%2!=0){b[4]='x';d[4]=3;}else {b[4]='o';d[4]=5;}}
if(a=='d'){if(i%2!=0){b[5]='x';d[5]=3;}else {b[5]='o';d[5]=5;}}
if(a=='z'){if(i%2!=0){b[6]='x';d[6]=3;}else {b[6]='o';d[6]=5;}}
if(a=='x'){if(i%2!=0){b[7]='x';d[7]=3;}else {b[7]='o';d[7]=5;}}
if(a=='c'){if(i%2!=0){b[8]='x';d[8]=3;}else {b[8]='o';d[8]=5;}}

system("clear");

//แสดงการเล่น
printf("\n ======================\n");
printf("||  %c  ||  %c  ||  %c  ||\n",b[0],b[1],b[2]);
printf(" ======================\n");
printf("||  %c  ||  %c  ||  %c  ||\n",b[3],b[4],b[5]);
printf(" ======================\n");
printf("||  %c  ||  %c  ||  %c  ||\n",b[6],b[7],b[8]);
printf(" ======================\n");


//คำนวณผู้ชนะ
if(i<9){
//X Winer
if(d[0]+d[1]+d[2]==9){printf("Player X Win!\n");break;}
if(d[3]+d[4]+d[5]==9){printf("Player X Win!\n");break;}
if(d[6]+d[7]+d[8]==9){printf("Player X Win!\n");break;}

if(d[0]+d[3]+d[6]==9){printf("Player X Win!\n");break;}
if(d[1]+d[4]+d[7]==9){printf("Player X Win!\n");break;}
if(d[2]+d[5]+d[8]==9){printf("Player X Win!\n");break;}

if(d[0]+d[4]+d[8]==9){printf("Player X Win!\n");break;}
if(d[6]+d[4]+d[2]==9){printf("Player X Win!\n");break;}

//O winer
if(d[0]+d[1]+d[2]==15){printf("Player O win!\n");break;}
if(d[3]+d[4]+d[5]==15){printf("Player O win!\n");break;}
if(d[6]+d[7]+d[8]==15){printf("Player O win!\n");break;}

if(d[0]+d[3]+d[6]==15){printf("Player O win!\n");break;}
if(d[1]+d[4]+d[7]==15){printf("Player O win!\n");break;}
if(d[2]+d[5]+d[8]==15){printf("Player O win!\n");break;}

if(d[0]+d[4]+d[8]==15){printf("Player O win!\n");break;}
if(d[6]+d[4]+d[2]==15){printf("Player O win!\n");break;}
}
else{
printf("Draw\n");}

}


return 0;
}


รบกวนแยกเป็นฟังก์ชั่นๆ ให้หน่อยนะครับ  wanwan011






84  อื่นๆ / Cafe / จะอัดเสียง ต้องมีอุปกรณ์อะไรบ้างครับ ให้ได้คุณภาพพอสมควร เมื่อ: 07 กันยายน 2012, 23:46:20
คือตอนนี้ มี Labtop ของ Acer เครื่องนึง แล้วก็มีไมค์ราคาถูก 190 บาทมั้ง จำไม่ได้
ลองอัดดู คุณภาพเสียงที่ได้ห่วยมาก

อยากได้คำแนะนำครับ ว่าควรจะต้องซื้ออะไรเพิ่มอีก ไมค์ หรือซาวการ์ด แล้วควรซื้อแบบไหน เอาราคาไม่สูงมากนะครับ  Tongue
85  ความรู้ทั่วไป / General (ถามคุยวิชาการ IM) / Re: สาขาเทคโนโลยีสารสนเทศกับวิทยาการคอมพิวเตอร์นี่ต่างกันยังไงครับ ? เมื่อ: 07 กันยายน 2012, 15:42:23
ผมกำลังเรียนวิศวกรรมซอฟแวร์พอดี เข้ามาดู
86  ความรู้ทั่วไป / General (ถามคุยวิชาการ IM) / Re: ใครรู้เรื่อง ภาษา c เข้ามาทีครับ เมื่อ: 07 กันยายน 2012, 15:40:21
ใส่ getchar(); ล่าง scanf ครับ
เพื่อรับข้อมูลเพียงอักขระเดียว (ไม่เอา \n)
ถ้าไม่ใส่ getchar ค่าของ \n มันจะไปทับตัวแปร a ครับ (เพราะ a เป็น char)
debug ดูครับ แล้วจะเห็น



ได้แล้วครับ ขอบคุณมากครับ  wanwan017
87  ความรู้ทั่วไป / General (ถามคุยวิชาการ IM) / ใครรู้เรื่อง ภาษา c เข้ามาทีครับ เมื่อ: 07 กันยายน 2012, 13:52:07
จากโค้ดตัวอย่างง่ายๆ

#include<stdio.h>
int main()
{
int i;
char a;
for(i=0;i<9;i++){
printf("Enter Character : ");
scanf("%c",&a);
printf("you in put %c\n",a);}
return 0;
}

ผมต้องการรับตัวอักษร เข้ามา 1 ตัว จำนวน 9 ครั้ง
แต่มันจะทำงานติดกันสองรอบ แทนที่มันจะทำทีละรอบ
ทำให้ผม input ได้แค่ 5 ครั้ง ซึ่งกำลังงงๆ
เพราะถ้าเปลี่ยนเป็นรับตัวเลข จะรับได้ปกติ
ต่อให้ผมเขียนโค้ดผิด แต่นิจพจมันไม่น่ากระโดดข้ามแบบนี้
และเป็นเฉพาะ char ส่วน int ปกติ

มีคนบอกว่า เป็นเพราะ buffer
keyboard -> buffer -> program
จะมี enter หรือว่า \n ค้างใน buffer

ผมต้องแก้ยังไง รบกวนด้วยนะครับ

 wanwan017
88  พัฒนาเว็บไซต์ / วิจารณ์เว็บไซต์ / Re: ----- "ศรีสะเกษ กั๊นเอ้ง" เว็บอีสานบ้านเฮา ภาค2 ------- [+1 ] เมื่อ: 02 กันยายน 2012, 15:47:30
ศรีสะเกษ ไพรบึง ครา้บ บบบบ
89  พัฒนาเว็บไซต์ / Programming / Re: พี่ๆคนไหนเก่งภาษาซีเชิญมาทางนี้ครับ เมื่อ: 28 สิงหาคม 2012, 23:19:19
ทำไมผมไม่เข้าใจคำสั่งเลยนะ  wanwan009

น้องต้องการอะไรครับ พี่อ่านที่น้องใช้ภาษาได้งงพี่มากๆ โจทย์ข้อนี้ โคตรง่ายเลย

เอางี้ เดี๋ยวเขียนให้ละกัน

#include<stdio.h>
int main()

{
int a,i,sum=0;
float avg;

for(i=0;i<5;i++){
      printf("Enter Number : ");
      scanf("%d",&a);
      sum=sum+a;
}
printf("Sun = %d\nAvg = %d\n",sum,sum/5);

return 0;
}


ผมเขียนสดๆให้เลยนะ ไม่ได้ลองคอมไพล์ เอาไปลองดูละกัน
90  ความรู้ทั่วไป / Amazon Camp / Re: จับเสือมือเปล่ากับ amazon kindle (มีคลิปการส่งหนังสือและมีตัวอย่างให้โหลด) เมื่อ: 18 สิงหาคม 2012, 13:47:22
เดือนนี้ยอดตก 100% ฮ่าๆๆๆๆ หัวเราะทั้งน้ำตา  Cry
91  พัฒนาเว็บไซต์ / Tools / Re: แจก Ebook Visual C# .NET Network Programing เมื่อ: 09 สิงหาคม 2012, 02:05:58
ไทย หรือ Eng
92  พัฒนาเว็บไซต์ / CMS & Free Script / Re: Joomla 2.5 ทำยังไงให้ดึง feed มาแล้ว มีรูปมาด้วย เมื่อ: 05 สิงหาคม 2012, 22:22:50
 Lips Sealed Cry
93  พัฒนาเว็บไซต์ / CMS & Free Script / Joomla 2.5 ทำยังไงให้ดึง feed มาแล้ว มีรูปมาด้วย เมื่อ: 05 สิงหาคม 2012, 07:32:20
คือผมใช้โมดูลที่มากับ จูมลา 2.5 นี่แหละแครับ แต่พอดึงข่าวเข้ามา ทำไมมีแต่ตัวหนังสือ ทำไมไม่มีรูปภาพประกอบข่าวในฟีดเลย
รบกวนช่วยผมทีครับ   Cry
94  ความรู้ทั่วไป / Internet Marketing / Re: [ขอแก้ตัว] แจก e-book ทำเงินผ่านเฟสบุ๊ควันละ $500+ !!! [อัพเอง] เมื่อ: 01 สิงหาคม 2012, 21:45:22
ศัพท์ไม่ยากครับ ลองอ่านเองดูนะ เข้าใจง่ายดี

ในเรื่องจะเป็นการพูดถึงการใช้เฟสบุ๊คทำ clickbank วิธีการเพื่อมเพื่อนภายใน 7 วันให้ได้ 5000 คน แต่ก็ต้องเสียตังค์ซื้อ email list
จากนั้นก็สร้างแฟนเพจ แล้วก็พูดถึงการโปรโมทเพจ ขายของใน clickbank ประมาณนี้ครับ ลองอ่านดูนะ ไม่ยากๆ
95  ความรู้ทั่วไป / Amazon Camp / Re: จับเสือมือเปล่ากับ amazon kindle (มีคลิปการส่งหนังสือและมีตัวอย่างให้โหลด) เมื่อ: 01 สิงหาคม 2012, 11:34:41
ช่วยตอบคำถามผมทีคร้าบ บ Cry

ตอนแรกมันตรวจสอบ หนังสือผมครับ แต่การตรวจสอบก็ผ่านไป ส่งลิ๊งค์ยืนยัน อะไร จน live อีกครั้ง
แต่ทำไมมันยังคงขึ้น

Item Under Review

This title is currently unavailable because customers have told us that there may be something wrong with the description, the content, or the way that the content is displayed.

We're working with the publisher to fix the problem as quickly as possible. As always, we value customer feedback.

ต้องรออีกนานมั้ยครับ Sad
96  ความรู้ทั่วไป / Amazon Camp / Re: จับเสือมือเปล่ากับ amazon kindle (มีคลิปการส่งหนังสือและมีตัวอย่างให้โหลด) เมื่อ: 31 กรกฎาคม 2012, 22:36:16
ตอนแรกมันตรวจสอบ หนังสือผมครับ แต่การตรวจสอบก็ผ่านไป ส่งลิ๊งค์ยืนยัน อะไร จน live อีกครั้ง
แต่ทำไมมันยังคงขึ้น

Item Under Review

This title is currently unavailable because customers have told us that there may be something wrong with the description, the content, or the way that the content is displayed.

We're working with the publisher to fix the problem as quickly as possible. As always, we value customer feedback.

ต้องรออีกนานมั้ยครับ Sad
97  ความรู้ทั่วไป / Amazon Camp / Re: จับเสือมือเปล่ากับ amazon kindle (มีคลิปการส่งหนังสือและมีตัวอย่างให้โหลด) เมื่อ: 31 กรกฎาคม 2012, 09:55:21
ค่าขนมเข้าแล้วครับ สำหรับระยะเวลา 6 เดือนในการทำ kdp พอดิบพอดี
31 ก.ค. 2555 08:36 น.

เข้าไปเช็คยอดรวมของเดือนนี้มียอดขายรวมเมื่อเช้า 956 เล่มจากจำนวนหนังสือที่มีอยู่ 262 ปก รู้สึกว่าได้ทำเกินเป้าหมายที่ตั้งไว้แล้ว

แต่พอเข้าไปดูหนังสือในชั้น ก็พบกับฝันร้ายเมื่อพบข้อความ Your account is blocked.
สาเหตุที่โดนเพราะส่งหนังสือที่ไม่แตกต่าง ทั้งที่หนังสือเล่มนี้ live และก็ขายมาเป็นเดือนแล้วครับ

ตอนนี้ก็ได้แต่ส่งเมล์ไปชี้แจ้งและรอการตอบกลับจากทาง kdp ก็ยังหวังลึกๆ ครับว่าจะได้ account คืน
แต่ถ้าไม่ได้คืนก็คงต้องเปิดใหม่ และขอสู้ใหม่อีกครั้งครับ  wanwan004

ขอบคุณครับ
เฮ้ย ยยย ท่าน โดนซะและ โห ท่านเป็นที่ปรึกษาผมเลยนะเนี๊ย ย เอาใจช่วยครับ ยอดผมไม่เยอะ เดือนที่แล้วสองร้อย เดือนนี้อีกร้อยกว่าๆ
ตอนแรกมันจะบล็อกหนังสือขายดีของผม แต่ตอนนี้มันปลดบล็อกแล้วแหละ แต่อันดับในการค้นหา จากที่เคยอยู่ที่หนึ่ง หายไปลิบลิ่วเลย ค้นหาไม่เจอ

ไม่ต่างกับโดนบล็อกเท่าไหร่  Cry
98  ความรู้ทั่วไป / Amazon Camp / Re: จับเสือมือเปล่ากับ amazon kindle (มีคลิปการส่งหนังสือและมีตัวอย่างให้โหลด) เมื่อ: 26 กรกฎาคม 2012, 23:16:09
ช่วยผมทีครับ ผมไม่รู้จะตอบไปยังไง เพราะเรื่องนี้ผมหาผู้แปลไม่เจอ
อันที่ผมส่งไป ก็เป็น anonymously  ยังฝากช่วยผมทีนะครับ ขอร้องละ  :'(

Hello,

Thank you for your inquiry regarding the following book(s):

The Count of Monte Cristo by Dumas, Alexandre  (AUTHOR) (ID: 2009174)

The information you provided to verify public domain status is missing one of the following:

1.      The initial publication date of the translated work, with a working url where this information can be found.
2.      The first name, last name, and date of death of the author, with a working url where this information can be found.
3.      the first name, last name, and date of death of the translator, with a working url where this information can be found.

Please reply to title-submission@amazon.com with this information and we will consider your titles for publication. Failure to respond to this email will prevent your title from being available in the Kindle store.

Best regards,

Erin P
Amazon.com
Your feedback is helping us build Earth's Most Customer-Centric Company.
http://www.amazon.com/your-account
______________________________
Connect with KDP and other Authors and Publishers:
Like us on Facebook http://www.facebook.com/KindleDirectPublishing
Follow us on Twitter http://twitter.com/# !/AmazonKDP
99  ความรู้ทั่วไป / Amazon Camp / Re: จับเสือมือเปล่ากับ amazon kindle (มีคลิปการส่งหนังสือและมีตัวอย่างให้โหลด) เมื่อ: 20 กรกฎาคม 2012, 19:34:58
ขอบคุณทุกท่านมากครับ  wanwan017
100  ความรู้ทั่วไป / Amazon Camp / Re: จับเสือมือเปล่ากับ amazon kindle (มีคลิปการส่งหนังสือและมีตัวอย่างให้โหลด) เมื่อ: 20 กรกฎาคม 2012, 13:52:20
ช่วยทีนะครับ ตั้งแต่ทำมาก็เพิ่งเจออีเมลล์แบบนี้ อีกอย่างเรื่องนี้ Public ไปตั้งแต่กุมภาพันธ์แล้ว
  Lips Sealed

Hello,

Thanks for using Amazon KDP! We look forward to bringing your books to the Kindle store. Copyright is important to us – we want to make sure that no author or other copyright holder has their books claimed and sold by anyone else. For your book(s), we just need a few additional items:

The Count of Monte Cristo by Dumas, Alexandre  (AUTHOR) (ID: 2009174)

To confirm your rights to distribute the book(s) listed above, please provide any documentation or other evidence that proves you have retained rights for these book(s).

Alternatively, you may have the rights holders contact us directly with confirmation that you have retained rights.

Please send any correspondence regarding these book(s) with the title and id of the book to title-submission@amazon.com. Failure to respond to this email may prevent your book(s) from being available in the Kindle store.

Please respond within 14 days with the requested information. If you don’t respond within 14 days, your title will be blocked on your bookshelf and will not be available for sale in the Kindle Store.

To contact us about an unrelated issue, please visit: kdp.amazon.com/self-publishing/contact-us
หน้า: 1 ... 3 4 [5] 6 7 8