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 strongm 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. Aubryn

    Template class - function prototype question

    Great, I understand now. Appreciate the help guys. :)
  2. Aubryn

    Template class - function prototype question

    Ok, well that makes sense. Still learning how to code, as you can tell. =/ Now my issue is, does it have to go in the prototype? I like to seperate my prototype from my implementation code, unlike the example shown. For example, I tried something like this, and its giving me a ton of...
  3. Aubryn

    Template class - function prototype question

    Oh yeah, forgot to put the private data members in. private: int numCols; Type* row; So the row being referred to in my question above is a pointer, if that helps clarify. Is it checking if the pointer is NULL, and if so, what does it do if true/false, etc?
  4. Aubryn

    Template class - function prototype question

    I've been looking at some sample code that is similar to a program I'm working on, and I came across a function prototype in the class header that threw me off. Can anyone here explain the syntax of this? template<class Type> class Row { public: Row(int cols=0):row(NULL)...

Part and Inventory Search

Back
Top