Array ขนาด 3 ม ต 2 8 10 9 pantip

สมมุตินะครับ ผมอยากนำตัวเลขในตาราง มา + กัน แล้วอยากได้คำตอบเพียงคำตอบเดียว for (int i = 0; i <= 2; i++) for (int j = 0; j <= 1; j++) { anw = (number[j] [j] + 5); } ตัวอย่างประมาณนี้ครับ มัน Error ผมเลยสงสัยว่ามันทำได้ไหม หรือว่ามีวิธีอื่น

แก้ไขข้อความเมื่อ

ผมมีรายละเอียดของไฟล์ประมาณนี้

<float_array id="Cube_001-mesh-positions-array" count="2220">0.3735479 0.8294312 7.561044 0.8573105.......<float_array> <accessor source="

Cube_001-mesh-positions-array" count="740" stride="3">

<float_array id="Cube_001-mesh-normals-array" count="4236">0.2117981 0.9772065 0.01445877 0.2076596.......<float_array> <accessor source="

Cube_001-mesh-normals-array" count="1412" stride="3">

<triangles count="1420"> <input semantic="VERTEX" source="

Cube_001-mesh-vertices" offset="0"/>

<input semantic="NORMAL" source="

Cube_001-mesh-normals" offset="1"/>

<p>97 0 36 0 93 0 93 1 56 1 100 1 104 2 23 2 13 2 13 3 108 3 104 3 1 4.......</p> </triangles>

<float_array id="Armature_Cube-skin-weights-array" count="1393">1 1 1 1 1 1 1 1 1..........</float_array> <accessor source="

Armature_Cube-skin-weights-array" count="1393" stride="1">

<vertex_weights count="740"> <input semantic="JOINT" source="

Armature_Cube-skin-joints" offset="0"/>

<input semantic="WEIGHT" source="

Armature_Cube-skin-weights" offset="1"/>

<vcount>1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 ......................... </vcount> <v>3 0 3 1 3 2 3 3 3 4 3 5 3 6 3 7 3 8 3 9 3 10 3 11 3 12 3 13 3.......................<v> </vertex_weights> ในส่วนเรื่อง vertex normal texture นี่ผมไม่ปัญหาครับ เรื่องการนำมาใช้

แต่ส่วนในส่วน weight และ bone ในแท๊ก <vertex_weights> นี่แหละที่ผมงงมาก <vcount>นี่มีจำนวน 740ตัว <v>มี2786ตัว พอหาร2เหลือ 1393ตัว

ผมจะหา vertex_weight ยังไงไงให้จับคู่กับ vertexที่มี 2220 ตัว ครับ

//github.com/sisconape/openglc-/blob/master/testd.dae

1. A[12,8] of char ก าหนดให้ Loc(A[6,7]) = 1500 2. A[-4:8,10] of int ก าหนดให้ Loc(A[0,5]) = 2000 3. A[-3:6,4:10,5] of float หา Loc(A[-1,7,2]) 4. A[4,-10:-4,-8:-3]ก าหนด Loc(A[1,-5,-4]) = 2000 หา Loc(A[3,-6,-5])

* ฉูนยังไม่เข้าใจเลยนะคะ ต้องทำยังไงงะคะ

1. A[12,8] of char ก าหนดให้ Loc(A[6,7]) = 1500 2. A[-4:8,10] of int ก าหนดให้ Loc(A[0,5]) = 2000 3. A[-3:6,4:10,5] of float หา Loc(A[-1,7,2]) 4. A[4,-10:-4,-8:-3]ก าหนด Loc(A[1,-5,-4]) = 2000 หา Loc(A[3,-6,-5])

* ฉูนยังไม่เข้าใจเลยนะคะ ต้องทำยังไงงะคะ

