I have been trying to work on this all week, but with no success. What I am suppose to do is add some code into a larger program that creates a graph, from the one that is suppose to be loaded into the program. The main idea for the xtra code is this:
The "degree" function should determine and output how many even degree vertices and how many odd degree vertices a weighted, undirected graph has.
I have added three attachments, one will be the complete instructions, the other two will be the sample graph to be used and the shell C++ code.
Also, I use visual studio '05 for my projects. I usually run them in a win32(empty project) console application. I would need this done no later than 9:00pm Eastern Time on Sunday Febuary 6.