Search:

Type: Posts; User: Jesse20ghet

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    1,153

    Another problem I'm having is making this a const...

    Another problem I'm having is making this a const method.



    template <typename T>
    Row<T> Array2D<T>::operator [] (const int index)
    {
    if(index > m_row)
    throw Exception("Index exceeds...
  2. Replies
    6
    Views
    1,153

    template class SingleArray {...

    template <typename T>
    class SingleArray
    {
    public:
    SingleArray();
    SingleArray(int length, int start_index = 0);
    SingleArray(const SingleArray<T> &copy);
    ~SingleArray();
    SingleArray<T>&...
  3. Replies
    6
    Views
    1,153

    New setter //Sets the length of the array to...

    New setter

    //Sets the length of the array to the passed in parameter
    template <typename T>
    void SingleArray<T>::setLength( int length )
    {
    if(length < m_length)
    {
    T * temp = new T[length];
  4. Replies
    6
    Views
    1,153

    Well the copy constructor calls the assignment...

    Well the copy constructor calls the assignment operator so if the assignment opeartor works, then so does the copy constructor but you say the assignment operator doesn't work cuz of m_length? I'm...
  5. Replies
    6
    Views
    1,153

    2DArray Help

    This is for school.. but I'm not trying to get you guys to do my homework, I've worked pretty hard on this. This is my sixth term of C++ and I'm having trouble making this 2D array work.

    It has a...
  6. Replies
    1
    Views
    1,886

    Trying to make a deck of cards.

    My deck has a private member variable with 52 values in it. I have another classes called card that has a rank, for Ace - King, and a suit for C/S/H/D and I'm trying to read this into the array but I...
  7. Replies
    2
    Views
    1,621

    I'm getting a linker error?

    Error 1 error LNK2019: unresolved external symbol "public: __thiscall Fraction::Fraction(int,int)" (??0Fraction@@QAE@HH@Z) referenced in function "public: class Fraction __thiscall...
  8. Having a problem allocating space for an array of structures

    When the code runs through the first time, it stores everything good into the first spot of the array but when it runs through the second time to get the input from the second line of the text file,...
  9. Replies
    3
    Views
    1,054

    I fixed most of what you said but I'm only...

    I fixed most of what you said but I'm only familiar with myfile.eof so that's why I use it, I can't use strings as this is a school assignment and its driving me crazy. I still get the same error...
  10. Replies
    3
    Views
    1,054

    Weird crash error I can't figure out

    My problem is that it runs though strcpy(*Ingrediants, temp) the first time then run times out the second time though.

    This code is meant to populate a dynamic array using all the words from a...
  11. Replies
    6
    Views
    1,569

    Thank you Mike, that sure did fix the problem.

    Thank you Mike, that sure did fix the problem.
  12. Replies
    6
    Views
    1,569

    I did, its included in stafx.h. stdafx.h ...

    I did, its included in stafx.h.

    stdafx.h

    // stdafx.h : include file for standard system include files,
    // or project specific include files that are used frequently, but
    // are changed...
  13. Replies
    6
    Views
    1,569

    How to include a class in another class.

    I'm supposed to make a Queue Class to operate like a Queue does with enqueue, dequeue, print, etc. It is supposed to operate using a Doubly Linked List class, by calling on members of that class such...
  14. Replies
    14
    Views
    3,911

    I hope so. This is very hard for me. Feel like my...

    I hope so. This is very hard for me. Feel like my head is going to explode =). I really do feel a huge sense of accomplishment whenever I successfully program something.
  15. Replies
    14
    Views
    3,911

    Yeah I've googled it a bunch but it just seems to...

    Yeah I've googled it a bunch but it just seems to stress me out when I pay for this college class to learn hwo to code, which I have learned a lot but then on the final he wants us to learn it...
  16. Replies
    14
    Views
    3,911

    C++ MergeSort

    I need to learn how to program a Mergesort and I want to actually LEARN IT, not copy and paste some code from google for an easy A. Does anyone know a good place to get a tutorial on this? The one on...
  17. Replies
    6
    Views
    1,220

    I redid it with comments to my understanding of...

    I redid it with comments to my understanding of what is going on. When I print this, it only prints one node and its always the last node I insert. I did plot it out on paper and it seems to me that...
  18. Replies
    6
    Views
    1,220

    DoublyLinkedList Insert FIrst function

    When this function runs, it overwrites the first node in the list. I can't for the damn of me, figure out. Any help? Please give an explanation too, trying to learn, not turn in homework lol. K...
  19. Replies
    4
    Views
    1,098

    I removed them and still get the same error :/.

    I removed them and still get the same error :/.
  20. Replies
    4
    Views
    1,098

    I have an error and can't fix it :(.

    The error is "error C2143: syntax error : missing ';' before 'using'.

    File: menu.h

    Line: 21

    Any help would be WONDERFUL.. I'm stressin.
  21. Replies
    3
    Views
    2,628

    ComboBox Help

    How do I make the items in the combo box appear in alphabetical order?
  22. DeleteLast Function of a SinglyLinkedLast

    I can't figure out how to fix this. I'm trying to move the pointer all the way to the end of the list but it won't even run. It builds fine, no compiler errors, just doesn't run. It freezes...
  23. Thread: Help x.x

    by Jesse20ghet
    Replies
    5
    Views
    1,446

    My program isn't a console though man. Its a...

    My program isn't a console though man. Its a form. I think i can use this though =). Thank you :P.
  24. Thread: Help x.x

    by Jesse20ghet
    Replies
    5
    Views
    1,446

    This is how I took care of the crash and burn of...

    This is how I took care of the crash and burn of my program if they entered a letter where a numeric value would go but I don't know how to set one up for the NameTextBox.

    What would the code be...
  25. Thread: Help x.x

    by Jesse20ghet
    Replies
    5
    Views
    1,446

    That was it! Thank you very much! :).

    That was it! Thank you very much! :).
Results 1 to 25 of 36
Page 1 of 2 1 2