cntenthusiast
USA
1 Posts |
Posted - 07/13/2012 : 10:03:13 PM
|
Hello, I'm a chemist and I was asked to model Percolation Theory using Origin 8.1, but I have NO Experience using C++. I know some Basic, so I am familiar with the basics of coding and syntax. Basically I need some tips on the following:
Making a square grid, such as for all integers between 1 and 100. Be able to plot random integers only on the vertexes on the grid. When two adjacent vertexes are plotted, a line joins them. When a complete path is formed from left to right, it changes color to signify it. The graph displays: the number of vertexes with points plotted on them, and fraction of plotted points/total vertices.
Any help would be appreciated.
Thanks! |
|