Windows programming dev c

Windows programming dev c

DEV-C++ 5.11 LATEST

Windows XP / Vista / Windows 7 / Windows 8 / Windows 10

Dev-Cpp 5.11 TDM-GCC 4.9.2 Setup.exe

DEV-C++ 2021 full offline installer setup for PC 32bit/64bit

DEV-C++ is a fully-featured integrated development environment (IDE) for creating, debugging, and creating applications written in a popular C++ programming language. Even though tools for the development of C++ software have undergone countless upgrades over the years, a large number of developers located all around the world have expressed a wish to continue using DEV-C++. This IDE platform has proven itself as highly reliable and intuitive, giving developers access to all of their necessary tools, in-depth debugging, and most importantly, a stable error-free environment for the development of apps of all sizes – from small school tasks to large business projects intended for both internal and public use.

The app is an open-source IDE environment, offering software solutions and the necessary tools for C++ app development. However, be aware that its toolset is focused more on novices and basic programming, and that open source community has not updated its toolset for a considerable time. Still, what is present in its latest version represents a highly-capable C++ IDE that could be used for years without encountering any issue.

If you are a novice, are a student who wants to create C++ project in a stable and easy to use software environment, or even if you are a seasoned programmer who wants to access C++ programming inside small IDE that will not strain your computer resources, DEV-C++ represents a perfect choice. It has all the required tools and feature sets for creating small to mid-sized apps.

It runs on all modern versions of Windows and can be used without any restrictions for free. It was originally developed as an open-source fork of the Bloodshed Dev-C++ IDE.

Installation and Use

Even though DEV-C++ is filled with advanced compiler, debugger, and a wide array of dev tools, it’s installation package is quite small (only around 50 MB) and therefore can be easily installed on any modern Windows PC or laptop. Just follow the onscreen instructions, and in mere seconds DEV C plus plus will be ready for running. Other more developed modern IDE environments, on the other hand, require much more storage space, and their installation can run for minutes.

Once up and running, you will be welcomed in a user-friendly interface that can be additionally customized to better fit your needs. The main window of the app follows the basic structure of many other modern IDE environments, with a top row of dropdown menus and buttons that are shortcuts to its many built-in tools, a large vertical three-tabbed area for managing Projects, Classes and Debug listings, and of course, the main project area (with support for tabs) where you can start programming your apps. Both the app and the current project can be customized extensively. App Options window features tabs for Genera, Fonts, Colors, Code Insertion, Class Browsing, and Autosave customizations. Environment Options feature tabs for General, Directories, External Programs, File Associations, and CVS support customization.

Features and Highlights

  • Fully-featured IDE for developing C++ apps.
  • User-friendly interface with many tools for managing project development.
  • Resource-light and unobtrusive feature set.
  • Focused on novices and mid-level programmers who want stability and reliability.
  • Powerful compiler and debugger.
  • Compatible with all the modern versions of Windows OS

Быстрый старт — скачиваем Dev-C++ и запускаем 1 урок.

Одной фразой: Запускать после распаковки нужно exe-файл devcppPortable

Почти тоже самое. Только язык Си без С++ на видео ниже.

А теперь тоже самое, но более подробно.
Я создал папку «a_1a» на диске C:\ и поместил туда сохранённый архив, как показано на рисунке ниже.

Читайте также:  Очистка кэша windows phone

Если архив успешно распакован, то выбираем в появившейся папке файл devcppPortable и запускаем его ( смотрите рисунок ниже. )
( версия portable не требует инсталляции )

После запуска среды разработки Dev-C++ 5.2.0.1 загрузим в неё наш проект с уроками.

Если Вы, как и я, создали папку «a_1a» на диске C:/
То ищем наш проект по такому пути: C:\a_1a\Dev-Cpp\Examples\WinAPI_21
.. и выбираем файл проекта x1.dev

После загрузки проекта, выбираем вкладку main.h ( показана красной стрелкой ) и всё !
Мы видим текст первого урока » Hello, world ! «.

Для запуска урока нам требуется скомпилировать проект ( кнопка № 1) и запустить программу ( кнопка № 2 на рисунке ).
Если Вы увидели после запуска такую картинку (показана ниже), значит всё сделано правильно.

