C is a general-purpose programming language used for system programming (OS and embedded), libraries, games and cross-platform.
int main() { char *x = "HelloWorld"; char y[] = "HelloWorld"; x[0] = 'Z'; //y[0] = 'M'; return 0; } In the above program, HelloWorld will be …
c gcc string-literals function-parameterIt looks quite easy to find such a tool for Java (Checkstyle, JCSC), but I can't seem to find one …
c++ c coding-styleI usually pass macro definitions from "make command line" to a "makefile" using the option : -Dname=value. The definition is …
c macros makefileI learned that memset(ptr, 0, nbytes) is really fast, but is there a faster way (at least on x86)? I …
c libcComing from a C and C++ background, I found judicious use of typedef to be incredibly helpful. Do you know …
java c++ c design-patterns typedefHow can I execute a.exe using the Cygwin shell? I created a C file in Eclipse on Windows and …
c gcc cygwin