Search:

Type: Posts; User: hauzer

Search: Search took 0.01 seconds.

  1. Replies
    7
    Views
    2,049

    It's windows. I will just use _getch().

    It's windows. I will just use _getch().
  2. Replies
    7
    Views
    2,049

    Okay, I made it this time and it works great,...

    Okay, I made it this time and it works great, except one thing. cin.get() doesn't work at the end:



    #include <stdlib.h>
    #include <iostream>
    #include <vector>

    using namespace std;
  3. Replies
    7
    Views
    2,049

    I see that vectors are useful but can you show me...

    I see that vectors are useful but can you show me how can I do it with new? Also, I tried compiling with vectors but it seems that they are not a member of std.

    EDIT: I researched a bit and I see...
  4. Replies
    7
    Views
    2,049

    So that is not how C++ new works? I thought it...

    So that is not how C++ new works? I thought it can "detect" if it needs to malloc or realloc, or something.. Can you give me an example?
  5. Replies
    7
    Views
    2,049

    Annoying crash..

    I am wondering why does this program crash:



    #include <stdlib.h>
    #include <iostream>

    using namespace std;

    int main(int argc,char **argv)
Results 1 to 5 of 5