I am having a problem. When I try to complie a program I get an error message cannot open stdio.h file ne1 know what I am doing wrong.
I am having a problem. When I try to complie a program I get an error message cannot open stdio.h file ne1 know what I am doing wrong.
Hell, change compiler dude
QuickC is so old, try downloading one free, Dev-C++ is a nice option, look here: http://www.cprogramming.com/other.html
Hmm, you did write:
Code:#include <stdio.h>
I am taking class in C is C++ the same as C
C isn't C++.
Dev-C++ compile as well C sources, you should try it.
Hmm, in the include directory of your compiler, can you see the stdio file?
yes its in the include dont know why it say cant open it
NO!!!
C++ is OOP (Object Oriented Programming) language
e.g.:
class Car
{
public:
void drive()
{
..........
}
.
.
.
.
};
You can write: Car.drive()
or a class Man: Man.run()...........
I'm not really the fan of C, cause I code in C++
And often it's hard for me to code in C / for C compilers, cause there no Objects....
Try to get the path/dir of the file:
e.g.:
write:
#include <C:/Program/microsoft/quickc/include/stdio.h>
Don't know ur dir, so u have to look....
Last edited by codingmaster; 01-24-2003 at 05:06 PM.
So is something wrong with your compiler, try using Dev-C++, it's for free and works fineOriginally posted by cemock
yes its in the include dont know why it say cant open it
hey thks for help i will try it see if I can get it too work thks again
yes I include #include <stdio.h> and it came up with the error message.
No it isn't. Read this .Originally posted by cemock
is C++ the same as C
QuickC is old (kinda remembers me of QuickBasic), take a more
modern and free compiler, Dev++ or Boreland.
<stdio.h> is probably not a standard on your compiler.
Ok, You did install the compiler correctly? if you're sure on that, your compiler isn't working, try in other ways like #include "stdio.h".Originally posted by cemock
yes I include #include <stdio.h> and it came up with the error message.
Hmm, is just this header that don't work, or other libs, don't work too?
If u have older compilers, like TPasal, QuickBasic or QuickC
There are often files in the dir, where the compiler is installed, that u can config...
Something like config, edit.....????
There u can set the include dir, the lib dir.......
>C++ is OOP (Object Oriented Programming) language
C++ is a hybrid language, it allows you to program in a procedural way.
>yes I include #include <stdio.h> and it came up with the error
>message.
What is the exact error message it gives? Can you post the error message the compiler gives?
welcome .c (3) : fatal error c1024 : cannot open include file 'stdio.h'
Thats the error message that i get