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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by cppdev

  1. cppdev

    Vector of Vector of Strings

    What would be correct syntax to access the row elements ( VRow ) ? Thanks in advance
  2. cppdev

    Vector of Vector of Strings

    Would this : vector <string>VRow; vector <VRow> VColumn; be valid ? if so how would one access VRow to add/delete/edit ? Thanks in advance,
  3. cppdev

    vector of a vector

    Howdy, I am creating a dynamic 2D data structure. I am using vectors (unless i find a better option). I am also new to the STL. I also am using the personal edition of C++ Builder 6. How can i declare and manipulate a vector of a vector? can i declare a vector of a vector like this ? vector...
  4. cppdev

    XP Boot Problem

    When i boot XP it asks what to use to open these files : TFTP3104 TFTP408 It says file type is : FILE can someone help fix this problem? Thanks in advance. cppdev
  5. cppdev

    disappearing drawing

    I have made the changes suggested. when i call ((TPanelCanvasHack*)Panel1)->Paint(); It does not paint the canvas white, it stays gray. This is what i was calling: ((TPanelCanvasHack*)Panel1)->PaintCanvas(); Thanks in advance, cppdev
  6. cppdev

    disappearing drawing

    Yes, when i move the panel off the screen, release and drag back onto the screen the rectangle disappears. This is the class i have been using. Could a modification of this work? class TPanelCanvasHack : public TPanel { public: __property Canvas; // specifies brush parameters and...
  7. cppdev

    disappearing drawing

    Also, when i comment out these lines of code : Label8->Caption = XLocation; Label9->Caption = YLocation; It does not erase the shapes drawn on the canvas. SO i am assuming the problem is something to do with these lines of code but i do not know why. These are not even displayed on the...
  8. cppdev

    disappearing drawing

    I have the following code called when the event &quot;OnMouseMove&quot; Occurs. It lets me draw a rectangle on the screen ...and then the error occurs immediately after drawing the rectangle...soon as i move the mouse the image disappears. Any ideas what could be wrong? all this code...
  9. cppdev

    character spacing on a canvas

    I am writing text directly to a canvas. I set the font (courier since it is fixed width by definition) and need to know how to find or calculate the space between the characters. My goal is to calculate the location of each possible character on this canvas....i know how to find the character...
  10. cppdev

    linker error

    It seems i was wrong about the use of &quot;extern&quot;. should I put the keyword &quot;extern&quot; before the definition of the class, and put this class definition in a seperate header file ( global.h ) and put &quot;#include &quot;global.h&quot; in both unit1.cpp and unit2.cpp ?
  11. cppdev

    linker error

    Good point. shouldnt the syntax be : extern FieldDefinitionObject FieldDefinition; where FieldDefinitionObject is the Class defined in unit2.h . and just put the above &quot;extern&quot; statement in unit1.cpp or unit1.h ? It keeps telling me FieldDefinition is not defined yet.
  12. cppdev

    linker error

    I have tried including header file &quot;unit2.h&quot; in unit1.cpp and tried including it in in unit1.h (just including it in one file at a time) and i still get the same error. I believe since i am including the file &quot;unit2.h&quot; (where FieldDefinition is defined as a class) it...
  13. cppdev

    linker error

    How can i fix this error? I am confused about what it means. [Linker Warning] Public symbol '_FieldDefinition' defined in both module C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\RECEIPTGENERATOR\UNIT1.OBJ and C:\PROGRAM FILES\BORLAND\CBUILDER6\PROJECTS\RECEIPTGENERATOR\UNIT2.OBJ Thanks in...
  14. cppdev

    enterprise -&gt; personal edition version 6 ? differences??

    I have been using a demo of the enterprise edition of C++ Builder v 6. The demo expired and i have reinstalled my personal version which has everything i need in it. when i reinstalled my personal version there were MANY *.bpi files that were not included in my pesonal version, thus could not...
  15. cppdev

    painting a canvas

    I am developing a custom gui it consists of a Form with a panel sitting on top of the form, and a canvas on top of the panel. when i start the app i must click on the canvas to make it paint the canvas. I want it to paint the canvas automatically when the app starts. I have tried several...

Part and Inventory Search

Back
Top