how can i install alloc.h in my computer?i need to compile a program and i don't know how to install it...can someone tell me?

alloc.h is a nonstandard header file. What are you trying to compile with?

1. It's obsolete. You should really use stdlib.h for getting prototypes to malloc etc. It was used by some ancient compilers, but not anymore.

2. You can't just download a .h file, that's not how it works. You need a library as well, one which is compatible with your compiler.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.