GLProgramming.com

home :: about :: development guides :: irc :: forums :: search :: paste :: links :: contribute :: code dump

-> Click here to learn how to get live help <-


New Paste :: Recent Pastes:: No Line Numbers


A Paste by godecho
1
 
#include <fstream>
#include <cstdio>

int main(int argc, char **argv)
{
        FILE* blert = 0;
        blert = fopen("this\nis\nlame", "w");

        if(blert)
        {
                printf("hah.\n");
                fclose(blert);
        }
        else
        {
                printf("nope");
        }

        return 0;
}