Search:

Type: Posts; User: micahharwell

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    2,201

    I'm not an fan of any home page that's more than...

    I'm not an fan of any home page that's more than 75KB. But I've gone to Google and I see no change as far as the background is concerned. It's showing up as plain white for me.
  2. Thread: Firefox 4

    by micahharwell
    Replies
    49
    Views
    5,603

    If there is one thing that FF has that keeps me...

    If there is one thing that FF has that keeps me coming back, it's the FireBug extension. I develop websites and there are two tools that are just plain mandatory - a good text editor, and FireBug!
  3. Okay. In my application, the only dynamic members...

    Okay. In my application, the only dynamic members are STL containers. It appears that they are "copy safe". Thanks again guys.
  4. Alrighty! Thanks guys! It's a learning curve, but...

    Alrighty! Thanks guys! It's a learning curve, but I'm climbing it - and this board gives me a foothold when I can't find one.
  5. Replies
    16
    Views
    2,227

    It doesn't appear that you return out of the main...

    It doesn't appear that you return out of the main function at the end of the program. Perhaps a simple



    return 0;


    before your last closing brace may help here.

    Edit:
  6. Default copy constructor vs. STL containers

    I've been reading and understand that classes that contain dynamically allocated members will copy only the pointer to these members when using the default constructors. But I've only seen this in...
  7. We should we all strive to be as correct as...

    We should we all strive to be as correct as possible. I mean, using int main() isn't really a trivial matter of taste or style, it's the correct way to do it. It just seems strange to me that a...
  8. I'm assuming you want to use some functions to do...

    I'm assuming you want to use some functions to do this, and that's much better than trying to code it inline. I'm guessing you haven't done classes yet, so I'd make several functions:
    ...
  9. Replies
    9
    Views
    2,598

    Yes, thank you Bubba. When I first read your post...

    Yes, thank you Bubba. When I first read your post I didn't quite understand, I'd never used the ::find member function before. You definitely got me on track there.
  10. Replies
    9
    Views
    2,598

    Okay, I think I've got it. I just needed to get...

    Okay, I think I've got it. I just needed to get an iterator to the segment in question...



    void someFunction(void)
    {
    map <unsigned int, unsigned int>::iterator iterCurrent;
    unsigned int...
  11. Replies
    9
    Views
    2,598

    I need a map, I think. For each segCounts there...

    I need a map, I think. For each segCounts there will be an assortment of length/count pairs that need to be stored.
  12. Replies
    9
    Views
    2,598

    What I'm really looking to do is retrieve and set...

    What I'm really looking to do is retrieve and set the two values in segment. I thought that this was done with the .first and .second members of the map, but I guess I'm mistaken.
  13. Replies
    9
    Views
    2,598

    Another map question

    I'm working on a simple data structure and some functions that take various shapes and perform calculations on them. The shapes will be constructed out of real physical materials, and I need a way to...
  14. Replies
    40
    Views
    13,472

    I really got a kick out of that... only a C...

    I really got a kick out of that... only a C book...
  15. Just an update. I did install VS2010 Express......

    Just an update. I did install VS2010 Express... success!

    The IDE is more responsive than 2005, scrolling through wide areas of code is not laggy at all now. This, more than anything, surprised me....
  16. The 2005 IDE crashed on me once in the month or...

    The 2005 IDE crashed on me once in the month or so that I've been using it. I save fairly often, and it loads quickly so that bothers me less than how it performs. I can't stand sluggishness, I have...
  17. Okay, I appreciate the info. I'll download it...

    Okay, I appreciate the info. I'll download it this evening and give it a whirl. I'll need to go to a friend's house to get it - I'm on dial-up. ;-)

    And maybe I don't even need MFC, I'll look into...
  18. Visual Studio 2010 Express vs 2005 Standard

    I've been using VS 2005 Standard for my work and it was recently recommended to me to try out VS 2010 Express. I have a couple of questions before I make a jump though.

    1. Can I install VS2010 and...
  19. Replies
    2
    Views
    1,288

    That functionality is built in to most browsers....

    That functionality is built in to most browsers. A simple right-click on the page, select "View Source" and you've got the HTML source. I don't understand where C comes into the picture.
  20. Replies
    8
    Views
    1,994

    Just keep in mind that every release of Windows...

    Just keep in mind that every release of Windows has additional Win32 functions, structures. It is possible to use Win32 functions that work in Windows 2000 for example, that will not work in Windows...
  21. Thread: Fractions

    by micahharwell
    Replies
    4
    Views
    3,388

    It just so happens that I wrote a library to deal...

    It just so happens that I wrote a library to deal with fractions. I took the struct approach, using longs to represent a whole number, a numerator and a denominator. I added the whole number in...
  22. Replies
    40
    Views
    13,472

    I came across this thread in my search to...

    I came across this thread in my search to understand the map container and how to use it. I'm barely getting by with C (I just started programming a month ago), and C++ is an entirely different ball...
Results 1 to 22 of 22