ЧаВо = Часто задаваемые Вопросы

по интегрированой среде Dev-C++

Список вопросов

Как настроить русский язык в консольных программах?

В консольных приложениях (похожих на текстовый режим) русские буквы выводятся к кодировке CP-866, а в оболочке Dev-C++ они набираются в кодировке CP-1251. Это значит, что вместо русских букв вы увидите «кракозябры». Чтобы этого не случилось, кодировку нужно исправить с помощью простой дополнительной программы. Сделайте следующее:

  1. Запустите оболочку Dev-C++ и войдите в меню Сервис-Параметры компилятора.
  2. Перейдите на вкладку Компилятор и добавьте два параметра
    -fexec-charset=cp866 -finput-charset=cp1251
    как показано на рисунке (см. источник).

  1. Скачайте архив, содержащий программы gccrus.exe и g++rus.exe (193 Кб).
  2. Скопируйте программы gccrus.exe и g++rus.exe в папку C:\Dev-Cpp\bin (если при установке оболочки вы указали другой каталог вместо стандартного C:\Dev-Cpp, скопируйте программы в его подкаталог bin).
  3. Запустите оболочку Dev-C++ и войдите в меню Сервис-Параметры компилятора.
  4. Перейдите на вкладку Программа и исправьте названия двух первых программ так, как показано на рисунке.

Примечание от Ю. Проценко: Если программа при запуске не обнаруживает библиотеки libintl-8.dll и libiconv-2.dll, их нужно поместить в каталог C:\WINDOWS\SYSTEM32.

Как писать простые графические программы?

Для работы с графикой через браузер можно использовать онлайн-сервис Антона Деникина.

Для того чтобы на локальном компьютере подключить модуль для работы с графикой, сделайте следуюшее:

  1. Скачайте архив, содержащий файлы graphics.h (заголовочный файл) и libbgi.a (библиотека). Размер архива 53 Кб.
  2. Скопируйте файл graphics.h в папку C:\Dev-Cpp\include.
  3. Скопируйте файл libbgi.a в папку C:\Dev-Cpp\lib.
  4. Запустите оболочку Dev-C++ и войдите в меню Сервис-Параметры компилятора.
  5. Перейдите на вкладку Компилятор, включите флажок Добавить эти команды к командной строке компоновщика и добавьте в окно под этим флажком строчку

-lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32

Чтобы выводить русский текст в графическом режиме, в окне Сервис-Параметры компилятора на вкладке Программы нужно установить программы по умолчанию gcc.exe и g++.exe:

После выполнения этих действий вы можете использовать команды для рисования графических примитивов (отрезков, прямоугольников, окружностей и т.д.), так же, как раньше в Turbo C и Borland C++. Полное описание команд (на английском языке) можно найти на странице Михаэля Майна.

Вот так выглядит простейшая программа, которая выводит на экран отрезок из точки (0,0) (это левый верхний угол окна) в точку (50,50) и ждет нажатия на любую клавишу:

Программы, работающие с графикой в таком режиме, должны обрабатываться компилятором языка C++, для этого проще всего сделать у них расширение имени файла *.cpp.
В программах, которые не работают с графикой, флажок Добавить эти команды к командной строке компоновщика нужно отключать, иначе при завершении программы будет появляться сообщение об ошибке.

Как работать с графикой в Windows 8/10?

Спасибо П.Ф. Муль, который прислал ссылку на эту инструкцию.

Проблема состоит в том, что устаревшая версия Bloodshed Dev-C++ 4.9.9.2 не работает в операционных системах Windows 8/10.

Полная инструкция по установке современной версии Dev-C++ и подключению модуля работы с графикой пожно посмотреть на видео How to Make Graphics in Dev C++ on Windows 10.

