Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. Ixcaliber

    Stop build doesn't stop

    Maybe try to compile all cpp files separately and then rebuild... That worked for me once with the same problem!
  2. Ixcaliber

    Pointer problems with (char*)

    Thanks Akarui, it works great with the string class. I was hoping to understand the pointer arrays, and mem allocation, but it seems finding ways around the problem is usually easier than understanding what the problem really is...
  3. Ixcaliber

    Pointer problems with (char*)

    I have the following code, and am trying to read in a character string from the keyboard, and save it as the name of the vector... but as you can see from the output, the input is saved until the next cin statement, at which time the name is switched to 2!! I imagine it is some pointer problem...
  4. Ixcaliber

    Why does this dyn. array alloc. work?? it shouldn't!?!

    Thanks, that clears alot up... I was thinking of the array as a list of pointers randomly thrown wherever there was space on the heap, but now that I see that the pointers are all in one memory block with consecutive addresses, it all makes sense... I will make sure that I keep an eye on the...
  5. Ixcaliber

    Why does this dyn. array alloc. work?? it shouldn't!?!

    Thanks, I guess I will just have to pay more attention so I avoid the problem by elimination... cheers
  6. Ixcaliber

    Why does this dyn. array alloc. work?? it shouldn't!?!

    I'm using viz studio 6 (shouldn't matter, but fyi), and am kind of curious why this works... #include<iostream> #using namespace std; int main(int argc, char* argv[]) { int *p; p = new int[10]; for (int i=0;i<10;i++) p = i; // curiosity lies here, i increases out of the domain...

Part and Inventory Search

Back
Top