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

Search:

Type: Posts; User: JustSomeGuy

Page 1 of 5 1 2 3 4

Search: Search took 0.02 seconds.

  1. Perl having trouble with a hash of key, array...

    I have a hash table that is patient id, patients names
    In my data sometimes the patients names are entered in differently but they are the same patient.

    A patient might be listed as


    or
  2. Questions about inheritance and calling super...

    I have two classes.

    1) class dbgBuf : public std::streambuf
    2) class dbgFile : public std:: ostream


    I first got dbgBuf class working


    dbgBuff ob;
  3. Still having issues with ostreams, streambuf, filebufs etc etc etc..

    This is a simple example of a log file class I'm trying to develop.

    Debug.h

    #ifndef DEBUG_H
    #define DEBUG_H

    #include <iostream>
    #include <fstream>
  4. Replies
    7
    Views
    1,351

    Re: having troubles with a stream...

    The bit bucket.
  5. Replies
    7
    Views
    1,351

    Re: having troubles with a stream...

    I just don't get it... This code works in some environments but not in others...
    I've attached the source... If anyone has time to look, that would be great.
    I'm on MAC OS X, 10.5.7 using XCode...
  6. Replies
    7
    Views
    1,351

    Re: having troubles with a stream...

    Could you elaborate please? What is composition?

    do you mean:

    class dbgFile : public std::ostream {
    private:
    std::filebuf output_buffer;
    needs to change to:

    class dbgFile {
  7. Replies
    7
    Views
    1,351

    Re: having troubles with a stream...

    dbg is an instance of dbgFile

    however the first call to
    dbg << "A Message" << std::endl;

    causes a segmentation fault.

    The debugger shows:

    0 std::ostring::_M_write
  8. Replies
    7
    Views
    1,351

    having troubles with a stream...

    This constructor is causing the application to crash on Mac OS X, in
    xcode...

    dbgFile::dbgFile(void) : std::ostream(0), output_buffer(),indent_buffer(&output_buffer), isopen(false) {}

    here is...
  9. Replies
    2
    Views
    747

    Don't understand collections....

    I want to create a collection of names.

    co.add "foo", "Brian"
    co.add "bar", "Bob"

    However i need to make sure that the same key is not used twice.
    I don't know how to catch the error if...
  10. Replies
    5
    Views
    1,994

    Re: sftp in C#?

    Is sftp the same as ftp over a ssl?
  11. Replies
    5
    Views
    1,994

    Re: sftp in C#?

    Did I mis-read it... I that that it was only an example of ftp not sftp.
  12. Replies
    5
    Views
    1,994

    sftp in C#?

    I need to be able to upload a file to a site by sftp.
    I found this great example on how to upload via ftp...
    http://www.codeguru.com/csharp/csharp/cs_internet/desktopapplications/article.php/c13163...
  13. Replies
    1
    Views
    4,001

    FindFirst FindNext...

    I'm trying to traverse a directory and all its sub-directories searching for files like "*.jpg"
    In C / C++ I used functions called FindFirst & FindNext.
    Can you point me to the C# (Microsoft Visual...
  14. Re: Need help unraveling a loop on handeling events....

    I don't know it looks recursive to me...
    I mean findnext does call findfirst doesn't it?
  15. Re: Need help unraveling a loop on handeling events....

    myButton.doModal

    Thanks that's a great idea!
    De looping that loop was driving me loop de loop.
  16. Need help unraveling a loop or handeling events....

    I have a loop that searches a directory and its sub directories for files.
    When if finds a file it goes off and processes it. On top of that it's recursive.
    I need to break this loop into to...
  17. Compiler error: Sub of Function not defined.

    I have a project that has a module. There is a public function in that module.
    However when I compile the application I get the error message
    Sub or function not defined.
    Why? It's in the module...
  18. Replies
    4
    Views
    1,899

    Re: Drag and drop files onto application....

    I don't think my form knows about these methods...
  19. Replies
    4
    Views
    1,899

    Drag and drop files onto application....

    I'm looking for a simple example of how to enable drag and drop on my application so that I can drag a folder or some selected files onto my application for processing.

    (Right now I select from a...
  20. Replies
    9
    Views
    1,486

    Re: Setup files are out of date...

    No.. its just an application without any database..
  21. Replies
    9
    Views
    1,486

    Setup files are out of date...

    or system files are out of date.. I don't have the exact error in front of me....

    I tried to install and application that was written in VB6.0 on a new XP system.
    The setup was created using the...
  22. Replies
    12
    Views
    1,396

    Re: bit fields...

    but... but.. but... Its an 8bit data type.. endianism is irrelevant.
  23. Replies
    12
    Views
    1,396

    Re: bit fields...

    This code is for data communications between systems...
    I cannot assume that it will be my code on both ends.
    But I just noticed this bug where the low bit has now become the high bit.
    Now I'm...
  24. Replies
    12
    Views
    1,396

    bit fields...

    I have a structure...

    typedef struct
    {
    unsigned int item_len;
    unsigned char PresentationContextID;
    unsigned char unused : 6;
    unsigned char last : 1;
    unsigned char...
  25. Replies
    5
    Views
    716

    Re: Rule of 3 for a simple class...

    Yes I guess your right..
    As none of the properties are pointers to data....
    Right?
Results 1 to 25 of 105
Page 1 of 5 1 2 3 4





Click Here to Expand Forum to Full Width

Featured