Search:

Type: Posts; User: jogn

Search: Search took 0.01 seconds.

  1. Thread: Help revising

    by jogn
    Replies
    11
    Views
    1,228

    But it can't read the name right now, it either...

    But it can't read the name right now, it either gives no name or invalid characters.



    #include <iostream>
    #include <fstream>

    using namespace std;

    char *data;
  2. Thread: Help revising

    by jogn
    Replies
    11
    Views
    1,228

    #include #include using...

    #include <iostream>
    #include <fstream>

    using namespace std;

    char *data;

    int main()
    {
  3. Thread: Help revising

    by jogn
    Replies
    11
    Views
    1,228

    Ah, I had that the first time.

    Ah, I had that the first time.
  4. Thread: Help revising

    by jogn
    Replies
    11
    Views
    1,228

    > name[x] = pnt; name doesn't point anywhere...

    > name[x] = pnt;
    name doesn't point anywhere specific, so who knows what memory you're trashing.
    This is the most likely cause of the segfault, if the pointer just happens to be pointing outside...
  5. Thread: Help revising

    by jogn
    Replies
    11
    Views
    1,228

    EXECUTING:...

    EXECUTING:
    /home/rab/Files/code/c++/wadrip/wadrip
    ----------------------------------------------

    ----------------------------------------------
    Program has been terminated receiving signal 11...
  6. Thread: Help revising

    by jogn
    Replies
    11
    Views
    1,228

    Help revising

    I need help revising this code, i've tryed to get it to work but nothings worked for me. Any help?



    #include <iostream>
    #include <fstream>

    using namespace std;

    int main()
Results 1 to 6 of 6