Skip to main content

  | मौसम…

411 समाचार
Public archive edition · Attributed source reporting with original dates · AI drafts are excluded

411 REFERENCE · Wikibooks

Linear Algebra and the C Language/a0iy

Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.

__NOTOC__ Install and compile this file in your working directory. /* ------------------------------------ */ /* Save as : c00c.c */ /* ------------------------------------ */ #include "v_a.h" /* ------------------------------------ */ void fun(int r,int c) { double **A = r_mR(i_mR(r,c),9); double **B = r_mR(i_mR(r,c),9); clrscrn(); printf(" See the files \"a0000.c\" and \"b0000.c\" \n\n"); fP_mR(A,"a0000.c","\n\n\nA:", S5,P0, C6); fP_mR(B,"b0000.c", "B:", S5,P0, C6); f_mR(A); f_mR(B); } /* ------------------------------------ */ int main(void) { time_t t; srand(time(&t)); do fun(rp_I(R4)+R3,rp_I(C6)+R4); while(stop_w()); return 0; } /* ------------------------------------ */ /* ------------------------------------ */ Screen output example: See the files "a0000.c" and "b0000.c" Press return to continue Press X return to stop