A fast, portable, simple, and free C/C++ IDE

Overview

Embarcadero Dev-C++

A fast, portable, simple, and free C/C++ IDE. Dev C++ has been downloaded over 67,796,885 times since 2000.

Embarcadero Dev-C++ is a new and improved fork (sponsored by Embarcadero) of Bloodshed Dev-C++ and Orwell Dev-C++. It is a full-featured Integrated Development Environment (IDE) and code editor for the C/C++ programming language. It uses Mingw port of GCC (GNU Compiler Collection) as its compiler. Embarcadero Dev-C++ can also be used in combination with Cygwin or any other GCC based compiler. Embarcadero Dev-C++ is built using the latest version of Embarcadero Delphi. Embarcadero Dev-C++ has a low memory footprint because it is a native Windows application and does not use Electron.

Download the latest release: https://github.com/Embarcadero/Dev-Cpp/releases

Main Features include:

  • TDM-GCC 9.2.0 32/64bit
  • Support GCC-based compilers
  • Integrated debugging (using GDB)
  • GPROF profiling
  • Project Manager
  • Customizable syntax highlighting editor
  • Class Browser
  • Code Completion
  • Code Insight
  • Function listing
  • AStyle code formatting support
  • GPROF Profiling support
  • Quickly create Windows, console, static libraries and DLLs
  • Support of templates for creating your own project types
  • Makefile creation
  • Edit and compile Resource files
  • Tool Manager
  • Devpak IDE extensions
  • Print support
  • Find and replace facilities
  • CVS support

Supported Operating System:

  • Windows 7
  • Windows 8.1
  • Windows 10

Dev C++ Release Notes

Version 6.3 - 30 January 2021

  • Added: Parallel compilation enabled by default for release builds through MAKE Jobs.
  • Added: 3 Buttons for setting up custom shell command line tabs.
  • Updated: Code completion and menues for dark themes.
  • Updated: CTRL-TAB editor tab selection wrapping.
  • Fixed: Make clean file deletion issue.
  • Fixed: Status bar not showing all text.
  • Fixed: Debug/CPU Window hex column issue.
  • Fixed: Closing tabs in editor side by side view.

Version 6.2 - 13 November 2020

  • Added: 5 new UI styles. Windows 10 Black Pearl, Glossy, Calypso, Flat UI Light, Material Patterns Blue
  • Added: Default encoding for new documents option.
  • Added: New setting to enable and disable font ligature support.
  • Updated: Welcome screen hotkey backgrounds.
  • Updated: Allow multiple instances of Dev-C++ to run simaltaniously.
  • Fixed: Error on AStyle Formatting Config Form
  • Fixed: Double clicking text now selects the current line.
  • Fixed: Auto Indent to {} and : now works correctly.
  • Fixed: CTRL-Y will not delete the current line if there is nothing left to redo.
  • Fixed: Buggy behaviour when highlighting matching braces.

Version 6.1 - 2 November 2020

  • Updated: C++ keyword highlighting. Added some C++20 keywords.
  • Updated: Font ligature support.
  • Updated: SVGIconImageList dependency
  • Updated: SynEdit dependency.
  • Updated: Text file loading and saving dialogs with Encodings.
  • Added: Visual Studio Dark theme.
  • Fixed: Automatic Tab widths.
  • Fixed: Launching help from directory with spaces.
  • Fixed: Welcome screen issue when canceling closing.
  • Fixed: Shortcuts Form dark styling.
  • Fixed: Crash in Issue #26.

Screenshot:

Dev C++ Screenshot

Bundled Compiler

tdm-gcc: GCC compiler, Windows-friendly. https://jmeubank.github.io/tdm-gcc/

Third Party Libraries

"Artistic Style is a source code indenter, formatter, and beautifier for the C, C++, C++/CLI, Objective‑C, C# and Java programming languages." http://astyle.sourceforge.net/

"SynEdit is a syntax highlighting edit control, not based on the Windows common controls. SynEdit is compatible with both Delphi and C++ Builder." https://github.com/TurboPack/SynEdit

"FastMM is a fast replacement memory manager for Embarcadero Delphi applications that scales well across multiple threads and CPU cores." https://github.com/pleriche/FastMM5

"VCL Styles Utils is a Delphi library which extend the RAD Studio VCL Styles." https://github.com/RRUZ/vcl-styles-utils

"DDetours is a library allowing you to hook Delphi and Windows API functions." https://github.com/MahdiSafsafi/DDetours

"Components to simplify use of SVG images (resize, fixedcolor, grayscale...). " https://github.com/EtheaDev/SVGIconImageList