Для того, чтобы подключить модуль для работы с графикой в Windows 8/10, сделайте следуюшее:

  1. Скачайте последнюю версию Dev-C++.
  2. Скачайте архив, содержащий файлы graphics.h, winbgim.h (заголовочные файл) и libbgi.a (библиотека). Размер архива 28 Кб.
    Далее предполагается, %Dev-Cpp% — это папка, в которой установлена среда Dev-C++ (например, C:\Program Files (x86)\Dev-Cpp).
  3. Скопируйте файл graphics.h в папку %Dev-Cpp%\MinGW64\x86_64-w64-mingw32\include.
  4. Скопируйте файл libbgi.a в папку %Dev-Cpp%\MinGW64\x86_64-w64-mingw32\lib.
  5. Запустите оболочку Dev-C++ и войдите в меню Сервис-Параметры компилятора.
  6. Перейдите на вкладку Компилятор. Переключитесь на 32-битный компилятор (32-bit Release). Включите флажок Добавить эти команды к командной строке компоновщика и добавьте в окно под этим флажком строчку

-lbgi -lgdi32 -luser32

Чтобы выводить русский текст в графическом режиме, в окне Сервис-Параметры компилятора на вкладке Программы нужно установить программы по умолчанию gcc.exe и g++.exe:

Ещё одна инструкция по подключению простой графики от А. Ковалёва:

    Сразу после установки Dev-C++ 5.11 при запуске программы появляется окно с сообщением о недоступности папки lib32:

The following library directories don't exist:
C:\Program Files\Dev-Cpp\MinGW64\lib32

Чтобы убрать эту ошибку, нужно скопировать папку lib32 на один уровень
вверх, в папку . \Dev-Cpp\MinGW64.
Файл graphics.h нужно скопировать в две папки:

Библиотеку libbgi.a нужно скопировать в четыре папки:

