namasteall2000 wrote: > Bret - you are right - this is part of my homework of networking > course. I haven't done much in C - that's why need help. I want > somebody to guide me the steps - I will try to do coding of my own. > > I just need flowchart (not exactly flowchart) kind of thing where I > can understand the flow of the program. > > Thanks
You might be in the wrong course then. Networking can be a fairly advanced topic depending on how low-level you get. You should have data structures and be fairly comfortable with using the C/C++ language under your belt first. Networking applications open a whole new can of worms (application security, IPC, multithreading, etc.) that you probably aren't ready for yet. The problem itself, though, seems more like some sort of mathematical problem than actual networking. However, the problem description seems insufficient. You have two unrelated variables T and N without any logical statement connecting them (unless I missed something). This is what is likely causing you confusion: The variable N is suddenly referenced out of the blue. If that is the entire problem description, ask your teacher for clarification. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
