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

problem in c programming

Name: giovanni_spatolone 2013-08-30 3:48

hi, i have this problem: http://pastebin.com/LMm1Sxh8

Name: Anonymous 2013-08-30 4:12

#pragma once
The above forces the compiler to include the current file just once.

Name: Anonymous 2013-08-30 4:18

resolved: in b.h i had to write:
struct a;
typedef struct a a_t;

Name: Anonymous 2013-08-30 4:18

#pragma once , and make sure you define a type/struct before you use it
The headers load from the top to the bottom
#include "first.h"->which starts with #include "second.h"->which starts with #include "third.h"
will load in this order: third.h+second.h+first.h+rest of code

Name: Anonymous 2013-08-30 5:06

>>1
HAY STACK BOY, HEREZ MY PROGRAM THAT PICKS YOU UP ON A MAGIC CARPET AND SHOVES YOUR HEAD IN YOUR GRANDMA'S ANUS:

int main(void) { int a, b = a + 10; return 0; }

HOW DO YOU LIKE THAT, STACK BOY?

YAINT RED DA FUCKIN STANDARD
YAINT KNO WATS UNDEFINED BEHAVIOUR IF IT POKED YA IN THE ANUS
YAINT CLEVER NUFF TO BE A PROGRAMMER
Y'ONLY GOOD NUFF TO BE ZED SHAW JUNIOR, WHO POKES AND PRODS SHIT WITHOUT EVER READING A FUCKING SPEC.

BACK TO RETOID SKOOL WITH YOU, STACK BOY.

Name: Anonymous 2013-08-30 6:26

>>5
dude, seriously, fuck you

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