K im pretty fluent with python but have recently switched too "C" and found it far more complicated =( i was wondering if anybody could help me with opening a file named "program" ?? Im on linux, and i wanna open a file in my home directory and get the letters fpdirectory. . So far i have this
#include <stdlib.h>
#include <stdio.h>
main()
{
FILE *program;
do {
char ch;
ch = getc(fp);
}
while(ch!=EOF);
}

can you tell me what im doing wrong plz??? thanks a ton

Sorry i forgot to include something
FILE *program;
fopen(program);
do {


THATS how it really is i accidently typed it in wrong