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;
Type: Posts; User: jogn
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;
#include <iostream>
#include <fstream>
using namespace std;
char *data;
int main()
{
Ah, I had that the first time.
> 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...
EXECUTING:
/home/rab/Files/code/c++/wadrip/wadrip
----------------------------------------------
----------------------------------------------
Program has been terminated receiving signal 11...
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()