| Home | Teaching | Research | Resources | Personal |
กก
creating PDF files CutePDF Writer
(*remainder_pos)++; <=====> *remainder_pos = *remainder_pos+1;
-------------------------------------------------------------------------------------------
related to images in LaTex
http://amath.colorado.edu/documentation/LaTeX/reference/figures.html
----------------------------------------------------------------------------------------------
Remove the ^M characters from a Document
vi the file and white in command mode type in:
:%s/[ctrl+v][ctrl+m]//g
hitting the ctrl+v makes the carrot and ctrl+m specifies the letter "m"
basically searches and replaces all ^M with nothing
--------------------------------------------------------------------------------------------------------------------------------------------------
there are three compiler flags:
-ansi This flag tells the compiler to enforce ANSI C standards
-pedantic More pedantic ansi, warnings for stuff you probably
didn't mean.
-Wall Show all reasonable warnings (there are more).
So, you should make sure that it is running as a standard C compiler and not a
GNU C compiler.
* gcc -ansi -pedantic makes it run as a standard C compiler
* gcc -ansi -pedantic -Wall makes it run as a standard C compiler and check for
several types of errors
------------------------------------------------------------------------------------------------------------