• 0
  • مالي خلق
  • أتهاوش
  • متضايق
  • مريض
  • مستانس
  • مستغرب
  • مشتط
  • أسولف
  • مغرم
  • معصب
  • منحرج
  • آكل
  • ابكي
  • ارقص
  • اصلي
  • استهبل
  • اضحك
  • اضحك  2
  • تعجبني
  • بضبطلك
  • رايق
  • زعلان
  • عبقري
  • نايم
  • طبيعي
  • كشخة
  • النتائج 1 إلى 4 من 4

    الموضوع: كيف استعمل الكيبورد فيC++

    1. #1
      التسجيل
      05-10-2004
      المشاركات
      14
      المواضيع
      8
      شكر / اعجاب مشاركة

      Smile كيف استعمل الكيبورد فيC++

      الى الاخوه المحترمون رواد هذا المنتدى

      كيف استعمل الكيبورد في لغة c++ او الازرار عموما

      ارجوممن لديه المعرفه الاجابة على سوالي

    2. #2
      التسجيل
      16-05-2004
      الدولة
      Cairo, Egypt
      المشاركات
      141
      المواضيع
      2
      شكر / اعجاب مشاركة

      مشاركة: كيف استعمل الكيبورد فيC++

      do you need to read text or use the buttons for for something else, like gaming or moving a cursor
      for text or charcters input use "cin" and for other functions u can
      use "getche()" or "getch()".. if u need further info drop a line
      و الجهل زاد فى البتاع, لا مقرى ولا منقول...

    3. #3
      التسجيل
      05-10-2004
      المشاركات
      14
      المواضيع
      8
      شكر / اعجاب مشاركة

      مشاركة: كيف استعمل الكيبورد فيC++

      Dear Amgadpasha

      I wanted to use keys for gaming but the problem is I was not able to use getch in my program.

      May be I need to continue my studying in C++

      Thank you for your care and reply

    4. #4
      التسجيل
      23-05-2004
      الدولة
      الناصرة
      المشاركات
      244
      المواضيع
      41
      شكر / اعجاب مشاركة

      Talking مشاركة: كيف استعمل الكيبورد فيC++




      Well, Hi at first...
      I don't know C++ but I can help you with some stuff. at first if you want to asign keys for gaming (or any other program) you should call the char variabels (the keys) and then you should make a procedure(if you want to make it easier on you and less lines) and you should put the command getch() in the procedure and then a CASE or IF dicision.
      then you should put the procedure in the right place within the main function.

      Note : you should use ASCII codes to make the char varibels= keys "Like the arrows"
      If you want the whole ASCII codes ,just say it.
      التعديل الأخير تم بواسطة إسكندر ; 26-10-2004 الساعة 05:08 PM سبب آخر: sorry for some mistakes I had



    ضوابط المشاركة

    • لا تستطيع إضافة مواضيع جديدة
    • لا تستطيع الرد على المواضيع
    • لا تستطيع إرفاق ملفات
    • لا تستطيع تعديل مشاركاتك
    •