Due to server problems the website is temporarily offline! Visit http://www.smorgasbordet.com/pellesc/ to download Pelles C.
#define MyMacro(x) "x"// example:// in the source file i will write:a = MyMacro(abc);//and the compiler will translate this to:a = "abc"
#include <stdio.h>#define TEST(x) "\""#x"\""int main(int argc, char **argv){ printf(TEST(Hello)); return 0;}