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. UnityKing

    Object lifetime

    make a friend function
  2. UnityKing

    Overloading - Constructor

    Shoud i use Vector to represent a graph ? im working on a shortest patth algorithm
  3. UnityKing

    Overloading - Constructor

    Look like its what i want, thanks ;-), is it optimal ?
  4. UnityKing

    Overloading - Constructor

    No no no look i want to know how many time i declared an array. cat Cuty[4]; i want a variable in my class that will contain the number 4 because i have 4 cats ! so i will be hable to do : Cuty.Ubound() // witch will give the number 4 (Upper Bound)
  5. UnityKing

    Overloading - Constructor

    THANKS :P, thats what i want. I want to encapsulate the Size of an array IN the class that have been declared array
  6. UnityKing

    Overloading - Constructor

    A graph is an array of nodes, a node to another node u have a segment. I want to delacre a graph, with will contain an array of POSSIBLE link. supose that u have 20 nodes in a graph, there is (NBOFNODES - 1) possibles links, since a link to it self is not really important. Im trying to...
  7. UnityKing

    Overloading - Constructor

    Simple question, Hard Awnser : 1) Seg is my class class seg { ... nanan anan anan } 2) i do seg Dot[20]; i want to have 20 in a variable i tryed [] overloading and didnt work and constructor wont be usefull ( seg Dot[20] = {20,20,20,20,20, etc...}) so how coud i get the Bound of the...
  8. UnityKing

    Visual C++, can't stop crashing

    10312F20 rep movs dword ptr [edi],dword ptr [esi] this is from the ddebugger. Do you know what it mean, there is a problem when it load the files and this ligne cause the error...
  9. UnityKing

    Visual C++, can't stop crashing

    Tell me about partition magic, i got this software and i did a partition, so it is possible to format only a partition /w partition magic ?
  10. UnityKing

    Visual C++, can't stop crashing

    im on Win Xp u cant format in ms-dos mode, its allright i will see if it work
  11. UnityKing

    Visual C++, can't stop crashing

    Dos'nt work, im reformating, so tired. Is it possible to format only a partision of the drive ?
  12. UnityKing

    Visual C++, can't stop crashing

    This When i click on see data i got that
  13. UnityKing

    Visual C++, can't stop crashing

    yeah, but it didnt work
  14. UnityKing

    Visual C++, can't stop crashing

    When i start a new project, after like 10 sec the program crash (not responding) and i got an error message. I've looked trought microsoft support and i did'nt found where that error was from. So i downloaded the Sevice Pack 6 and i still got an error. Can anyone help me, im trying to avoid a...
  15. UnityKing

    How i use overload for a clas atribute ?

    OMFG i found it, so mutch easy this way : class clsRectangle { public: int Height; int Width; int Aire (void) {return (m_Height*m_Width);} int Perrimeter (void) {return ( 2*m_Height + 2*m_Width);} }; int main(){ clsRectangle Rect; Rect.m_Height = 100; Rect.m_Width = 10...
  16. UnityKing

    How i use overload for a clas atribute ?

    I know hot to make a fonction, but i dont want to put something like : Rect.Width (10) i want something like that: Rect.Width = 10 i think timay said its cant be done in c++ but im not really sure.
  17. UnityKing

    How i use overload for a clas atribute ?

    May someone help me with overloading, i just started C++ and im programming a rectangle class : class clsRectangle { public: int m_Height; int m_Width; clsRectangle operator= (clsRectangle); int area (void) {return (m_Height*m_Width);}...

Part and Inventory Search

Back
Top