|
|
back to boardCommon BoardWhy can't I use <string.h> and <malloc.h>? This resulted CE: ---------------------------------- // 1000, C++ #include <stdio.h> #include <string.h> #include <malloc.h> #include <conio.h> void main(){ int a,b; scanf("%d%d", &a, &b); printf("%d", a+b); } --------------------------------- What is allowed to include? You can use the first but the second. You should use<stdlib.h> instead of the second. |
|
|