top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

what is _popcnt64() function in c++ and how to use it in programming?

+1 vote
969 views
what is _popcnt64() function in c++ and how to use it in programming?
posted Oct 24, 2016 by Shivam Kumar Pandey

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

Counts the number of one bits (population count) in a 64-byte unsigned integer. (only work with 64bit computer)
Header file required: <intrin.h>

answer Oct 25, 2016 by Salil Agrawal
...