main function template
huaihuaiVV opened this issue · comments
when i use main template ,
it looks like this :
int
main(int argc, char **argv)
{
return 0;
}
i don't want int in a new line ,
i want this :
int main(int argc, char **argv)
{
return 0;
}
how to setting like this ?
Thank you !
Follow this FAQ to adjust your snippet code format.
https://github.com/drmingdrmer/xptemplate/tree/dist#adjust-format-style-of-c-functions-such-as-main
hi
it worked , but
when i set $BRfun=''
the function :
int main(.....) {
}
like this ,
i want :
int main(...)
{
}
like this .
how to do this ?
Thanks
xpt makes most snippet writing easier but not all. For some of the cases rewrite is a simpler way. In FAQ there is a short guide about redefining snippets.
发自我的 iPhone
在 2014年5月8日,0:50,wyl notifications@github.com 写道:
hi
it worked , but
when i set $BRfun=''the function :
int main(.....) {
}
like this ,
i want :int main(...)
{}
like this .
how to do this ?
Thanks
—
Reply to this email directly or view it on GitHub.