Why can't I sort this container.

This is a discussion on Why can't I sort this container. within the C++ Programming forums, part of the General Programming Boards category; Hi, guys on stack overflow I've posted a question with this title and I got an advise that I should ...

  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    3

    Question Why can't I sort this container.

    Hi, guys on stack overflow I've posted a question with this title and I got an advise that I should rather ask this question here in order to get satisfactory answer. Could you please check it and tell me what I'm doing wrong and why I'm getting error when trying to compile this example? I corrected the code posted on SO as UncleBens suggested. I'm using VS2010 Ultimate.
    Thank you.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,648
    Since you say you corrected the code, you should post the updated code here, in [code][/code] bbcode tags, along with any relevant error messages.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Apr 2010
    Posts
    3
    That's ok. I found one typo in my code. It works perfectly now. Thanks.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Straight Insertion Sort function problem
    By StaticKyle in forum C++ Programming
    Replies: 6
    Last Post: 05-12-2008, 04:03 AM
  2. Linked List Queue Implementation help
    By Kenogu Labz in forum C++ Programming
    Replies: 8
    Last Post: 09-21-2005, 10:14 AM
  3. threaded merge sort
    By AusTex in forum Linux Programming
    Replies: 4
    Last Post: 05-04-2005, 04:03 AM
  4. Sorting
    By vasanth in forum A Brief History of Cprogramming.com
    Replies: 12
    Last Post: 11-10-2003, 04:21 PM
  5. Shell Sort vs Heap Sort vs Quick Sort
    By mackol in forum C Programming
    Replies: 6
    Last Post: 11-22-2002, 07:05 PM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21