void func(){ int myvar=func2(); do{ func3(); func4(); }while((myvar=func2())!=0);}
"Stop trying to hit me and hit me!"
void func(){ int myvar=func2(); do{ func3(); func4(); }while((myvar=func2())!=0);}
quote:Original post by davepermen
the best idea of phyton is, that style is grammar. there is just one way.
def foo( bar ) doSomething doSomethingElsefoo( baz )
quote:Well, importing into Visual C++ and auto-formatting works well.
quote:The difficulty of finding a good prettyprinter is indicative of the difficulties inherent in parsing arbitrary block-structured languages, IMO. Which is why they should die, among other things.
quote:Original post by sBibiint main(int argc,char** argv) {int i, j; char *asd; for(i=0;i<5; i++) { for ( j = -1; j >-10 ; j++ ) if (!(asd= do_stuff (argc,argv ,asd))) return(-1); printf("%s\n" ,asd);}return 0;}
quote:
In a ''C writing style'' topic, why are people suggesting ''Just use Python''?
Just swan dive into some molten lava -- OK problem solved -- no more C writing style issues. This is my advice.