int main() {

FILE * fp; int i=0,ans=0,rec=0,erec; char buffer[250],edit[50]; namemovies data[30];

char s, *row[5][10]= { {"a1","a2","a3","a4","a5","a6","a7","a8","a9","a10"}, {"b1","b2","b3","b4","b5","b6","b7","b8","b9","b10"}, {"c1","c2","c3","c4","c5","c6","c7","c8","c9","c10"}, {"d1","d2","d3","d4","d5","d6","d7","d8","d9","d10"}, {"e1","e2","e3","e4","e5","e6","e7","e8","e9","e10"}, }; float price=0; float sum=0; int ch,j,k; char m; int theater,count;

printf("---MOVIE--\n\n"); printf("MENU\n"); printf("1. Select Movie\n"); printf("2. Edit Movie\n"); printf("\n\nSelect Menu : "); scanf("%s",&s); printf("\n\n"); printf("--\n\n"); switch(s) { case '1' : if(fp=fopen("namem.csv","r")); do { m=getc(fp); putchar(m); } while(m !=EOF); fclose(fp);

printf("\n\nEnter Movie [1,2,3] :"); scanf("%d",&m);

printf("\n#############################################################\n\n");

do {

printf(" %s %s %s %s %s %s %s %s %s %s \n",row[0][0],row[0][1],row[0][2],row[0][3],row[0][4],row[0][5], row[0][6],row[0][7],row[0][8],row[0][9]); printf(" %s %s %s %s %s %s %s %s %s %s \n",row[1][0],row[1][1],row[1][2],row[1][3],row[1][4],row[1][5], row[1][6],row[1][7],row[1][8],row[1][9]); printf(" %s %s %s %s %s %s %s %s %s %s \n",row[2][0],row[2][1],row[2][2],row[2][3],row[2][4],row[2][5], row[2][6],row[2][7],row[2][8],row[2][9]); printf(" %s %s %s %s %s %s %s %s %s %s \n",row[3][0],row[3][1],row[3][2],row[3][3],row[3][4],row[3][5], row[3][6],row[3][7],row[3][8],row[3][9]); printf(" %s %s %s %s %s %s %s %s %s %s \n",row[4][0],row[4][1],row[4][2],row[4][3],row[4][4],row[4][5], row[4][6],row[4][7],row[4][8],row[4][9]); printf("\n\n"); printf("#############################################################\n\n");

printf("Select Seats\n\n");

printf("-select teenung---- \n");

for(j=0;j<1;j++){ for(k=0;k<1;k++) scanf("%s",&row[j][k]); } printf("\n\n"); printf("#############################################################\n\n");

for(j=0;j<1;j++){ for(k=0;k<1;k++) printf("teenung : %s ",row[j][k]); printf("\n"); }

printf("\ndo you want to select seat again ? yes[1] No[2] : "); scanf("%d",&ch); } while (ch==1);

getch();

Toplist

โพสต์ล่าสุด

แท็ก

แปลภาษาไทย ไทยแปลอังกฤษ โปรแกรม-แปล-ภาษา-อังกฤษ พร้อม-คำ-อ่าน lmyour แปลภาษา ห่อหมกฮวกไปฝากป้าmv แปลภาษาอาหรับ-ไทย แปลภาษาอังกฤษเป็นไทย pantip แอพแปลภาษาอาหรับเป็นไทย ค้นหา ประวัติ นามสกุล ห่อหมกฮวกไปฝากป้า หนังเต็มเรื่อง ไทยแปลอังกฤษ ประโยค Terjemahan เมอร์ซี่ อาร์สยาม ล่าสุด แปลภาษาจีน กรมส่งเสริมการปกครองท้องถิ่น ่้แปลภาษา Google Translate ข้อสอบคณิตศาสตร์ พร้อมเฉลย พร บ ระเบียบบริหารราชการแผ่นดิน ระเบียบกระทรวงการคลังว่าด้วยการจัดซื้อจัดจ้างและการบริหารพัสดุภาครัฐ พ.ศ. 2560 วิธีใช้มิเตอร์วัดไฟดิจิตอล สหกรณ์ออมทรัพย์กรมส่งเสริมการปกครอง ส่วนท้องถิ่น ห่อหมกฮวก แปลว่า Bahasa Thailand Thailand translate mu-x มือสอง รถบ้าน การวัดกระแสไฟฟ้า ด้วย แอมมิเตอร์ การ์ดแคปเตอร์ซากุระ ภาค 4 ก่อนจะนิ่งก็ต้องกลิ้งมาก่อน เนื้อเพลง ก่อนจะนิ่งก็ต้องกลิ้งมาก่อน แคปชั่น พจนานุกรมศัพท์ทหาร ภูมิอากาศ มีอะไรบ้าง สถาบันพัฒนาบุคลากรท้องถิ่น อาจารย์ ตจต อเวนเจอร์ส ทั้งหมด เขียน อาหรับ แปลไทย ใบรับรอง กรมพัฒนาฝีมือแรงงาน Google map Spirited Away 2 spirited away ดูได้ที่ไหน tor คือ จัดซื้อจัดจ้าง กินยาคุมกี่วัน ถึง ปล่อยในได้ ธาตุทองซาวด์เนื้อเพลง บช.สอท.ตำรวจไซเบอร์ ล่าสุด บบบย มิติวิญญาณมหัศจรรย์ ตอนจบ รหัสจังหวัด อําเภอ ตําบล ศัพท์ทางทหาร military words สอบ O หยน