Author: S. Balaraman
I. Dev-Cpp Installation
Laptop:
0. Copy Dev-Cpp.exe to a folder.
4. Post-installation
- Line numbers: Tools | Editor Options Æ Display tab. Check ‘Line Numbers’ box
- Matching braces: Tools | Editor Options Æ General tab Æ ‘Caret’ section Æ Check
‘Highlight matching braces/parentheses. And, you are ready to go.
LAN:
0. Copy Dev-Cpp.exe to a folder on one of the computers (or a file server) on the LAN.
Share that folder, setting required permissions to allow all users to read the
contents of the folder.
1. Run setup program in one computer in the LAN. It would take ~3 minutes.
- Keep the default directory for installation: C:\Dev-Cpp
- If you install in a different directory, it's recommended that you do not have
trapped spaces in the name of the directory - like 'Dev Cpp'. So, you may just go
with the default directory.
4. Post-installation
- Line numbers: Tools | Editor Options Æ Display tab. Check ‘Line Numbers’ box
- Matching braces: Tools | Editor Options Æ General tab Æ ‘Caret’ section Æ Check
‘Highlight matching braces/parentheses
Write always int main() (a better way is int main(void))rather than main() or void
main(), because they are not good practices.
6. Data types: int (short, int, long), float, double, long double; qualifiers: signed,
unsigned
7. Use of sizeof, limits.h, float.h (INT_MIN, INT_MAX, FLT_MAX, …) to know how
many bytes in memory and what limits of values are supported in the machine with
the used compiler
8. Operators: All and their precedence (Precedence Chart and ASCII Chart are available
at ftp)
9. Control constructs: Branching (exit(0), return, abort(), goto, continue, break);
Decision-making (if, if-else, else-if, switch-case-break); Looping (while, do-while, for)
10. Arrays: 1-D, 2-D, 3D (for strings), Sorting and Searching (Max, Min, or any specific),
Matrix, Order reversal, Histogramming, String and character array