. \Dev-Cpp\MinGW64\lib
. \Dev-Cpp\MinGW64\lib32 (это ранее сделанная копия)
. \Dev-Cpp\MinGW64\x86_64-w64-mingw32\lib
. \Dev-Cpp\MinGW64\x86_64-w64-mingw32\lib32

  • Выбрать 32-битный компилятор TDM-GCC 4.9.2 32bit Release.
  • В параметрах компилятора к командной строке компоновщика добавляется строка

    -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32

    Windows programming dev c

    C++ is the most powerful (and popular) programming language. It is the base of different operating systems and popular software. Present time is the era of technology. Much new advancement is being made every day that are creating new possibilities. The developers in the IT sector are also coming up with new programming languages that are much more advanced and efficient than the previous ones. To be in the race, people should have knowledge about all the recent technologies that are being used now days. For keeping themselves updated, they are also learning new languages.

    If you want to write a program in any language, then the first thing you need is a platform where you can write and execute the code. An IDE is an environment that has features which support the writing of a language, runs it and produces the desired result. They are different for different languages like DEV-C++ if you want to write programs in C++.

    There are so many IDEs available on the internet for a particular language. Selecting the best one is important as it makes things easier. It should be simple and should have tools and resources so that even a new learner can work on it easily. DEV-C++ can be downloaded from the internet and used for C and C++ language coding.

    DEV-C++ is licensed as freeware for PC or laptop with Windows 32 bit and 64 bit operating system. It is in c / c# / c++ category and is available to all software users as a free download.

    Dev-C++ for Windows

    Softonic review

    Free Open-Source IDE for Windows

    Dev-C++ is a free integrated development program for Windows that helps reduce the manual work required when programming. Dev-C++ comes with a wide range of features such as an integrated debugger, class browser, automatic code completion, function listing, profiling support, customizable code editor, project manager, and pre-made templates for various projects, tools manager, and more.

    A free IDE to write and compile in C/C++

    Dev-C++ is a Windows-friendly Integrated Development Environment (IDE) that lets software developers write, edit and compile code in one place for both C and C++ programming languages. C++ is an extension of C and is often used to develop computer operating systems, computer games, and web browsers.

    The software is free (under a GNU General Public Licence) for distribution and modifiable.

    Because Dev-C++ is a native Windows app and only uses a small amount of memory, it won’t cause your computer to slow down. It uses the MinGW compiler to create C and C++ applications and could work in conjunction with other compilers that are GCC-based, such as Cygwin.

    What features does Dev-C++ offer?

    Dev-C++ lets you create, edit, and execute programs in C languages. It also comes with useful features that help increase your efficiency when coding.

    DevPaks are an extensive collection of add-on libraries for Dev-C++. They can include services and utilities for the GUI and also provide useful toolboxes like FLTK, wxWidgets, and GTK+. Installing DevPaks is an easy task as each package consists of a setup program resulting in a simple installation process.

    The integrated debugger (using GDB) lets you check each line of code for errors and conflicts and fix or remove bugs. When your project is complete, you can create an EXE record to share and distribute.

    Similar to other IDEs like Microsoft Visual Studio and IntelliJ Idea, Dev-C++ provides an autocomplete feature to help speed up your coding. It’s a nice feature for beginners as it can help you with your syntax by reducing the number of typos and other common errors made. Plus, it removes the need to remember each function.

    For more advanced users, it saves time by not having to write out each line of code fully so you can focus more on your project.

    Another feature is the syntax highlighter. It makes reading the source code more manageable. Giving a unique color to each keyword, variable, constant, and other items increases the overall readability of the code, so you can internalize the program’s semantics.

    Other features include a project management tool to manage multiple projects at once, built-in find and replace functionality, profiling support, CVS support, Makefile generation. Dev-C++ is available in more than 30 languages.

    Is Dev-C++ available for Mac?

    Dev-C++ for mac is not available at this time, but there are alternatives you can use:

    • XCode lets you develop apps for Apple Watch, Apple TV, iPhone, iPad, and Mac
    • Eclipse and Code::Blocks are also compatible with macOS

    How do I install Dev-C++?

    To install Dev-C++, you can follow these steps:

    • First, download the program and then open the installer
    • Choose your language from the dropdown menu
    • Read and click ‘I Agree’ to the license agreement text
    • Now choose which components you want to install. Specific components such as the Dev-C++ program file are required while others, like the language files, are optional
    • Next, you’ll be prompted to select a destination folder to install the Dev-C++ files and libraries. Click Install if you’re ok with the shown destination folder to begin the installation progress or choose another location
    • Once the installation is finished, you can launch the Dev-C++ IDE

    How do you debug C++?

    Using the debugger in Dev-C++ is relatively simple. You will find all of the essential debugging functions in the ‘Debug’ tab at the program window’s bottom. If you need to access more advanced functions, you can access them by clicking on ‘Debug’ in the main menu.

    To use the debugger, you click on the ‘Debug’ tab and then the ‘Run to cursor’ icon. Doing so will cause your program to run where the code cursor is currently pointing. Clicking ‘Next step’ will cause the debugger to step through the code.

    You can monitor variables by clicking on ‘Add Watch’ and add individual breakpoints by clicking in the black space, which is adjacent to the line in the source code.

    Does Dev-C++ support Python?

    Yes, Dev-C++ supports Python. You will need to download and install the Python Development Pak. To ensure that your Dev-C++ IDE locates the correct file path, clicking on tools > compiler options > directories > c includes c and c++ includes has the correct path to where your Python.h is located.

    What are the alternatives?

    Dev-C++ does a good job of providing an all-in-one programming environment. But it’s not the only free IDE available to download. Microsoft Visual Studio is one of the most popular alternatives with a basic free option and a paid version with even more features and tools.

    Code::Blocks is another alternative that you could try. Unlike Dev-C++, Code::Blocks works on Apple computers (macOS) and has plugin functionality, making it easy to add features and tools.

    A lightweight IDE for Windows

    Dev-C++ is a lightweight IDE with a decent set of tools. Because it’s a native Windows application, it only requires a small number of computer resources. Dev-C++ is a good IDE for beginners due to its streamlined initial setup, simple user interface, and all-in-one platform for writing, editing, debugging, and compiling code.

    If, however, you’re looking for a more advanced IDE or one that’s more suitable for experienced programmers, then you should check out Visual Studio, Atom IDE, or Code::Blocks.

    Author’s review

    Bloodshed Dev-C++ is a full-featured programming environment and compiler for creating software in C++. Included in the Dev-C++ environment are all of the standard features necessary for writing, compiling, debugging, and executing programs written in C.

    Strictly for the hard-core C++ programmer, Dev-C++ allows you to compose all of your source code without many of the hand-holding features and expenses included in many of the available programming environments.

    Читайте также:  Не могу поставить windows через bios
  • Оцените статью