Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Cirilia

    What is include file for using the FIX function?

    I just need to know what the include file is for using the FIX function, anyone know?
  2. Cirilia

    Setting how many numbers after decimal

    In the visual portion of c++, that is, the MFC AppWizard section, what coding will help me set the number of places after decimal point to 2? I looked in the help index and it says to use SET DECIMAL TO [nDecimal], but this code does not work when I put it in the program like so: SET DECIMAL TO...
  3. Cirilia

    Shortest Path of a Graph

    Hi I have a graph with vertices and weights like so: Atlanta -> Dallas 500 Boston -> Atlanta 600 Chicago 200 Chicago -> Boston 800 If there is no connection between two nodes the value is 5000. What is the easiest way to implement a shortest path algorithm on this type of data?
  4. Cirilia

    Dykstra's Shortest Path Algorithm

    Hi can anyone give me a basic example of how to code Dykstra's shortest path algorithm? All the examples I have read involve all these superscripts and unexplained variables which are very confusing. I know there is a formula for calculating the shortest path, but I do not know what it is...
  5. Cirilia

    How do you disable warnings?

    Sorry, I don't know what I'm doing wrong, but I copied and pasted that code into my program and the warnings do not go away. ??
  6. Cirilia

    How do you disable warnings?

    How would I disable this warning? : warning C4786: 'std::reverse_bidirectional_iterator<std::list<std::basic_string<char,std::char_traits<char>,std::allocator<char> >,std::allocator<std::basic_string<char,std::char_traits<char>,std::allocator< char> > >...
  7. Cirilia

    Can you have a queue of array type?

    Well like I said earlier, when I put that code into my program it did not remove the warnings.
  8. Cirilia

    Can you have a queue of array type?

    I put the #pragma coding right underneath the rest of my #include files, is this the wrong place?
  9. Cirilia

    Can you have a queue of array type?

    That #pragma disable coding did not work to get rid of the warnings. I already have the <string> in the program however.
  10. Cirilia

    Can you have a queue of array type?

    Ok I did replace the char* with string, but when I declare a queue: Queue<string> Q; I get 4 of these errors: warning C4786: 'std::reverse_bidirectional_iterator<std::list<std::basic_string<char,std::char_traits<char>,std::allocator<char>...
  11. Cirilia

    Can you have a queue of array type?

    That does help somewhat, but that is for characters, not strings. I'm having a problem with using a string for the queue. Is there a way to do that?
  12. Cirilia

    Can you have a queue of array type?

    For example: string a[20]; The array has values such as: red orange yellow green blue .... and so on How would declare a queue of this type, and read these values into it.
  13. Cirilia

    Can you have a queue of array type?

    Well I guess what I'm really trying to do is reading information from a string array into the queue. But I am having problems with this.
  14. Cirilia

    Can you have a queue of array type?

    Is it possible to have a queue made up of something like this: string a[20]; If so, how would you declare the queue, and how would you enQ and deQ things in the array.
  15. Cirilia

    Simple Array Question

    How do you remove something from an array? I've done this before, but not for a long time and can't remember. For example: int A[5]; //Declare array Array contains 1, 2, 3, 4, 5 If I know what position the number 2 is at, how do i remove it from the array?

Part and Inventory Search

Back
Top