How to print the name of a variable in C. This could be quite useful.
How to print the variabkle name instead of the value in C programming.
How to print the variabkle name instead of the value in C programming.
Funny and cool Linux tips 1337 or Leet in the UNIX time. -01:44:57– gordon@deusexmachina [~]$ date +%s 1337096699-01:44:57– gordon@deusexmachina [~]$ date +%s 1337096699 The missing days in 1752. I have mentioned this before, but it is worth mentioning again. -01:45:31– gordon@deusexmachina [~]$ cal 9 1752 September 1752 Su Mo Tu We Th Fr Sa 1 … Read more
This code sample shows how we are wrapping a printf() statement onto multiple lines using backslashes. #include "stdio.h" #define hello "Hello World." int main(int argc, char* argv[]) { printf("This is a very long sentence we are handing down\n"\ "Mr smith, do you have anything to say for yourself"\ "?"); printf("%s\n", hello); … Read more