Relative Content

Tag Archive for c++primesmemsetsieve-of-eratosthenes

basic c++ (memset and fill)

can anyone tell me the difference between ‘memset’ and ‘fill’ in c++?
I quite confused why my code doesn’t work with ‘memset’ but does with ‘fill’
I haven’t had this problem, so I don’t know why this is happening
can anyone help me?
thank you! :))