Notes![what is notes.io? What is notes.io?](/theme/images/whatisnotesio.png)
![]() ![]() Notes - notes.io |
////////////////////////////////////////////////////////////////////////////
تحريك سهم الطباعة او الادخل فى اى مكان
void gotoxy(int x, int y)
{
COORD coord;
coord.X = x;
coord.Y = y;
SetConsoleCursorPosition(GetStdHandle(STD_OUTPUT_HANDLE), coord);
}
//////////////////////////////////////////////////////////////////
سطر التلوين ملحوظة :: سطر التلوين بيغير كل حاجة هتطلع بنفس اللون كل لما اكتبوا رجع اللون زى مكان
الفنكشن بتاخد 2 فاريبل من0 ل 15 اللى هى الالوان اول واحد بتخلى اللون زى والتانى بترجع للون ده
void color (string word ,int x ,int y )
}
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),x);
cout<<word<<endl;
SetConsoleTextAttribute(GetStdHandle(STD_OUTPUT_HANDLE),y);}
////////////////////////////////////////////////////////////////////////
تعرف ازاى الحرف اللى داخلك
GetAsyncKeyState(Key)
key يبتحط هنا اسم المفتاح
GetAsyncKeyState(VK_DOWN)
مثلا كده سهم لتلحت
اسامى المفاتيح كلها
https://msdn.microsoft.com/en-us/library/windows/desktop/dd375731(v=vs.85).aspx
هتلاقيهم ع الرابط اى مفتاح عاوزوا حطوا مكان كلمة
key
////////////////////////////////////////////////////////////////////////////////
طبعا لا غنى عن كلمة
sleep();
دى بتبطئ الكونسل بتايم انتا بتعتهولها
يعنى
sleep(200);
هيبطء البرنامج لمدة 200 ملى ثانسة يعنى 2 ثانية
ليها كذا استخدم بعد زى باستخدمها بعد زازر اللى هيقولى هوا داخل ايه عشا نالكمبيوتر بيعمل عمليات كتيرة
انا عاوز اما يدوس تحت يشوفها مرة واحد فبخليها تحت الفنكشن ع طول عشان يقرا اللى هوا داس تحت مدسش كتيير
اما بعمل جرافيك مثلا وعاوز الاوت بت يخج متأخر شوية يعنى بشكل استعرض زى ال
power point
/////////////////////////////////////////////////////////////////////////////
Beep(,)
ودى بتعمل صوت
بديها حاجتين تردد الموجة وشدتها مثلا
Beep(500,500)
////////////////////////////////////////////////////////////////////////////////////
system("cls")
هتمسح كل اللى ع الكونسل ودى حلوة اوى وهتفيدنا كتيييييييير
system("pause")
اى حاجة هتخرج وعاوزين نثبتها عشان نختار منها
برضو هنستخدمها كتييييييييييييييييييير
//////////////////////////////////
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team