Search:

Type: Posts; User: hpy_gilmore8

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    2
    Views
    1,309

    Thanks for the response. If I opted to try and...

    Thanks for the response. If I opted to try and do this with serialization, is there a way to load a multiline ASCII document into an MFC app? Honestly, I've never really used ifstream previously,...
  2. Replies
    2
    Views
    1,309

    Question about document/view app in MFC

    Hello,
    I have a real general question, but can post specific code if it helps illustrate my question. When I create a document/view app with the app wizard in VC++ 6.0, it automatically sets up...
  3. Replies
    15
    Views
    17,294

    Hello, I should also mention that it looks like I...

    Hello, I should also mention that it looks like I am having the exact same problem as specifiifed in my previous post when I try to use the < and > overloaded comparison operators as well, and not...
  4. Replies
    15
    Views
    17,294

    Almost there! Got the assignment operator...

    Almost there! Got the assignment operator working right now.. for some reason, the == comparison operator (and I would imagine the < and > comparison operators would be the same) are having issues...
  5. Replies
    15
    Views
    17,294

    "As I see it you have three choices to place...

    "As I see it you have three choices to place "blah" in data. FIrst, you can develop a non-default constructor"


    When you say non-default constructor, are you saying the same thing as overloading...
  6. Replies
    15
    Views
    17,294

    I hate to beat a dead horse on this, but I know I...

    I hate to beat a dead horse on this, but I know I am really close, I just can't quite get it. I've made some modifications to my code (took me about 2 hours to get this far) and I've changed the...
  7. Replies
    15
    Views
    17,294

    Thanks for the response.. I thought I was...

    Thanks for the response.. I thought I was capturing all templated types with the following overloaded constructor that is currently in my code:



    template <class Type>...
  8. Replies
    15
    Views
    17,294

    I have part of this figured out I think... I am...

    I have part of this figured out I think... I am having issues with instantiating an array of char and then comparing arrays of different sizes... see below:



    #include <iostream>

    using...
  9. Replies
    15
    Views
    17,294

    I'm getting closer on this.. I got the subscript...

    I'm getting closer on this.. I got the subscript operator overloaded, the along with the + and - operators. I also have the assignment operator and the ostream >> overloaded. I just need to...
  10. Replies
    15
    Views
    17,294

    Template Array Class

    Hello.. I need a little help getting pointed in the right direction on an exercise that I am working on. I am attempting to create a templated Array class. In the process of this, I need to...
  11. Replies
    3
    Views
    2,336

    I guess I misworded that... I plan on completing...

    I guess I misworded that... I plan on completing my BS in September regardless of anything else.. I guess when I said "Sitck with the BS" in my first choice, I meant obtain my BS and go no further...
  12. Replies
    3
    Views
    2,336

    Education question

    Hey guys,
    I am debating on something and wanted to get a non-biased 3rd party's opinion.

    Here's the deal.. I am going to school for a BS in Computer Systems - C/C++ Programming Emphasis...
  13. Here's the exact text from the exercise in the...

    Here's the exact text from the exercise in the book that I am trying to figure out. This should (hopefully) explain better what I am trying to accomplish:

    Implement a class genVector that...
  14. "That code simply creates a nameless genvector...

    "That code simply creates a nameless genvector object (which gets destroyed imeediately after function exit). It will not resize the genvector you intend to."

    Would you be willing and/or able to...
  15. "I take issue with your design. Why do you have...

    "I take issue with your design. Why do you have ranges from an arbitrary negative number to an arbitrary positive number? The convention for arrays and vectors is to number from 0 to n-1.

    For what...
  16. Glad this board is back! Vector question

    Glad this place is back online, I missed it. :) I have a question. I am working on an exercise that requires that I create a genVector class that has a base class of Vector. It works as such, for...
  17. Replies
    2
    Views
    1,209

    Thank you for that advice, grib.. I eventually...

    Thank you for that advice, grib.. I eventually had to rename the function to d_copy so that the compiler would quit confusing it with the regular copy function ...

    I tested the code from where it...
  18. Replies
    2
    Views
    1,209

    This doesn't make sense to me

    I am attempting to implement a function that will create a duplicate of a linked list and return a pointer to the list. For this copy function to truly be a copy function, the elements in the new...
  19. Replies
    4
    Views
    1,101

    I think that will help tremendously.. thanks...

    I think that will help tremendously.. thanks Jlou! I'll have to look at that in more detail once I get home (I am posting from work right now).. It seemed like an impossible task if the seqSearch...
  20. Replies
    4
    Views
    1,101

    Thanks for that information... However, the...

    Thanks for that information... However, the parameters of the problem call for me to use the seqSearch templated function that I included in my original post. I'd like to understand how to do it...
  21. Replies
    4
    Views
    1,101

    List stuff again

    Hello again...

    I have a different list issue this time. My program generates 20 random numbers that range from 0 to 4 and outputs them to the screen. It then uses push_back to put each number in...
  22. Replies
    2
    Views
    1,128

    That's awesome! Thank you very much! I was a...

    That's awesome! Thank you very much! I was a lot closer to the solution than I thought I was, so that's encouraging as well... thanks again!
  23. Replies
    2
    Views
    1,128

    Getting a little confused with lists...

    Here's what I am attempting to do.. I attempting to make a function called count that will take in a const <list> and a n item as arguments. The function will scan through the list and count up how...
  24. Replies
    4
    Views
    1,028

    Awesome! That's exactly what I needed.. thank...

    Awesome! That's exactly what I needed.. thank you very very much!
  25. Replies
    4
    Views
    1,028

    Strings and lists

    I have a (hopefully) easy question. Suppose I create a list and I want to be able to have the user enter entries that will be "pushed" into the list until they enter x on a line by itself (or enter...
Results 1 to 25 of 72
Page 1 of 3 1 2 3