N-body problem: Difference between revisions

Content added Content deleted
m (→‎Textual or Console: Remove vanity tags)
m (→‎Graphics: Remove vanity tags)
Line 297: Line 297:
The time step although present in the file, and read, is not used here, the loop goes on indefinitely. Requires the [http://www.cs.colorado.edu/~main/bgi/cs1300/ WinBGIm] library.
The time step although present in the file, and read, is not used here, the loop goes on indefinitely. Requires the [http://www.cs.colorado.edu/~main/bgi/cs1300/ WinBGIm] library.
<lang C>
<lang C>
/*Abhishek Ghosh, 6th October 2017*/

#include<graphics.h>
#include<graphics.h>
#include<stdlib.h>
#include<stdlib.h>