Difference between revisions of "General computing resources"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
===C++=== | ===C++=== | ||
* http://www.learncpp.com/ | * http://www.learncpp.com/ | ||
Line 33: | Line 21: | ||
* [http://cb.vu/unixtoolbox.xhtml UNIX toolbox] | * [http://cb.vu/unixtoolbox.xhtml UNIX toolbox] | ||
* [http://devo.ps/blog/2013/03/06/troubleshooting-5minutes-on-a-yet-unknown-box.html First 5 Minutes Troubleshooting A Server] | * [http://devo.ps/blog/2013/03/06/troubleshooting-5minutes-on-a-yet-unknown-box.html First 5 Minutes Troubleshooting A Server] | ||
+ | |||
+ | ==== gcc/g++/gfortran compiler flags ==== | ||
+ | Here are some useful flags to use when developing a code, or trying to find why code crashes: | ||
+ | |||
+ | <pre>-Wall -Wextra -Wconversion -pedantic -ffpe-trap=zero,overflow,underflow,invalid | ||
+ | -ffree-line-length-none -finit-local-zero -fbounds-check -fcheck-array-temporaries</pre> | ||
+ | |||
+ | Use man gcc to find details about each. | ||
+ | |||
+ | I often remove "underflow" from the list, since it just makes small floating point numbers to zero, but it is useful to know. |
Revision as of 18:29, 12 September 2013
C++
- http://www.learncpp.com/
- http://www.cplusplus.com/
- Introduction to C++: A video guided tutorial
- MIT OpenCourseWare Intro to C & C++
Fortran
Python
- http://www.codecademy.com/tracks/python
- http://www.learnpython.org/
- http://learnpythonthehardway.org/
- http://inventwithpython.com
Other
- Working as a Software Developer - useful read if you touch any code
- A Guide to Midnight Commander
- UNIX toolbox
- First 5 Minutes Troubleshooting A Server
gcc/g++/gfortran compiler flags
Here are some useful flags to use when developing a code, or trying to find why code crashes:
-Wall -Wextra -Wconversion -pedantic -ffpe-trap=zero,overflow,underflow,invalid -ffree-line-length-none -finit-local-zero -fbounds-check -fcheck-array-temporaries
Use man gcc to find details about each.
I often remove "underflow" from the list, since it just makes small floating point numbers to zero, but it is useful to know.