Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~9K People Reached
Favorite Tags

2 Posted Topics

Member Avatar for Bedjovski

First of all sorry for my bad thread title, really didn't know how to name it. I am wondering how to make a following banner to another page. e.x: When somebody clicks a link from my webpage to show the link with my extra code. Like this alexa banner up …

Member Avatar for Bedjovski
0
111
Member Avatar for l0v3csci

You can do that like this. 1st of all initialize 2 arrays like this: dx[8]={1,-1,0,0,1,1,-1,-1} dy[8]={0,0,1,-1,1,-1,1,-1} assume that your current position is x,y; declare 2 integers; nx,ny; do a for to catch all the neighborhoods: [CODE] for(int i=0;i<8;i++) { nx=x+dx[i]; ny=y+dy[i]; if(nx<n && nx>=0 && ny>=0 && ny<m) { do …

Member Avatar for Fbody
0
8K

The End.