6.The EXE files created are huge. What can i do to reduce the size?
If you want to reduce your exe file size from 330 Ko to 12 Ko forexample, go to compiler options. Then click on the Linker pageand uncheck 'Generate debug information'. This willremove debugging information (if you want to debug, uncheck it).You can also click on Optimization page and check 'Bestoptimization'.

7.Under Windows NT, every time i launch Dev-C++ i get the message“Failed to set data for”
The is because you are not in Administrator mode, and Dev-C++tries to write to the registry. To get rid of the error message,log on as the Administrator, or uncheck the file associationoptions in Environment options, Misc. Sheet.

8.when I try to compile I get: ld: cannot open crt2. o: No suchfile or directory. What can i do ?
Go to Compiler options, and check if the Lib directory iscorrectly set to:
C:Dev-C++Lib
(for a default installation).

If this stilldoesn't work, try copying the file Libcrt2.o to your Dev-C++'sBin directory.

9.How can i use the OpenGL library and others ?
All the libraries that comes with Mingw reside in the Libdirectory. They are all named in the following way: lib*.a
To link a library with your project, just add in Project options,Further option files :
-lopengl32
This is for including the libopengl32.a library. To add any otherlibrary, just follow the same syntax:
Type -l (L in lowercase) plus the base name of the library(filename without 'lib' and the '.a'extension).

10.When i compile a file that contains references to Windowsfilename (like <Mydirmyfile.h>), i get a 'unrecognizedescape sequence' message ?

The Mingw compilerunderstands paths in the Unix style (/mydir/myfile.h). Tryreplacing the in the filename by /

11.Is there any GUI library or packages available for Dev-C++ ?

You can downloadextra packages for Dev-C++ at http://www.bloodshed.net/dev/

12.I am having problems using Borland specific functions such asclrscr()

Include conio.h toyour source, and add C:Dev-C++Libconio.o to 'FurtherObject Files' in Project Options (where C:Dev-C++ is whereyou installed Dev-C++)

Failed

13.The toolbars icons are showing incorrectly.

On some screenresolutions, toolbars icons may show up incorrectly. You shouldtry changing your screen resolution, or disable toolbars from theView menu in Dev-C++

14. It seems i've found a problem/bug thatis not specified here. What should i do ?

C# Execute Exe

First, you shouldtry doing a 'Check for Dev-C++ update' (in Help menu)to know if a new version has come that may correct this problem.If there are no new version or the problem wasn't fixed thenplease send an email describing the bug to : [email protected]

15.When attempting to create a setup program, i get the error'File BinSetup.exe not found'.
If you arewilling to use the Setup Creator feature of Dev-C++, you need to download and install thisfile
16.How to use assembly with Dev-C++ ?

Execute Exe Powershell

The assembler uses AT&T (notIntel). Here's an example of such a syntax :
// 2 global variables
int AdrIO ;
static char ValIO ;
void MyFunction(..........)
{
__asm('mov %dx,_AdrIO') ; // loading 16 bits register
__asm('mov %al,_ValIO') ; // loading 8 bits register
/*
Don't forget the underscore _ before each global variable names !
*/
__asm('mov %dx,%ax') ; // AX --> DX
}
P: 4
'permission denied'
'id returned 1 exit status'
im compiling with dev c++ 4.9.9.2
im using windows vista, but i have compiled and ran other programs before.
pretty simple program, some parts in french, just wondering what i have to do fix it.
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <math.h>
  4. int main()
  5. {
  6. int x= 0; // declaration des variables et leur donne une valeur de depart '0'
  7. int bande1 = 0; // declaration des variables et leur donne une valeur de depart '0'
  8. int bande2 = 0; // declaration des variables et leur donne une valeur de depart '0'
  9. int bande3 = 0; // declaration des variables et leur donne une valeur de depart '0'
  10. float vresistance = 0; // declaration des variables et leur donne une valeur de depart '0'
  11. float vresistance2 = 0; // declaration des variables et leur donne une valeur de depart '0'
  12. do{
  13. printf('n Voici le tableau des couleurs des bandes, chaque couleur est associe a un numero');
  14. printf('Si tu veut quitter le programme tape (-1) pour la valeur de n'importe bandenn');
  15. printf('0-Noir n' '1-Brun n' '2-Rouge n' '3-Orange n' '4-Jaune n' '5-Vert n' '6-Bleu n' '7-Violet n' '8-Gris n' '9-Blanc nnn');
  16. printf('Quelle est la valeur de la premiere bande de couleur n');
  17. scanf('%d',& bande1);
  18. while(bande1 > 9 && bande1 < -1){
  19. if(bande1 -1) {
  20. system('PAUSE');
  21. return(0); }
  22. else {
  23. printf('mauvaise entree , quelle est la valeur de la premiere bande de couleur n');
  24. scanf('%d',& bande1);}
  25. }
  26. printf('Quelle est la valeur de la deuxieme bande de couleur n');
  27. scanf('%d',&bande2);
  28. while(bande2 > 9 && bande2 < -1){
  29. if(bande2 -1) {
  30. system('PAUSE');
  31. return(0); }
  32. else {
  33. printf('mauvaise entree , quelle est la valeur de la deuxieme bande de couleur n');
  34. scanf('%d',& bande2);}
  35. }
  36. printf('Quelle est la valeur de la troisieme bande de couleur n');
  37. scanf('%d',&bande3);
  38. while(bande3 > 9 && bande3 < -1){
  39. if(bande3 -1) {
  40. system('PAUSE');
  41. return(0); }
  42. else {
  43. printf('mauvaise entree , quelle est la valeur de la troisieme bande de couleur n');
  44. scanf('%d',& bande3); }
  45. }
  46. vresistance = ((bande1*10)+(bande2))* pow(10,bande3);
  47. printf('%d',vresistance);
  48. if(vresistance >= 1000){
  49. vresistance2 = vresistance /1000;
  50. printf('la valeur de la resistance(kilo-ohms) est : %f n', vresistance2);
  51. }
  52. else {
  53. printf('la valeur de la resistance (ohms) est : %f n', vresistance);
  54. }
  55. }while(x 0);
  56. system('PAUSE');
  57. return 0;
  58. }