ITADN

Code error

#5Closedmoghadas76 创建于 2024-12-08
M
moghadas76commented
https://github.com/Infatoshi/cuda-course/blob/master/03_C_and_C%2B%2B_Review/01%20Pointers/04.c test.cu(22): error: a value of type "void *" cannot be assigned to an entity of type "int *" ptr = malloc(sizeof(int)); ^
关闭于 2026-03-11 2 条评论