sp_angle_colon
Category: Spacing options Type: multiple (ignore add remove force) Default: ignore
Add or remove space between '>' and ':'.
raw CPP code | sp_angle_colon=ignore | sp_angle_colon=add | sp_angle_colon=remove | sp_angle_colon=force | space sp_angle_colon=force |
---|---|---|---|---|---|
/*-- this is the default sample --*/ int main(int argc, char** argv){ int n = 0; if(arg>=1){ printf("Hello %s!\n", argv[1]); n=strlen(argv[1]); }else{ puts("Hello world!"); } return n; } | /*-- this is the default sample --*/ int main(int argc, char** argv){ int n = 0; if(arg>=1){ printf("Hello %s!\n", argv[1]); n=strlen(argv[1]); }else{ puts("Hello world!"); } return n; } | /*-- this is the default sample --*/ int main(int argc, char** argv){ int n = 0; if(arg>=1){ printf("Hello %s!\n", argv[1]); n=strlen(argv[1]); }else{ puts("Hello world!"); } return n; } | /*-- this is the default sample --*/ int main(int argc, char** argv){ int n = 0; if(arg>=1){ printf("Hello %s!\n", argv[1]); n=strlen(argv[1]); }else{ puts("Hello world!"); } return n; } | /*-- this is the default sample --*/ int main(int argc, char** argv){ int n = 0; if(arg>=1){ printf("Hello %s!\n", argv[1]); n=strlen(argv[1]); }else{ puts("Hello world!"); } return n; } | /*-- this is the default sample --*/ intmain(intargc,char**argv){ intn=0; if(arg>=1){ printf("Hello %s!\n",argv[1]); n=strlen(argv[1]); }else{ puts("Hello world!"); } returnn; } |
Not the best code for this option? See how to improve the .uds file used to generate these examples.