+ 2

How can i use alloc.h header file in Windows?? It does not work..plz help me..

i have Windows laptop and i also used code block software for c language..but when i try to use alloc.h header file it not find in file library...

4th Jan 2018, 2:59 AM
Vaibhav Kakad
Vaibhav Kakad - avatar
1 Respuesta
+ 7
as code blocks uses gnu gcc compiler and the gnu gcc compiler has removed alloc.h here is the link which tells you more about which header file is removed👇👇👇 http://gcc.gnu.org/gcc-4.3/porting_to.html use <stdlib.h> ---> for c or use <memory> ----> for c++ :)
4th Jan 2018, 5:01 AM
MR Programmer
MR Programmer - avatar