Search:

Type: Posts; User: C_User

Search: Search took 0.02 seconds.

  1. Thanks for all the information. I'll have to...

    Thanks for all the information.

    I'll have to remember to "inline" my functions in header files. Thank you.
    (How would I link a source file to a header file if the source file contains all the...
  2. Note: I changed the lines of header containing...

    Note: I changed the lines of header containing AI_Subject class to #define AI_Subject_H and eliminated the using std references. Now the compiler is not recognizing the two strings that are part...
  3. "Oh, and those function definitions either be...

    "Oh, and those function definitions either be declared in-line or moved to a source file." - C Witch (I don't really recall what "inline" means anymore, although I heard the word a lot in a class a...
  4. Please go to main board for this subject and look...

    Please go to main board for this subject and look for post by C_User. Thank you.
  5. Need some "CLASS-Y" C++ Advice from a person with the time to truly explain ideas.

    I've written a class and a main program. The class is in a header file.
    (I know that I don't need all the headers listed in the class header file, but I'm not at the point where I want to take the...
  6. Please see latest post on c++ class issues

    I'm going to post the code, main and C++ class, in another post.

    I'd like to make this class conform to the standards used by the VC++ Express compiler, and it appears that although I can get the...
  7. Maps - referencing individual members numerically (as with a vector)

    I have code working, but that is largely because a vector that I am using as part of a structure that is the first of two elements of a MAP (with the second being an integer that is assigned later)...
  8. Gracias! Danke shoen! (Thanks!)

    Gracias!

    Danke shoen!

    (Thanks!)
  9. Using Arrays as Sources of Data for Arrays in a Structure - How?

    I am having a great deal of trouble getting the following to work.

    I define "Comwords" as a string, but apparently it takes the members as chars, then I can't set strings in a structure equal to...
  10. Elysia: Consider my hat tipped to you! If you...

    Elysia:
    Consider my hat tipped to you! If you ever write a C++ tutorial at a beginner level, please post it here.
    Right now, what I'm really looking for is away to create a class, assign that...
  11. Elysia, Thank you! Your code is way over my...

    Elysia,

    Thank you!

    Your code is way over my head, so I'll try to be more specific.

    My version of creating a 2D vector was to embed a matrix routine that I could call.
  12. Just to clarify, given the nature of the...

    Just to clarify, given the nature of the responses I've gotten so far, I'm really looking for some sample code here that works. Thanks.
  13. Being new to this, I thought that the declaration...

    Being new to this, I thought that the declaration I made would stand as the declaration of the array variable.
  14. URGENT Need to Add Arrays and a Matrix to a C++ Class

    I'd like to start out by adding an array to a C++ class. I'd like to be able to reference the array using a class object that I create, for example:

    Class is Stone.

    Stone Bob is an instance of...
  15. Replies
    0
    Views
    790

    Old User, Needs to Remember Old Tricks

    Hi,

    I wrote the piece of code that follows. I hadn't touched C in years. I'd like to fill in the "blanks" that I wall-papered over to make ths work on my own. For example:

    1. What is the...
Results 1 to 15 of 15