Search results

  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?
  16. O

    Gigabyte P35 Motherboard Thread

    Been procrastinating, but still need new memory. Can anyone here answer this?
  17. O

    Gigabyte P35 Motherboard Thread

    @Bluebeam The limit is 4Gb, i.e. 2^32 (4,294,967,296 bits / 4 Gb). That's where the "32" in 32-bit operating system comes from, a 64 bit operating system can address 2^64 bits of memory (18,446,744,073,709,551,616 bits, 4,294 Petabytes) without any tricks. This is system memory only...
  18. O

    Gigabyte P35 Motherboard Thread

    I probably misphrased my reply. I am saying that when the CPU is not under load, the fan on the HSF does not run. The HSF itself is cool to the touch, and when in the BIOS (I haven't installed any monitoring utilities in windows) the CPU temps are well within specs. The system runs...
  19. O

    Gigabyte P35 Motherboard Thread

    Memtest runs fine with either stick, but it won't post with both sticks in dual or single channel mode.
  20. O

    Gigabyte P35 Motherboard Thread

    By the way, is there any chance that people who have working memory can post exactly what sticks they have? I need to order a new pair tonight and I really don't want to have to deal with the headache of a RMA again :( The two I've seen mentioned in this thread are extreemly premium sticks...
  21. O

    Gigabyte P35 Motherboard Thread

    Came to this thread to ask for memory reccomendations because the board did not like my Corsair CM2X1024-6400C4. Looks like I'm not alone! Incidently, this is the 2nd P35 board I've had that did not like these chips, the other was intel branded. This might be a chipset issue. Also wanted...
  22. O

    Completly new build, won't post, keeps rebooting -- UPDATE need some more help

    July 13th Update -- System still dead. See op for more info :(
  23. O

    Gigabyte P35 Motherboards -- Please explain the price to me

    Hello all. Really simple question. I need to pick out a C2D motherboard by tomorrow morning, and was looking at the Gigabyte P35 boards. I cannot for the life of me figure out why one board is more expensive then the other. Can someone who is more knowledgeable then me look at the two, and...
  24. O

    Completly new build, won't post, keeps rebooting -- UPDATE need some more help

    Thanks for the advice. I've been working on the board on my (wood) desk :(
  25. O

    Completly new build, won't post, keeps rebooting -- UPDATE need some more help

    I just finished a power supply swap with a SLI-approved 635W Enermax. No go. So far, I've tested every component I could. As far as I see it, the possible cause is pretty much down to three things: 1. The memory is defective. 2. The CPU is defective. 3. The Motherboard is...
  26. O

    Completly new build, won't post, keeps rebooting -- UPDATE need some more help

    I'll try the swap out, but I think the card should have enough juice. I added up the power needed when I built the computer and it's well within spec. The video card doesn't even have a 6-pin PCI-E connector.
  27. O

    Completly new build, won't post, keeps rebooting -- UPDATE need some more help

    Hello all. I am in the middle of building a brand new system, and am having severe problems. The system, as it stands right now, is an Intel P35DPM Motherboard (P35), Intel C2D 4400, a eVGA 8600GT, 2Gb of Corsair DDR2, and an Antec 380W powr supply. I have no other components connected to...
  28. O

    Vista NTFS -- Is there a tool to reize NTFS partations?

    Oh, and thanks for the advice so far! I do consider this the easy way out though because even though it's not very elegant, I don't want to deal with surprises down the road using a tool that appears to work, because in my experience too many tools just barf (some silently) when dealing with...
  29. O

    Vista NTFS -- Is there a tool to reize NTFS partations?

    Not just XCopy, a lot of other tools barf on these :( I have a lot of documents in Chinese and Korean on the computer in question and various programs just completely choke on unicode or non-printable characters (i.e interpreting depreciated multi-byte character systems as single-byte systems)...
  30. O

    Vista NTFS -- Is there a tool to reize NTFS partations?

    I've tried just about everything, and I've never successfully copied over a filesystem intact going file by file. Everything from good old XCopy (which runs out of memory if the tree gets too deep) to special utilities. It all chokes somewhere, I'd rather take the easy way out.
  31. O

    Vista NTFS -- Is there a tool to reize NTFS partations?

    Hello all, a simple question, but a surpringly hard one to answer. I am building a new vista system, and want to copy the files over from the old (win2k, ntfs) system. Considering the old system only has a 20 gig hard drive and the new one a 320 gig drive, I was just going to copy the...
  32. O

    Quick Vista Question : Can you install 3rd party RAID drivers w/o a floppy drive

    Hello all, I am planning on building my first system with Vista as the OS, but need some info. I am using a dedicated RAID card which will host the OS, which does have Vista drivers available but not included with Vista. The motherboard I want to use does not have a floppy connector. In the...
  33. O

    Question about Raid1

    Thanks again for your advice Captante. I have one last question for you. Would this highpoint card be essentially the same as the 1740 you linked? On paper they look the same spec-wise except for the PCI-E interface, and I am going to guess it is a hardware card since there are memory chips...
  34. O

    Question about Raid1

    :confused:
  35. O

    Question about Raid1

    A quick termonology question. What are "hardware independent" RAID solutions like Dynamic Disc Arrays referred to, considering the term "software RAID" is already taken?
  36. O

    Question about Raid1

    Is there some advantage to hardware raid besides performance? The things I care most about are notifications and reliability which really don't seem to require a hardware raid solution. I was thinking about something along the lines of this adaptec card. It might be "software" raid but it...
  37. O

    Question about Raid1

    Thanks for the replies so far! Performance really isn't a concern. The system is being upgraded from a P3 566 MHz that is on its last legs. I don't think the performance difference between Raid 1 solutions is going to make a big difference in perception here! Now, three more questions...
  38. O

    Question about Raid1

    Hello all. I'm building a computer that's going to store some pretty important data, so in addition to weekly backups I wanted to have two drives in raid 1. I know how this should work in theory, but I have some questions about how it works in pratice: 1. The first option is hardware...
  39. O

    Socket A motherboards /w PCI-E?

    Hello all. My question is simple -- do these exist? If they do, what chipset did they use? I've been trying to google the answer but I haven't had any luck with it at all.
  40. O

    Problem with x1900xt 512MB with Asus P5NSLI board

    Still having the same problem :( How would this be a "PICNIC" error? Latest drivers and bios', identicle systems, same problem. Is there something obvious that I am not doing?