"Abbrevia is a compression toolkit for Delphi and C++Builder." https://github.com/TurboPack/Abbrevia

"Monokai Theme" https://github.com/rbardini/devcpp-monokai

"Monokai Fresh Theme" https://github.com/sspathare97/devcpp-monokai_fresh

Original Dev-C++ Developers

Find out more about the original developers of Bloodshed Dev-C++:

https://www.bloodshed.net/devcpp.html

Built In Delphi

Find out more information about Embarcadero Delphi:

https://www.embarcadero.com/products/delphi

Issues
  • Unable to write to C:\Program Files (x86)\Emarcadero\Dev-Cpp\config\devcpp.ini

    Unable to write to C:\Program Files (x86)\Emarcadero\Dev-Cpp\config\devcpp.ini

    After installing the setup & opening Dev-C++ as non-admin, I get this error: error I can safely continue, however, any changes to config will not be saved once I close it. Workaround is to Run as Admin.

    opened by sitiom 12
  • The printf() function prints Chinese language garbled code

    The printf() function prints Chinese language garbled code

    When I print the Chinese language using the printf() function in the dev-cpp 2020,the printf() function prints Chinese language garbled code. How do you think this problem can be solved very well? %)UKV2WQ6%VLU4DKWA(8HPE

    bug duplicate 
    opened by myfaverate 11
  • User interface Unicode characters not displayed correctly

    User interface Unicode characters not displayed correctly

    While trying to make my own translation for Dev-Cpp, I encountered this issue with Unicode characters:

    image

    I encounter the same issue when configuring the display language to some languages that rely on Unicode characters such as Chinese or Korean.

    This issue have existed at least since Dev-Cpp 5.11.

    bug 
    opened by trungnt2910 11
  • Runtime Error 216 at 00108F9A

    Runtime Error 216 at 00108F9A

    when I try Dev-cpp v6.0, I changed the appearance "windows 10" to "windows classic" and closed the window, this error occurred .

    bug help wanted 
    opened by yanghaku 8
  • How to turn this feature off?

    How to turn this feature off?

    I don't know how to call this, but when I move to the next line, the former line's symbol like '==' would combine, which made me very mad :( . Could you please tell me how to turn this feature off? Or would it be an option in the next version? 屏幕截图 2021-02-13 223345

    opened by tangsongxiaoba 5
  • When I tried open a cpp file which full-of-chinese-comment, Dev-cpp crashed.

    When I tried open a cpp file which full-of-chinese-comment, Dev-cpp crashed.

    • English is not my native language; please excuse typing errors.
    • I've posted my question in English and Chinese. I'll be glad to translate responses, if you only use one or the other.

    I tried open a cpp program that full of chinese comments by double-click but Dev-Cpp crashed and I get 0x0014205[No mapping for the Unicode character exists in the target multi-byte code page]
    (the filename was also in chinese)
    That file is my first cpp program and it's very important to me.
    Here is the source-code which made DEV-CPP 6.2 Crashed.

    #include<iostream> // include 包含包括的意思 <iostream i = input 输入 o = output输出 stream河流> 
    #include<ctime> // 让计算机具备 输入输出的功能 
    #include<cstdlib> 
    using namespace std;   // using 使用 name 名字 space空间 std标准 
    int main() {  // int 整数类型  0123456789   main() {}  主要的  () 方法 
    
    	//for 循环 知道循环次数的情况 
    	for(int i=0;i<30;i=i+1) {
    		cout<<i<<" ";
    	} 
    
    	cout<<"hello,[DATA EXPUNGED]\n";  // cout <<"";   c++ 编程语言 output 输出  input输入  cin 
    	cout<<"猜数字游戏\n";  // 游戏名字 
    	cout<<"[DATA EXPUNGED],你今天可以在1~100之间猜一个数字:\n"; // 游戏规则 
    	int answer;  // 整数类型  答案 
    	int guess; // 猜测的数字    变量 (一个会变化的数值) 
    	// 答案要随机变化
    	srand(unsigned(time(0))); // 让电脑具备这样的能力根据当前的时间产生随机数
    	answer = rand()%100+1;  //  ()  rand 得到随机数的方法 %10 0~9 求余数  5%2=1  4%2=0  %2 0~1
    //	cout<<answer; 
    	while(1){ // 不确定猜中的次数  循环的知识 : 重复进行一个相同的动作 while循环 
    		// 1. 输入猜测的数字     {执行语句== 满足条件之后执行的动作}
    		cin>>guess;
    		//2. 判断猜测的数字跟答案之间的关系  如果猜测等于答案, 告诉我们猜中了 
    		if(guess==answer){  // == 判断左右俩边是否相等    
    			cout<<"恭喜你,猜中了\n";
    			break; // 休息,破坏,终止 
    		}
    		if(guess>answer) {
    			cout<<"猜测的大了\n";
    		}
    		if(guess<answer){
    			cout<<"猜测的小了\n";
    		}
    		
    		
    		// 3. 直到猜中为止 
    		
    	}
    	
    	return 0; 
    } 
    

    And the file name was "0课程[dt] .cpp"

    It's my first CPP program and it's quite important for me!

    I also tried open the file in DEV-CPP, I got this: Screenshop-2021/01/21 So DevCPP 6 can not display chinese?

    我试图通过双击打开一个包含大量中文注释的C++程序,但是Dev cpp崩溃了,同时我得到错误代码0x0014205 (注:文件名也是中文) 这个文件是我的第一个cpp程序,对我来说非常重要。 下面是使DEV-cpp6.2崩溃的源代码。 [省略,见英文部分] 当时的文件名为 "0课程[dt] .cpp" 我还试过直接通过Dev-cpp6.0打开,但是我得到了这个 【图片省略,见英文部分】 所以DevCPP6不能正常地显示中文?!

    opened by ChengT-cmd 5
  • Some C++ keywords not highlighted

    Some C++ keywords not highlighted

    nullptr is not highlighted for .cpp files, while it is for older Dev-Cpp versions

    image

    Some other keywords I know include static_assert and thread_local (seldomly used) are also not highlighted.

    bug 
    opened by trungnt2910 5
  • A confirm tells the source contains international characters which my source does not contain it.

    A confirm tells the source contains international characters which my source does not contain it.

    1. the first time when I compile it or save it. image
    2. if i press no. the file will be save as ANSI which is I wanted. It is going to work until I edit it and recompile or resave it. image
    3. there is a question if I can save my source with ANSI encoding without the confirm every time? thank you.
    bug 
    opened by ziwenhahaha 5
  • Buggy behaviour when highlighting matching braces

    Buggy behaviour when highlighting matching braces

    This is the same issue as #28 , though written in English.

    Background and foreground colors of brace characters change when approached by the caret, if the option "highlight matching braces/parenthesis" is ticked. When the caret leaves these characters, however, background returns to its original color, while foreground doesn't.

    Demonstrated with screenshots in #28 .

    bug good first issue help wanted 
    opened by TianyiQ 5
  • Undo in this Dev-Cpp sometimes not work correctly

    Undo in this Dev-Cpp sometimes not work correctly

    I'm use this Dev-cpp for code c++, but when i use ctrl + z to undo my recent code sometimes it's make other line of code disappear for no reason and i can't recover it !

    opened by Justinianus2001 4
  • Support for other file encodings

    Support for other file encodings

    It's been a problem lasting so far that Dev-Cpp does not support UTF-8 encoding. When I find a source code that is encoded with UTF-8, it's difficult for me to open it with Dev-Cpp. I have to convert it to other encodings. Is it possible to add more encoding support (e.g. UTF-8)? Thank you!

    Update: UTF-8 seems to have been supported, but when I opened other files in UTF-8 I couldn't find an option to reopen it with the right encoding. image

    bug duplicate 
    opened by cyp0633 4
  • Statusbar not showing Compile log and other Information!!!

    Statusbar not showing Compile log and other Information!!!

    The Statusbar does not show compile log and other information when code is compiled!!!

    • When Dev C++ is opened at first, you can see the Statusbar and can pull it up or down as is in the pictures below Here, the Statusbar is pulled down Screenshot (15)

    And here, the Statusbar is pulled up Screenshot (19)

    • When a code is compiled, all goes well and you can see the compile log from the Statusbar. The picture shows this. Screenshot (16)

    • Now when the Statusbar is pulled down and the code is compiled again, and then the Statusbar is pulled back up, the compile log and other information cannot be seen Screenshot (18)

    • Even when you close and reopen your project/code, it still does not show. Screenshot (20)

    • Surely there is a serious issue here.

    • Thank you for your quick response.

    opened by anene-ebube 1
  • Error thrown while using Package Manager

    Error thrown while using Package Manager

    The following error occured in packman.exe version : '敗捬浯eӤ￿' is not a valid integer value (at address 0x00431362)

    Please include a description of what you were doing before the error occured (please give as much precisions as possible) : This occurred while trying to use the "package Manage"r feature

    State information follows: Stack trace:

    <StackTrace© info unavailable>

    opened by Serial-wombat 0
  • Stringlist issue on multiple undos

    Stringlist issue on multiple undos

    I was trying to erase a piece of code I wrote to bring it back to a working state, and had long-pressed Ctrl + Z for the same, when all of a sudden I encountered this screen of error (attached below)

    Click here to view the screenshot

    Any clue why this happened?

    opened by Ly0kami 0
  • Getting an error message :Out of memory

    Getting an error message :Out of memory

    #include #include using namespace std; int main() { map<int,string>m; m[1]="Mahak"; m[2]="Ravindra"; m[3]="Sunita"; m.insert({4,"Chittoda"}); cout<<"before erase"<<endl; for(auto i:m) { cout<<i.first<<" "<<i.second<<endl; } cout<<"finding 14 -> "<<m.count(14)<<endl; cout<<"after erase "<<endl; m.erase(3); for(auto i:m) { cout<<i.first<<" "<<i.second<<endl;

    }
    cout<<endl;
    auto it=m.find(1);
    for(auto i=it;it!=m.end();i++)
    {
    	cout<<(*i).first<<" "<<(*i).second<<endl;
    }
    return 0;
    

    } Uploading issue.png…

    opened by Mahakchittoda 3
  • compiler issue

    compiler issue

    My compiler isn't compiling whenever i want to get input from the user (cin) but it does when i want to display output (cout). If i write the program the following programs. int age; cout<<"enter your age: \n"; cin>>age; it only prints out enter your name: with out collecting input from the user. Looking forward to hearing from you with help in relation to my problem. Thankyou

    opened by michael-ifeanyichukwu 0
  • Olá pessoal, alguém consegue arrumar esse código pra mim, pois sempre que lanço as nota  e o nome dos alunos eu precisava que ele mostrasse a média e se o aluno reprovou ou não, só que não consigo mostrar a média e também ele não carrega junto a nota de cálculo ficando zerado e dizendo que o aluno foi reprovado. Se alguém souber e poder colaborar, agradeço!

    Olá pessoal, alguém consegue arrumar esse código pra mim, pois sempre que lanço as nota e o nome dos alunos eu precisava que ele mostrasse a média e se o aluno reprovou ou não, só que não consigo mostrar a média e também ele não carrega junto a nota de cálculo ficando zerado e dizendo que o aluno foi reprovado. Se alguém souber e poder colaborar, agradeço!

    #include <stdio.h> #define DIM 4 #include<stdio.h> #include<stdlib.h> #include<locale.h>

    void cadastra_nome(char nomes[][40]){ int i = 0; do{ printf("digite o nome do aluno:"); scanf("%s", nomes[i]); i++; system("cls"); }while(i<DIM); }

    void cadastra_notas(float nota_presenca_mat[][DIM],float nota_presenca[][DIM], char nomes[][40]) { int i,j,k; for(i=1 ; i<=DIM ; i++) { // notas e preseça do aluno em calculo printf("\nCalculo aluno(a) %s:\n\n",nomes[i-1]); for(j=1 ; j<=3 ; j++) // As tres primeiras colunas da matriz são as notas a 4 a presença { do { printf("Nota %d:",j); scanf("%f",&nota_presenca_mat[i-1][j-1]);

    		if(nota_presenca_mat[i-1][j-1]<0 || nota_presenca_mat[i-1][j-1]>10)
    		{
    			printf("\n\nNota invalida, Digite um valor entre 0 a 10!\n");
    		}
    		
    		}while(nota_presenca_mat[i-1][j-1]<0 || nota_presenca_mat[i-1][j-1]>10);
    		
    	}
    	for (k=1; k<2; k++)
    	 {
    		do
    		{
    		printf("\n\nDigite a presença nas aulas de calculo: ");
    		scanf("%f", & nota_presenca[i-1][3-1]);
    		
    		if(nota_presenca[i-1][3-1]<0 || nota_presenca[i-1][3-1]>100)
    		{
    			printf("\n\nPresença invalida, digite um valor entre 0 a 100!\n");
    		}
    		
    		}while(nota_presenca[i-1][3-1]<0 || nota_presenca[i-1][3-1]>100);
    	 }
    		system("cls");
    		
    		
        // notas e preseça do aluno em computação
        printf("\nComputação aluno(a) %s:\n\n",nomes[i-1]);
    	for (j=1; j<=3; j++)
    	 {
    		do
    		{
    			printf("Nota %d:",j);
    		scanf("%f",& nota_presenca[i-1][j-1]);
    		
    		if(nota_presenca[i-1][j-1]<0 || nota_presenca[i-1][j-1]>10)
    		{
    			printf("\n\nNota invalida, Digite um valor entre 0 a 10!\n");
    		}
    		
    		}while(nota_presenca[i-1][j-1]<0 || nota_presenca[i-1][j-1]>10);
    	 }
    	 for (k=1; k<2; k++)
    	 {
    		do
    		{
    		printf("\n\nDigite a presença nas aulas de Programacao: ");
    		scanf("%f", &nota_presenca[i-1][3-1]);
    		
    		if(nota_presenca[i-1][3-1]<0 || nota_presenca[i-1][3-1]>100)
    		{
    			printf("\n\nPresença invalida, digite um valor entre 0 a 100!\n");
    		}
    		
    		}while(nota_presenca[i-1][3-1]<0 || nota_presenca[i-1][3-1]>100);
    	 }
    	 system("cls");	
    		
    }
    

    }

    void edita_notas(float nota_presenca_mat[][DIM],float nota_presenca[][DIM], char nomes[][40]) { int i,j,k, opcao_aluno, opcao_nota, opcao_materia; float leitura, novanota; for(i=1 ; i<=DIM ; i++) { for(j=1 ; j<=3; j++) // As tres primeiras colunas da matriz são as notas a 4 a presença { printf("%d Nota de Calculo do Aluno %s : %.2f \n",j, nomes[i-1], nota_presenca_mat[i-1][j-1]); } printf("Presenca do aluno %s na aula de Calculo: %f \n\n ", nomes[i-1], nota_presenca_mat[i-1][3]);

    	for(k=1 ; k<=3 ; k++) // As tres primeiras colunas da matriz são as notas a 4 a presença
    	{
    		printf("%d Nota de Programacao do Aluno %s : %f \n",k, nomes[i-1], nota_presenca[i-1][k-1]);
    	}
    		printf("Presenca do aluno %s na aula de Programacao: %f \n\n", nomes[i-1], nota_presenca[i-1][3]);
    }
    	printf("Para editar uma nota selecione o aluno: \n 1. %s \n 2. %s \n 3. %s \n 4. %s \n", nomes[1], nomes[2], nomes[3], nomes[4]);
    	scanf("%d", &opcao_aluno);
    	switch(opcao_aluno){
    		case 1:
    			printf("Digite qual materia deseja alterar: \n 1. Calculo \n 2.Programacao \n");
    			scanf("%d", &opcao_materia);
    				if(opcao_materia == 1){
    					printf("\nDigite qual nota deseja alterar. 1 ,2 ,3 ou 4 (Presenca) :  ");
    					scanf("%d", &opcao_nota);
    					printf("\nDigite a nota: ");
    					scanf("%f", &novanota);	
    					nota_presenca_mat[opcao_aluno-1][opcao_nota-1] = novanota;
    					}
    				
    				if(opcao_materia == 2){
    					printf("\nDigite qual nota deseja alterar. 1 ,2 ,3 ou 4 (Presenca) :  ");
    					scanf("%d", &opcao_nota);
    					printf("\nDigite a nota: ");
    					scanf("%f", &novanota);
    					nota_presenca[opcao_aluno- 1][opcao_nota - 1] = novanota;
    					}
    					system("cls");
    			break;
    		case 2:
    			printf("Digite qual materia deseja alterar: \n 1. Calculo \n 2.Programacao \n");
    			scanf("%d", &opcao_materia);
    				if(opcao_materia == 1){
    					printf("\nDigite qual nota deseja alterar. 1 ,2 ,3 ou 4 (Presenca) :  ");
    					scanf("%d", &opcao_nota);
    					printf("\nDigite a nota: ");
    					scanf("%f", &novanota);	
    					nota_presenca_mat[opcao_aluno- 1][opcao_nota - 1] = novanota;
    					}
    				
    				if(opcao_materia == 2){
    					printf("\nDigite qual nota deseja alterar. 1 ,2 ,3 ou 4 (Presenca) :  ");
    					scanf("%d", &opcao_nota);
    					printf("\nDigite a nota: ");
    					scanf("%f", &novanota);
    					nota_presenca[opcao_aluno- 1][opcao_nota - 1] = novanota;
    					}
    					system("cls");
    			break;
    			case 3:
    			printf("Digite qual materia deseja alterar: \n 1. Calculo \n 2.Programacao \n");
    			scanf("%d", &opcao_materia);
    				if(opcao_materia == 1){
    					printf("\nDigite qual nota deseja alterar. 1 ,2 ,3 ou 4 (Presenca) :  ");
    					scanf("%d", &opcao_nota);
    					printf("\nDigite a nota: ");
    					scanf("%f", &novanota);	
    					nota_presenca_mat[opcao_aluno- 1][opcao_nota - 1] = novanota;
    					}
    				
    				if(opcao_materia == 2){
    					printf("\nDigite qual nota deseja alterar. 1 ,2 ,3 ou 4 (Presenca) :  ");
    					scanf("%d", &opcao_nota);
    					printf("\nDigite a nota: ");
    					scanf("%f", &novanota);
    					nota_presenca[opcao_aluno- 1][opcao_nota - 1] = novanota;
    					}
    					system("cls");
    			break;
    			case 4:
    			printf("Digite qual materia deseja alterar: \n 1. Calculo \n 2.Programacao \n");
    			scanf("%d", &opcao_materia);
    				if(opcao_materia == 1){
    					printf("\nDigite qual nota deseja alterar. 1 ,2 ,3 ou 4 (Presenca) :  ");
    					scanf("%d", &opcao_nota);
    					printf("\nDigite a nota: ");
    					scanf("%f", &novanota);	
    					nota_presenca_mat[opcao_aluno- 1][opcao_nota - 1] = novanota;
    					}
    				
    				if(opcao_materia == 2){
    					printf("\nDigite qual nota deseja alterar. 1 ,2 ,3 ou 4 (Presenca) :  ");
    					scanf("%d", &opcao_nota);
    					printf("\nDigite a nota: ");
    					scanf("%f", &novanota);
    					nota_presenca[opcao_aluno- 1][opcao_nota - 1] = novanota;
    					}
    			break;
    			system("cls");
    			case 5:
    			printf("Digite qual materia deseja alterar: \n 1. Calculo \n 2.Programacao \n");
    			scanf("%d", &opcao_materia);
    				if(opcao_materia == 1){
    					printf("\nDigite qual nota deseja alterar. 1 ,2 ,3 ou 4 (Presenca) :  ");
    					scanf("%d", &opcao_nota);
    					printf("\nDigite a nota: ");
    					scanf("%f", &novanota);	
    					nota_presenca_mat[opcao_aluno- 1][opcao_nota - 1] = novanota;
    					}
    					system("cls");
    				
    				if(opcao_materia == 2){
    					printf("\nDigite qual nota deseja alterar. 1 ,2 ,3 ou 4 (Presenca) :  ");
    					scanf("%d", &opcao_nota);
    					printf("\nDigite a nota: ");
    					scanf("%f", &novanota);
    					nota_presenca[opcao_aluno- 1][opcao_nota - 1] = novanota;
    					}
    					system("cls");
    			break;
    	}	
    

    }

    void resultado(float nota_presenca_mat[][DIM],float nota_presenca_qui[][DIM], char nomes[][40]){ float soma=0, media=0; int i,j,k; for(i=1 ; i<=DIM ; i++) { for(j=1 ; j<=3 ; j++) // As tres primeiras colunas da matriz são as notas a 4 a presença { printf("\n%.2f ",nota_presenca_mat[i-1][j-1] >= 70); soma = nota_presenca_mat[i-1][j-1] + soma; } media = soma / 3; if (media >= 6 && nota_presenca_mat[i-1][3-1] >= 70){ printf("Aluno %s aprovado na materia de Calculo. \n", nomes[i-1]); } else{ printf("Aluno %s reprovado na materia de Calculo. \n", nomes[i-1]); }

    	for(k=1 ; k<=3 ; k++) // As tres primeiras colunas da matriz são as notas a 4 a presença
    	{
    		printf("\n%.2f  ",nota_presenca_qui[i-1][k-1] >= 70);
    		soma = nota_presenca_qui[i-1][k-1] + soma;
    	}
    		media = soma / 3;
    		if (media >= 6 && nota_presenca_qui[i-1][3-1] >= 70){
    			printf("Aluno %s aprovado na materia de Programacao. \n", nomes[i-1]);
    		}
    		else{
    			printf("Aluno %s reprovado na materia de Programacao. \n", nomes[i-1]);
    		}
    }
    

    }

    int menu(){ int opcao; printf("\n"); printf("\t Menu\n"); printf("\n"); printf("1. Cadastrar nome dos Alunos\n"); printf("2. Cadastrar nota e presença do alunos\n"); printf("3. Gravar em arquivo informações\n"); printf("4. Editar Nota/Presença\n"); printf("5. Mostrar Resultados\n"); printf("6. Sair \n");

    printf("\nOpcao: ");
    scanf("%d",&opcao);
    system("cls");
    return opcao;
    

    }

    int main(){ int opcao; char nomes[DIM][40]; float nota_presenca_mat[DIM][DIM], nota_presenca[DIM][DIM];

    setlocale(LC_ALL,"portuguese");
    
    do{
    	opcao = menu();
    	switch(opcao){
    		case 1:
    			cadastra_nome(nomes);
    			system("cls");
    			break;
    			
    		case 2:
    			cadastra_notas(nota_presenca_mat, nota_presenca, nomes);
    			system("cls");
    			break;
    		case 3:
    			
    			break;
    		case 4:
    			edita_notas(nota_presenca_mat, nota_presenca, nomes);
    			system("cls");
    			break;
    		
    		case 5:
    			resultado(nota_presenca_mat, nota_presenca, nomes);
    			
    			break;
    			
    		
    		case 6:
    			printf("\n Saindo ...");
    			break;
    		default:
    		printf("Opção inválida");
    		break;
    

    } }while(opcao != 6);

    }

    opened by Magnon99 1
Releases(v6.3)
Owner
Embarcadero Technologies
Leading the Way with Innovative, Heterogeneous Software Tools
Embarcadero Technologies
Skylark Edit is a customizable text/hex editor. Small, Portable, Fast.

Skylark Edit is written in C, a high performance text/hex editor. Embedded Database-client/Redis-client/Lua-engine. You can run Lua scripts and SQL files directly.

hua andy 91 Jun 27, 2022
Scintilla is a free source code editing component

Scintilla is a free source code editing component

The Lua Language distribution [Archived] 33 Jan 30, 2022
Zep is a simple embeddable editor, with a rendering agnostic design and optional Vim mode

Zep - A Mini Editor Zep is a simple embeddable editor, with a rendering agnostic design and optional Vim mode. It is built as a shared modern-cmake li

null 1 Feb 26, 2022
✏️Nx-edit is a simple code editor developed by me (nxxh) written in plain C as a small pet project 📝

✏️ nx-edit ?? Nx-edit ?? is a terminal based simple code editor developed by me uing plain C. feel free to star and or fork the repo :) (as a heads up

nxxh 2 Dec 14, 2021
C/C++ language server supporting multi-million line code base, powered by libclang. Emacs, Vim, VSCode, and others with language server protocol support. Cross references, completion, diagnostics, semantic highlighting and more

Archived cquery is no longer under development. clangd and ccls are both good replacements. cquery cquery is a highly-scalable, low-latency language s

Jacob Dufault 2.3k Jun 28, 2022
LibreSSL Portable itself. This includes the build scaffold and compatibility layer that builds portable LibreSSL from the OpenBSD source code.

LibreSSL Portable itself. This includes the build scaffold and compatibility layer that builds portable LibreSSL from the OpenBSD source code.

OpenBSD LibreSSL Portable 1.1k Jul 1, 2022
"Wireless Made Easy!" - Microchip MRF MiWi package is MiWi P2P and Star Stacks for MRF24J40 and MRF89XA transceivers running on MPLAB X IDE

MRF-MiWi "Wireless Made Easy!" - Microchip MiWi P2P and Star Stack Opened for MRF24J40 and MRF89XA transceiver running on MPLAB X IDE Devices: | MRF24

Microchip Technology 2 Dec 28, 2021
A Fingerprint Door Lock using a microprocessor named Arduino UNO and programming through Arduino IDE

INSTRUCTIONS - The codes for the Fingerprint Door lock are present in the Code For Fingerprint Door Lock folder The instructions of how to operate the

Akhil Sahukaru 15 Mar 3, 2022
A BASIC Compiler and IDE for Amiga Computers

AQB: A BASIC Compiler and IDE for Amiga Computers About Project Scope Requirements Installation Benchmark Results Source Code Command Reference Refere

Guenter Bartsch 54 Jun 21, 2022
Open Sound Control(OSC) Library for Arduino - modern IDE's (1.6.2 and above)

for Arduino firmware 1.0rc-1 tested Arduino Ethernet http://www.arduino.cc/en/Main/ArduinoBoardEthernet Installation ArdOSC folder into .. Mac ~/Do

Christopher Andrews 7 Feb 14, 2021
Tactile-Arcade-Games - Wrote a C program comprised of four separate games that run in a loop using the PSoC 5LP board and Cypress IDE.

Tactile-Arcade-Games - Wrote a C program comprised of four separate games that run in a loop using the PSoC 5LP board and Cypress IDE. Used two potentiometers, two ADCs to convert their voltages to digital values, a PWM to drive two servos, an 8x8 RGB LED matrix, 40 digital output pins and 8 power MOSFETS to control the matrix, and a character LCD display.

null 2 Dec 24, 2021
This Arduino IDE for ArduCAM ESP8266 UNO Board with Integrated ArduCAM Library and Examples

ArduCAM_ESP8266_UNO Please use josn board manager script from http://www.arducam.com/downloads/ESP8266_UNO/package_ArduCAM_index.json to download ESP8

Lee 81 Jan 8, 2022
Some sketches for the VL53L5CX ranging camera for use with the Arduino IDE

VL53L5CX Some examples for the ST's VL53L5CX 8 x 8 pixel ranging camera using Simon Levy's Arduino library and Seth Bonn's multi-byte I2C read and wri

Kris Winer 17 May 4, 2022
Growtopia Server Using Code Blocks IDE

Growtopia Server First Growtopia Private Server made with ENet by GrowtopiaNoobs. This project has been compiled with Codeblocks This project has been

GuckTube YT 10 May 9, 2022
The Quake Mod IDE

QIDE - The (Q)uake Mod (IDE) About - Getting It - Screenshots About QIDE aims to lower the barrier to entry for newcomers to QuakeC and make Quake mod

Keith Hammond 14 Jun 21, 2022
a work in progress try to make an IDE with the CSFML

EatSleepCode A work in progress for educational purpose. To help better understanding the CSFML lib. Installation clone this repo and do make Use case

Saverio 2 Jun 29, 2022
Common Lisp editor/IDE with high expansibility

Lem is the editor/IDE well-tuned for Common Lisp. After installing lem, you can start developing in Common Lisp at once. You can skip over writing tid

null 1.2k Jun 27, 2022
Framework for create a AIO module on NODEMCU using Arduino IDE

AIO MODULE Install Add library Best thing is to use the Arduino Library Manager. Go to Sketch > Include Library > Manage Libraries. Install WebSockets

AIO Robot 3 Mar 29, 2022
A lightweight & cross-platform IDE supporting the most recent C++ standards

This project has moved to https://gitlab.com/cppit/jucipp. juCi++ a lightweight, platform independent C++-IDE with support for C++11, C++14 and C++17

cppit (zippit) 889 Jun 25, 2022
Lightweight, cross-platform & full-featured shader IDE

SHADERed is a lightweight tool for writing and debugging shaders. It is easy to use, open source, cross-platform (runs on Windows, Linux & Web).

dfranx 3.5k Jun 24, 2022
Bluetooth LE Keyboard library for the ESP32 (Arduino IDE compatible)

ESP32 BLE Keyboard library This library allows you to make the ESP32 act as a Bluetooth Keyboard and control what it does. You might also be intereste

null 1.2k Jun 24, 2022
ESP-32 CAM implementation of a Bird classifier using Arduino IDE

Bird-Classifier ESP-32 CAM implementation of a Bird classifier using Arduino IDE For the file server to run, you also need to have the ESP32 SD File M

null 3 Mar 28, 2022
LibTomMath is a free open source portable number theoretic multiple-precision integer library written entirely in C.

libtommath This is the git repository for LibTomMath, a free open source portable number theoretic multiple-precision integer (MPI) library written en

libtom 520 Jun 25, 2022
Mbedcrypto - a portable, small, easy to use and fast c++14 library for cryptography.

mbedcrypto mbedcrypto is a portable, small, easy to use, feature rich and fast c++14 library for cryptography based on fantastic and clean mbedtlsnote

amir zamani 37 Jun 16, 2022
Simple and fast C library implementing a thread-safe API to manage hash-tables, linked lists, lock-free ring buffers and queues

libhl C library implementing a set of APIs to efficiently manage some basic data structures such as : hashtables, linked lists, queues, trees, ringbuf

Andrea Guzzo 383 Jul 1, 2022
a language for fast, portable data-parallel computation

Halide Halide is a programming language designed to make it easier to write high-performance image and array processing code on modern machines. Halid

Halide 5k Jun 24, 2022
Skylark Edit is a customizable text/hex editor. Small, Portable, Fast.

Skylark Edit is written in C, a high performance text/hex editor. Embedded Database-client/Redis-client/Lua-engine. You can run Lua scripts and SQL files directly.

hua andy 91 Jun 27, 2022
A small fast portable speech synthesis system

Flite is an open source small fast run-time text to speech engine. It is the latest addition to the suite of free software synthesis tools including University of Edinburgh's Festival Speech Synthesis System and Carnegie Mellon University's FestVox project, tools, scripts and documentation for building synthetic voices.

CMU Festvox Project 554 Jun 23, 2022
A FREE Windows C development course where we will learn the Win32API and reverse engineer each step utilizing IDA Free in both an x86 and x64 environment.

FREE Reverse Engineering Self-Study Course HERE Hacking Windows The book and code repo for the FREE Hacking Windows book by Kevin Thomas. FREE Book Do

Kevin Thomas 984 Jun 17, 2022