simulating a behaviour similar to router
Posted on 2006-03-20
I want to create a program in which i have three tables A,B,C.
Each table has info like counter. counter for A is 1, counter for B is 2 and counter for C is 3.
Table A is connected to B but not C, C is connected to B but not A. I want the program to run in three different processes and display the info for counters for all tables in their respective processes. Could someone guide me on how I could write a program that would display info of table itself, n the other two tables in process 1
eg: A counter=1, B counter=2, C counter=3
B counter=2, C counter=3, A counter=1
C counter=3, A counter=1, B counter=2
I am a beginner in C, any advice is appreciated.