CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: fairplay89

Search: Search took 0.04 seconds.

  1. Replies
    0
    Views
    1,100

    MPI Project Help

    For my programming final I need to make a game of life using MPI. At first I was getting a redeclaration of C++ built-in type 'short' error. Now I get a file format not recognized error. If anyone...
  2. Replies
    17
    Views
    1,707

    Re: Need help with Linked List

    Shouldn't that be taken care of by "LinkedList;" under public?
  3. Replies
    17
    Views
    1,707

    Re: Need help with Linked List

    Ok so I did a ton of work on this and I got it down too one error. But I have very little clue what it means.

    LINKEDLIST.H


    #include <iostream>

    using namespace std;

    template <typename...
  4. Replies
    16
    Views
    2,524

    Re: Problem With Struct

    Help please?
  5. Replies
    17
    Views
    1,707

    Re: Need help with Linked List

    Well there are several errors but they are mainly because it can't find that file.
  6. Replies
    17
    Views
    1,707

    Re: Need help with Linked List

    I did notice that today. And I had already changed that. I also changed "class List" to "class LinkedList" in the LinkedList.h file and I still get the same error. The error says:
  7. Replies
    17
    Views
    1,707

    Re: Need help with Linked List

    Can you explain on that? I created a new project & added both the .cpp and the .h file to the project files list. Although I am totally lost on the rest of this deal I am fairly sure I did this right.
  8. Replies
    17
    Views
    1,707

    Re: Need help with Linked List

    Everything is in the same folder. All three files: LinkedList.h, Untitiled1.cpp & project1.dev are in that folder.
  9. Replies
    16
    Views
    2,524

    Re: Problem With Struct

    But this is supposed to use fstream to pull it from a file. Or do I still have to set it all manually?

    This is the txt file that I am supposed to read from:

    MenuData.txt


    Plain Egg
    1.45...
  10. Replies
    17
    Views
    1,707

    Re: Need help with Linked List

    So I fixed all the errors on that. So now it reads as:


    DataType LinkedList<DataType>::getCursor()
    But it says that LinkedList.h cannot be found. And it is in the same directory as Untitled1.cpp...
  11. Replies
    17
    Views
    1,707

    Re: Need help with Linked List

    Where do I have linkedList? And we haven't used std::list yet.... so I gotta do it this way. Lame.
  12. Replies
    17
    Views
    1,707

    Need help with Linked List

    I have to make a program that takes a list of 9 names and then eliminates the 5th name until one is left (aka enee meenee miney mo). I am getting a LinkedList undeclared error. And I also don't know...
  13. Replies
    16
    Views
    2,524

    Re: Problem With Struct

    Oh my god... I can't freaking get this. Can you give me an example?
  14. Replies
    16
    Views
    2,524

    Re: Problem With Struct

    So instead of using int's use list<GetData> for example?
  15. Replies
    16
    Views
    2,524

    Re: Problem With Struct

    I don't think we have learned STL yet. And how would I do a list of classes?
  16. Replies
    16
    Views
    2,524

    Re: Problem With Struct

    Haha sorry guys. Here is what I have and she said there is an easier way to do it:



    #include <iostream>
    #include <fstream>
    #include <iomanip>
    #include <string>

    using namespace std;
  17. Replies
    16
    Views
    2,524

    Re: Problem With Struct

    I know that you guys don't do homework, and I have a program done but I was told that it was too complicated and that there was an easier way to do it. I don't want someone doing it for me, I just...
  18. Replies
    16
    Views
    2,524

    Problem With Struct

    Can anyone help me with a struct problem? This program has to:

    Write a program to help a cafe automate its breakfast billing system. The program should do the following:

    -- Show the customer...
Results 1 to 18 of 18





Click Here to Expand Forum to Full Width

Featured