Search:

Type: Posts; User: Mariano L Gappa

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Thx for all the replies. I've learned lots about...

    Thx for all the replies. I've learned lots about the subject. Thx Daved for your expertise, you've been of great help eversince I've joined back in 2005. I'll be back really soon :D

    Mariano Lopez...
  2. My bad :D. Imma try it now. I thought I'd get...

    My bad :D. Imma try it now. I thought I'd get type mismatch that way...

    Thx for replies :D
  3. Yeah, I was familiar with those definitions, what...

    Yeah, I was familiar with those definitions, what I didn't know was if they were applicable to objects as well (I mean, of course it is, but perhaps it wasn't needed).


    I agree, but sadly Imma be...
  4. Ok, so you mean like this right? When I...

    Ok, so you mean like this right?

    When I invoke:

    myFunc(&object);

    When I declare:

    myFunc(Class &object){...}
  5. Newb Question on Passing Objects as Parameters

    Does passing a pointer to an Object to a function instead of the Object itself save memory and the little time spent in copying memory?

    Passing pointer would be:

    myFunc(Class *object)

    Object...
  6. Replies
    2
    Views
    801

    Just what I needed! Thx!

    Just what I needed! Thx!
  7. Replies
    2
    Views
    801

    DBs on C++ Win32 apps

    What's the way to go on using DBs on C++ Win32 apps?

    My needs:

    -MySQL-like queries
    -No Internet, just my app and memory/disk

    I can't use MySQL with MySQL++ because it would require MySQL...
  8. sorry I didn't reply earlier, too many exams plus...

    sorry I didn't reply earlier, too many exams plus lazy memory. Ima probably use BCC32 from Borland, the free version, so I guess it's just looking into BCC32 documentation...thx for the insight...
  9. ya, scandir is linux-specific probably it's...

    ya, scandir is linux-specific probably

    it's not windows, it's DOS, that's why it's probably not gonna work
  10. Replies
    10
    Views
    3,546

    oh ok, Enahs code seems portable to DOS, I didn't...

    oh ok, Enahs code seems portable to DOS, I didn't know time would work further than seconds.

    PROBLEM SOLVED !!! THX TONTO AND ENAHS
  11. ya, thing is that I don't want to include...

    ya, thing is that I don't want to include windows.h since something tells me it won't work on my 486 where I'll be coding... scandir and stat do work
  12. Replies
    10
    Views
    3,546

    shoot I just realized that this method won't go...

    shoot I just realized that this method won't go further than seconds, back to square 1... :(
  13. Replies
    10
    Views
    3,546

    THX A LOT!!!! That's what I needed!! Just one...

    THX A LOT!!!! That's what I needed!!

    Just one more thing: this solved most of the problem, but should I place this:



    time (&end);
    dif = difftime (end,start);
  14. How to know if a listed file item is a dir

    I need to list files and directories, including subfolders, filtering output, all common functions regarding filesystem. For all this I've chosen the "stat" function and "scandir" function but I seem...
  15. Replies
    10
    Views
    3,546

    I've run a little google search and found out...

    I've run a little google search and found out some sort of explanation, but it seems that it would not work on lazy DOS PC's, like the 486dx2 I'm planning to code with...I should have said this...
  16. Replies
    10
    Views
    3,546

    i'm not familiar with this functions, what...

    i'm not familiar with this functions, what library should I include? does it work both in console and MFC application? would you briefly describe how they work?

    Thanks in advance,

    Mariano...
  17. Replies
    10
    Views
    3,546

    Timer for C++ console reflex game

    What's the most efficient way to implement a timer on a C++ console program? Any hope it would be portable to MFC Application? I need up to millisecond precision. This need is mainly for a reflex...
  18. ok thx a lot ill be doing that. THX :D:D !

    ok thx a lot ill be doing that. THX :D:D !
  19. yaya, THAT'S IT, so its memcpy, thx Ancient...

    yaya, THAT'S IT, so its memcpy, thx Ancient Dragon. But there's still an issue. What if I got an int being the port number, which is to be stored in a char[2]?

    A 4-byte-int won't fit on a...
  20. Not atoi, not sprintf, but "int coded into char*"

    (this is to be solved in ANSI C, not really ANSI required but it'd be great not to get warnings with -Wall)

    This program packs, sends and recieves Descriptors according to the Gnutella Protocol...
  21. Well, all has been said. For now, the chosen...

    Well, all has been said. For now, the chosen method will be deque inside list, and i'll make my own multi sort and = check. Later on I might find nesting deques more efficient, I'll make sure to...
  22. Nono, I'll use STL, I'm reading a tutorial as I...

    Nono, I'll use STL, I'm reading a tutorial as I speak. That code was an example of the idea with concepts I could understand.

    If I could pull off the deque inside list thing it'd be great.
    ...
  23. hey wait wait EUREKA!! I might have found an...

    hey wait wait EUREKA!! I might have found an alternate solution!

    Can't I make a list holding a vector-deque inside?? This way there would be n fields (if user needs one more, vector-deque grows)...
  24. Great!! Well I won't take more of your time since...

    Great!! Well I won't take more of your time since you provided me with a load of information which I'll have hours and hours to research from. Thx for all the help as you've pointed me on the right...
  25. Well, there's much of this code that I don't...

    Well, there's much of this code that I don't fully understand, though I suspect what it should logically do...but I won't be able to compile it on a 486dx2...VC will need at least W98...

    Still...
Results 1 to 25 of 30
Page 1 of 2 1 2