الفرق بين المراجعتين لصفحة: «برمجة سي/ما تحتاجه قبل أن تتعلم»

تم حذف المحتوى تمت إضافة المحتوى
لا ملخص تعديل
وسم: تعديل مصدر 2017
طلا ملخص تعديل
وسم: تعديل مصدر 2017
سطر 55:
 
====== محررات النصوص وبيئات التطوير المتكاملة ======
بغض النظر عن المُترجم، فإن مُتطلبات البرنامج الأخرىَ الوحيدة هي [[w:محرر نصوص|مُحرر النصوص]] لكتابة وحفظ كود اللغة سي الخاص بك. لاحظ أن مُحرر النصوص يختلف عن [[w:معالج كلمات|مُعالج الكلمات]]، وهو برنامج يحتوي على العديد من الميزات لإنشاء المستندات الجذابة بصريًا. على عكس معالجات الكلمات، تم تصميم برامج تحرير النصوص بشكل أساسي لإنشاء ملفات نصية عادية. في نظام الويندوز، يمكنك استخدام محرر النصوص [[w:المفكرة (ويندوز)|نوت-باد]]، ولكنه لا يقدم أي إمكانيات متقدمة مثل تعليم الصيغة وإكمال الأكواد البرمجية. هناك المئات من برامج تحرير النصوص (راجع [[w:قائمة محررات النصوص|قائمة محررات النصوص]]). من أشهرها [[w:نوتباد++|نوتباد++]] لنظام التشغيل ويندوز وكذلك [https://atom.io/ أتوم]، [[w:سابليم تكست| سابليم تكست]]، [[w:جي إديت|جي إديت]] و [[w:فيم (محرر نصوص)|فيم]] و [[w:إيماكس|إيماكس]] والتي يُمكنك تحميلها على أنظمة التشغيل الأخرى ("متعددة المنصات"). تأتي محررات النصوص هذه مع [[w:تعليم الصيغة|تعليم الصيغة]] وأرقام الأسطر، مما يسهل قراءة الأكواد البرمجية في لمح البصر، واكتشاف أخطاء الأكواد. يحتوي العديد من محرري النصوص على ميزات لزيادة سرعة التكويد، مثل وحدات الماكرو المحددة للمفاتيح والأكواد البرمجية الجاهزة، والتي يمكنك الاستفادة منها عندما تكتسب المهارة كمبرمج.
Aside from a compiler, the only other software requirement is a [[w:Text Editor|text editor]] for writing and saving your C code. Note that a text editor is different from a [[w:Word Processor|word processor]], a piece of software with many features for creating visually appealing documents. Unlike word processors, text editors are primarily designed to create plain text files. On Windows, the Notepad text editor can be used but it does not offer any advanced capabilities such as syntax highlighting and code completion. There are hundreds of text editors (see [[w:List of text editors|List of Text Editors]]). Among the most popular are [[w:Notepad++|Notepad++]] for Windows as well as [https://atom.io/ Atom], [[w:Sublime Text|Sublime Text]], [[w:gedit|gedit]], [[w:Vim (text editor)|Vim]] and [[w:Emacs|Emacs]] which are also available on other operating systems (“cross-platform”). These text editors come with [[w:syntax highlighting|syntax highlighting]] and line numbers, which makes code easier to read at a glance, and to spot syntax errors. Many text editors have features for increasing your coding speed, such as keystroke macros and code snippets, that you can take advantage of as you gain skill as a programmer.
 
قد تفكر أيضًا في استخدام '''بيئة تطوير متكاملة''' ('''IDE''') لمساعدتك في كتابة التعليمات البرمجية. بيئة التطوير المتكاملة عبارة عن مجموعة من الأدوات والميزات المدمجة في حزمة واحدة ملائمة، وعادة ما تكون مع واجهة مستخدم رسومية. تتضمن هذه البرامج محرر نصوص ومستعرض ملفات، كما يتم أحيانًا تجميعها مع مترجم يَسهل الوصول إليه. كما أنها تتضمن عادةً مُصحح أخطاء، وهي أداة ستمكنك من القيام بأشياء مثل الخطو خلال البرنامج الذي تقوم بتطويره يدويًا سطر كود مصدر بسطر، أو بتغيير البيانات كمساعدة في العثور على الأخطاء البرمجة وتصحيحها.
You may also be considering the use of an '''integrated Development Environment''' ('''IDE''') to help you write code. An IDE is a suite of integrated tools and features in one convenient package, usually with a graphical user interface. These programs include a text editor and file browser and are also sometimes bundled with an easily accessible compiler. They also typically include a debugger, a tool that will enable you to do such things as step through the program you develop manually one source code line at a time, or alter data as an aid to finding and correcting programming errors.
 
ومع ذلك، فإن العديد من بيئات التطوير المتكاملة لا تقدم واجهة سطر أوامر للمترجم أو تقدم فقط أزرار رسومية أو قائمة لتنفيذ البرامج. لذلك بالنسبة للمبرمجين الجدد، فإن بيئة التطوير المتكاملة ليس مثالية. بدلاً من ذلك، سيكون محرر النصوص بسيط بشكل كافي إلى جانب القدرة على إصدار أوامر بسيطة في سطر الأوامر لمساعدتك على اكتساب المعرفة العملية وفهم أدوات التطوير الأساسية. بالطبع، قد تظل بيئة التطوير المتكاملة مفيدة لك إذا كانت لديك خبرة في إحداها. ولكن كمبدأ عام: لا تستخدم بيئة التطوير المتكاملة إلا إذا كنت تعرف ما تفعله بيئة التطوير المتكاملة من أجلك!
However, many IDEs do not offer a command line interface to the compiler and/or offer only graphical buttons or a menu for executing programs. So for new programmers, an IDE is not ideal. Instead, a simple text editor will suffice along with the ability to issue simple commands on the command line to help you gain a hands-on familiarity and understanding of core development tools. Of course, an IDE may still be useful to you if you have experience with one. But as a general guideline: Do not use an IDE unless you know what the IDE is doing for you!
 
 
 
'''المترجمات المشهورة/برامج بيئة التطوير المتكاملة:'''
'''Other popular compilers/IDEs include:'''
{| style="border: 1px #aaa solid;"
! align="leftright"|Nameالأسم
! align="leftright"|Websiteالموقع
! align="leftright"|Platformالمنصة
! align="leftright"|Licenseالترخيص
! align="leftright"|Detailsالتفاصيل
|-
| [[w:Eclipse_(software)|Eclipse CDT]]