Recent content by otherwise

  1. O

    C++ : Is using stl containers like this safe?

    Ok, ugh. Do STL iterators have the same lifetime rules, or are these a bit smarter?
  2. O

    Question about Foreign Languages and Programming Lanuages

    It's really a lot of work for not much return. Really it's best just to think of keywords like "if" the same way as keywords like "{", it just happens that they have extra meaning if you know english. You also go into issues like "if" "then" "else" don't necessary translate well across...
  3. O

    Interview questions

    Some really basic C++ questions that people stumble on for some reason (off the top of my head): 1. When do you use a pointer? auto pointer? smart pointer? What's the difference between the three? 2. Explain the difference between stack and heap lifetimes. 3. Your program is leaking...
  4. O

    C++ : Is using stl containers like this safe?

    Check the return value of what? The structure is the return value of m_values[KEY], and will construct an object if the KEY doesn't exist. I really need a "yes" or "no" answer to the underlying question, if assuming code is guarded properly, if the code is considered valid. I guess what...
  5. O

    C++ : Is using stl containers like this safe?

    m_values is a std::map<int, Structure> Structure& structure = m_values[KEY]; structure.setValue(whatever); Basically, does stl gaurentee that the Structure& reference will always be valid, or does stl internally copy around members under certain circumstances?
  6. O

    M3A78 - Really dumb question about memory

    Thanks for the reply. One more question. The manual clearly states that for dual-channel mode use slots A1/B1. The A banks are black, the B banks are yellow, i.e. if the slots were labeled "0/1/2/3" I'd be using 0 and 2 -- one black and one yellow slot. CPU-Z however says I'm currently...
  7. O

    M3A78 - Really dumb question about memory

    Bought a M3A-78 and a Phenom 9600 for a budget box, and intended to overclock it. I have an original scythe ninja (bought a AM2->478 retention bracket convertor) whose clip was pretty poorly designed, and is currently interfering with the memory. I need about .25-0.5cm of room for this to...
  8. O

    Old socket 939 HSF -- Any way to use it with AM2?

    I have a Scythe Ninja rev. A that I've been using with my socket 939 forever. I am building a new AM2+ system and want to carry it over. I am wondering, is this possible? Really, I can see a couple possible scenarios: 1. The retention mechanism of the original ninja (pdf warniing ...
  9. O

    Quick C++ Question, can't erase from a std::string

    Well, it works now! I didn't change a thing. All that has changed is I rebooted after installing some updates. I'm a little puzzles exactly what happened, but for now I'll let it slide.
  10. O

    Quick C++ Question, can't erase from a std::string

    Thanks for the reply, I miswrote the sample code. It is supposed to be myCopy.erase(0,myCopy.find("#INDUCTION") + 10). Editing the op now. find() is guaranteed not to be string::npos because of code elsewhere, basically this is in a functor that only runs if a regexp guarantees a certain...
  11. O

    Quick C++ Question, can't erase from a std::string

    Hello all. I am writing a quick and dirty parser. I have code that wants to consume everything up to the end of a tag. I write this to find an #INDUCTION tag: myCopy.erase(0, myCopy.find("#INDUCTION") + 10); This works wonderfully, unless myCopy.find("#INDUCTION") == 0. Then it erases...
  12. O

    Having trouble finding an absolute minimal Linux distro.

    Hello all. I've been trying to find a linux distro that pretty much contains the absolute bare minimum required s.t. I don't have to bootstrap a compiler. Pretty much just partation tools, gcc, the kernel, and a shell (preferably bash). Does such a distro exist? The closest I've found is...
  13. O

    Turning off write cacheing enabled by default for removable drives in Vista

    I read through the article linked, but the behvaiour specified simply doesn't match what I'm seeing Vista do. Write cacheing is shown as on by default in the GUI. Is there another way to manually check those flags to verify what the GUI is showing me?
  14. O

    Turning off write cacheing enabled by default for removable drives in Vista

    By default Vista has write cacheing enabled for removable drives (in this case, as USB thumb drive). I am trying to figure out how to change the default to "disabled." Or, failing that, how to get vista to "remember" that the particular thumb drive I am using should never have write cacheing...
  15. O

    Gigabyte P35 Motherboard Thread

    What memory addresses correspond to the video card? What sort of protection mechanisms are used to prevent the system from treating the video card memory as system memory?
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |