Results 1 to 2 of 2

Thread: kdevelop ใช้ยังไงครับ

  1. #1
    Junior Member
    Join Date
    Jul 2008
    Posts
    1


    ขอถามผู้รู้หน่อยครับ

    ่ด่วนมากเลยครับ จะเขียนภาษา c แต่ก่อนใช้ gcc แต่ใช้คำสั้ง gets ไม่ได้เลยจะเปลี่ยนมาใช้ kdevelop แต่คอมไพร์ไม่เป็นครับใครรู้วิธีการบอกทีครับ หรือไม่ก็แนะนำโปรแกรมเขียนภาษา c บนลีนุกหน่อยครับ ช่วยทีนะครับจะเป็นพระคุณอย่างสูง

  2. #2


    ขอถามผู้รู้หน่อยครับ

    ่ด่ วนมากเลยครับ จะเขียนภาษา c แต่ก่อนใช้ gcc แต่ใช้คำสั้ง gets ไม่ได้เลยจะเปลี่ยนมาใช้ kdevelop แต่คอมไพร์ไม่เป็นครับใครรู้วิธีการบอกทีครับ หรือไม่ก็แนะนำโปรแกรมเขียนภาษา c บนลีนุกหน่อยครับ ช่วยทีนะครับจะเป็นพระคุณอย่างสูง [/b]
    พูดตรงๆ นะครับ ผมว่าคุณแก้ปัญหาไม่ถูกจุด แค่ไม่มี function เพียงแค่ function เดียว ถึงกับเปลี่ยน compiler ผมว่ามันเหมือนขี่ช้างจับตั๊กแตนนะ อีกทั้ง gcc ก็เป็นสิ่งที่คุณใช้มาก่อน ดังนั้นผมว่าใช้ gcc เหมือนเดิมอะดีแล้ว ใช้อะไรที่เราถนัดเป็นดีที่สุดครับ kdevelop เองก็ใช่ว่าจะไม่มีข้อเสียซักหน่อย ส่วนวิธีแก้ ผมว่าจริงๆ มันก็ไม่ยากเลย

    The gets() function is equivalent to fgets() with an infinite size and a
    stream of stdin, except that the newline character (if any) is not stored
    in the string. It is the caller's responsibility to ensure that the in-
    put line, if any, is sufficiently short to fit in the string.

    [/b]
    ส่วนวิธีแก้ก็ลองศึกษาจาก http://bytes.com/forum/thread519267.html ดูครับ

Similar Threads

  1. Replies: 4
    Last Post: 22-06-2006, 11:52 PM

Members who have read this thread : 0

Actions : (View-Readers)

There are no names to display.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •