CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: Paul Rice

Page 1 of 18 1 2 3 4

Search: Search took 0.14 seconds.

  1. problem with multimap::iterator class member

    I'm trying to add a multimap as a member of a template class and I'm having trouble declaring and iterator. It seems to work when I declare the multimap member but not the iterator.



    #include...
  2. Replies
    16
    Views
    1,671

    Re: How do database repository files work?

    The assumption at the moment is this wont be necessary.



    This, I'm sure, will vary.



    An autosave feature is possible but isn't necessary. I'd imaging new data will be buffered while...
  3. Replies
    16
    Views
    1,671

    Re: How do database repository files work?

    I'm hoping I don't need the extra overhead. It would be great if I could integrate all this into my own app.
  4. Replies
    16
    Views
    1,671

    Re: How do database repository files work?

    I'm looking at storing a vector that's a member of an object. I'd say, at this point, the contents of the vector looks rather volatile.
  5. Replies
    2
    Views
    707

    Re: How do database repository file work?

    Sorry, I actually posted here first! I thought it was a more relevant board but in retrospect it seems rather dead around here.

    Thanks for the extra info.

    Paul
  6. Replies
    16
    Views
    1,671

    Re: How do database repository files work?

    Thanks Yves. I'm wondering if this is considered a more efficient method to manage large amounts of volatile data than what I've been doing?

    Paul
  7. Replies
    16
    Views
    1,671

    Re: How do database repository files work?

    My problem is I have a class with a vector as a member. I want to save the object to disk (including the vector). The size of the vector will very and things will constantly be add and deleted. Just...
  8. Replies
    16
    Views
    1,671

    How do database repository files work?

    Does a database rewrite it's entire file everytime new data is stored? Is it able to selectively remove parts of it's file when data is to be deleted or does it need to rewrite the whole file? Is...
  9. Replies
    2
    Views
    707

    How do database repository file work?

    I don't know if this is the best place to put this but here goes?

    Does a database rewrite it's file everytime new data is stored? Is it able to selectively remove parts of it's file when data is...
  10. Replies
    3
    Views
    920

    Re: inserting data in a file

    It seems seekp will position anywhere in the file for writing but overwrites the data already at that position. At least that's the behavior I'm getting right now.
  11. Replies
    3
    Views
    920

    inserting data in a file

    Is it possible to use fstream to insert data in the middle of file? Do I need to rewrite the file each time? What if I want to remove data from the middle of a file?

    I have a bunch of lists I'd...
  12. Replies
    1
    Views
    635

    highlighting syntax

    I want to add scripting to my application and I was wondering if there's a text edit class for Java that will highlight syntax.

    Thanks
  13. I'm having one of those "works on my machine and no other" problems

    Sorry to bother you guys with this nonsense but I put all my code in jar files and they work fine on my machine and don't work on any other. Should I be looking at updating the JVM on the other...
  14. problem with JTabbedPane throwing exception

    I have a JTabbedPane in a window with 2 tabs. If I close the last tab and the app loses focus, an exception is thrown:

    Exception in thread "AWT-EventQueue-0"...
  15. Re: JTree node to look like folder rather than file

    It works. Thanks a lot.
  16. JTree node to look like folder rather than file

    Anybody know how to get a tree node to look like a folder when it has no children? Every time I create a node without children it looks like a file.

    Thanks.
  17. Replies
    15
    Views
    3,097

    Best blonde joke ever

    best blonde joke ever
  18. Help a novice with disabled display properties in XP

    I'm running XP and I don't know what I'm doing. I'm trying to change the background graphic but the display properties desktop features are all disabled. As far as I can tell the account I'm using an...
  19. Replies
    4
    Views
    1,652

    Re: Java & Dynamic SQL

    The code I wrote I made up based on a line of code of yours:


    // ************************** THIS IS THE QUERY I AM STRUGGLING WITH *************************
    String areaQuery = "SELECT area "+...
  20. Replies
    4
    Views
    1,652

    Re: Java & Dynamic SQL

    Can I suggest you use the String.format().



    String qreaQuery = String.format("SELECT %1$s FROM %2$s WHERE( area = %3$d)", area, HouseDetails, getArea);
  21. Replies
    1
    Views
    1,484

    Re: How to loop read thru a text file

    I'll recommend the StreamTokenizer.



    Creating the user interface in Java is a pain. The sooner you start, the sooner it'll be over.



    Maybe you should store the Username and...
  22. Replies
    1
    Views
    903

    Re: linked list help, urgent

    Your first mistake. Use the collections classes provided by Java. Any new functionality you'd like to add should be included in a class you derrive from one of java's collection classes.
  23. My contribution to the not so integrated IDE war

    I've been working on this for about the last 3 months. The hardest part was the parsing and I think it still doesn't work. Yet, my impatients is getting the best of me so I'm posting it now. I wrote...
  24. Thread: Dynamic GUI

    by Paul Rice
    Replies
    1
    Views
    1,134

    Re: Dynamic GUI

    Since buttons are created at runtime I'd guess this would be a pretty easy problem to solve. I'd have a loop that tested for some condition for how many buttons I needed to create. Then in the loop...
  25. Replies
    4
    Views
    963

    Re: Database connectivity

    For something like this I'll build an SQL statement in my button message handler then execute it with SQLExecute.
Results 1 to 25 of 446
Page 1 of 18 1 2 3 4





Click Here to Expand Forum to Full Width

Featured