Re: [O] About indentation when the src block is under a list

2013-04-30 Thread zwz
Thanks! :) Charles Berry ccbe...@ucsd.edu writes: zwz zhangweize at gmail.com writes: Here is an example: * array ** search - example #+BEGIN_SRC c /* find score in scores ,* return the index if found or -1 */ int search(int scores[], int n, int score){ int i = 0;

[O] About indentation when the src block is under a list

2013-04-28 Thread zwz
--text follows this line-- Here is an example: * array ** search - example #+BEGIN_SRC c /* find score in scores ,* return the index if found or -1 */ int search(int scores[], int n, int score){ int i = 0; for(; in; ++i) if(scores[i]==score) return i; return -1; }

Re: [O] About indentation when the src block is under a list

2013-04-28 Thread Charles Berry
zwz zhangweize at gmail.com writes: Here is an example: * array ** search - example #+BEGIN_SRC c /* find score in scores ,* return the index if found or -1 */ int search(int scores[], int n, int score){ int i = 0; for(; in; ++i) if(scores[i]==score) return i;