Objective-C: Program Looping

The for statement
The while statement
The do-while statement

Continue reading “Objective-C: Program Looping” »

Objective-C: DataType and Expressions

Standart Types

Type Description Size
int An integer (whole numbers), e.g. 1, 2, 9, 1000 4 bytes (32 bits)
float Floating point number, e.g. 1.2, 1.7, 5.8 4 bytes (32 bits)
char A character of the local character set 1 byte (8 bits)

Continue reading “Objective-C: DataType and Expressions” »

มารู้จักพลาสติกกันดีกว่า

พลาสติกในชีวิตประจำวัน โดย นายไพศาล นาคพิพัฒน์

พลาสติกที่พบเห็นได้ทั่วไปในชีวิตประจำวันแบ่งออกเป็นชนิดต่างๆ  ดังนี้

หัวข้อ

  • พอลิเอทิลีน (Polyethylene : PE)
  • พอลิโพรไพลีน (Polypropylene : PP)
  • พอลิไวนิลคลอไรด์ (Polyvinylchloride : PVC)
  • พอลิไวนิลแอซีเตต (Polyvinyacetate : PVA)
  • พอลิสไตรีน (Polystyrene: PS)
  • พอลิอะคริเลต (Polyacrylate)
  • พอลิคาร์บอเนต (Polycarbonate)
  • ไนลอน (Nylon)
  • พอลิเททระฟลูออโรเอทิลีน (Polytetrafluoroethylene : PTFE)
  • ฟีนอลฟอร์มาลดีไฮด์ (Phenol Formaldehyde : Bakelite)
  • เมลามีนฟอร์มาลดีไฮด์ (Melamine Formaldehyde)

Continue reading “มารู้จักพลาสติกกันดีกว่า” »

Objective-C: Classes, Objects and Methodes

จากครั้งที่แล้วที่เริ่มต้นการใช้ xcode สำหรับการเขียน Objective C กันมาแล้ว ต่อไปจะเริ่มต้นทำความรู้จักกับ Class, Object แล้ Method เนื่องจาก Objective C เป็นภาษาในเชิงวัตถุ เราก็ต้องมาศึกษาการเขียน Object กันหน่อย
จากตัวอย่างนี้เป็นเขียนโปรแกมคำนวนหาเศษส่วน(Fraction) โดยที ตั่วตั่ง (Numerator) และ ตัวหาร (Denominator)
Continue reading “Objective-C: Classes, Objects and Methodes” »

How Do I Uninstall NetBeans in Mac OS X?

Drag-and-drop to trash all the folders NetBeans 6.x.app, glassfish-v2.x (if installed) , glassfish-v3 (if installed), sges-v3 (if installed), apache-tomcat-x (if installed) Delete ~/.netbeans/6.x if you don`t want to save your NetBeans settings or if your IDE behaves strangely. To clear the history of the installed software on Mac OS 10.6 Snow Leopard delete [...]