|
-
August 25th, 2012, 11:30 PM
#3
Re: C++ to C#
 Originally Posted by BioPhysEngr
This should be a straightforward exercise. However, you will probably not find anyone here willing to write the code for you.
Some tips: C++ Vector<T> is analogous to C# List<T>, cin and cout are analagous to Console.WriteLine(string) and Console.ReadLine(), and there is a generic Queue<T> in C#
Some links:
Good luck!
Thank for help, maybe i told not well, so, my mean is: i don't know Q.pop, Q.front and pop, push, what is it in C#, and the code: "vector<int> visited(maxx,0);", i can't in C#, it error.
I'm sorry, i'm so sorry, i will learn
Last edited by Loosexll; August 25th, 2012 at 11:39 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|