Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Halp

Name: Anonymous 2009-06-17 18:13

in during idiot expecting /prog/ to help someone:
#include <fstream>
char * ops = "111";
//irrelevant
    std::ifstream options;
    options.open("ast.cfg");
    options.get(ops, 3);//Crash with no debug message on this line.
    options.close();
//irrelevant
How did I fuck up? Please?

Name: Anonymous 2009-06-17 19:04

Protip: there's a difference between an array of chars and a pointer to a constant string.
I can't believe this is still an issue for people.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List