CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 11 of 11

Threaded View

  1. #3
    Join Date
    Aug 2012
    Posts
    28

    Re: C++ to C#

    Quote Originally Posted by BioPhysEngr View Post
    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
  •  





Click Here to Expand Forum to Full Width

Featured