Click here to Skip to main content
15,917,951 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: Visual studio Pin
David Crow28-Apr-17 15:59
David Crow28-Apr-17 15:59 
Questionerror LNK2019: unresolved external symbol __stdio_common_vsprintf referenced in function sprint VS 2015 Pro Windows 10 Pin
ForNow28-Apr-17 9:00
ForNow28-Apr-17 9:00 
AnswerRe: error LNK2019: unresolved external symbol __stdio_common_vsprintf referenced in function sprint VS 2015 Pro Windows 10 Pin
Jochen Arndt28-Apr-17 22:12
professionalJochen Arndt28-Apr-17 22:12 
GeneralRe: error LNK2019: unresolved external symbol __stdio_common_vsprintf referenced in function sprint VS 2015 Pro Windows 10 Pin
ForNow29-Apr-17 16:49
ForNow29-Apr-17 16:49 
QuestionHelp Pin
Member 1302311827-Apr-17 5:29
Member 1302311827-Apr-17 5:29 
AnswerRe: Help Pin
Dave Kreskowiak27-Apr-17 6:04
mveDave Kreskowiak27-Apr-17 6:04 
AnswerRe: Help Pin
ThatsAlok11-May-17 20:47
ThatsAlok11-May-17 20:47 
QuestionHelp Pin
Member 1302311824-Apr-17 10:05
Member 1302311824-Apr-17 10:05 
hello, can anyone helps me to know what does this function do I got confused in different operators. I will be grateul for you
void H(u64 diff, u64 &m, u64 &w) {
	u64 m1 = 0;
	u64 m8 = 0;
	w = 0;
	int i;

	for (i = 0; i < BLOCK_SIZE; ++i) {
		if ((diff >> i) & 1) {
			// saw a 1 on position i
			// put zeroes on positions i+1 and i+8
			m1 |= (0x1 << ((i+1)%BLOCK_SIZE));
			m8 |= (0x1 << ((i+8)%BLOCK_SIZE));
		}	
	}
	m = (m1 | m8) ^ WORD_MASK;

	for (i = 0; i < BLOCK_SIZE; ++i) {
		if (
			((m1 >> i) & 1) == 0 &&
			((m8 >> i) & 1) == 1 &&
			((m1 >> ((i+7) % BLOCK_SIZE)) & 1) == 1 &&
			((m8 >> ((i+7) % BLOCK_SIZE)) & 1) == 0
		)
			w ^= (0x1ull << ((i+7) % BLOCK_SIZE));			
	}

	m |= w;
}

AnswerRe: Help Pin
jeron124-Apr-17 10:38
jeron124-Apr-17 10:38 
GeneralRe: Help Pin
Member 1302311824-Apr-17 11:01
Member 1302311824-Apr-17 11:01 
GeneralRe: Help Pin
leon de boer25-Apr-17 5:16
leon de boer25-Apr-17 5:16 
AnswerRe: Help Pin
Richard MacCutchan24-Apr-17 21:58
mveRichard MacCutchan24-Apr-17 21:58 
QuestionRe: Help Pin
David Crow25-Apr-17 3:59
David Crow25-Apr-17 3:59 
QuestionUsing menu key Pin
_Flaviu23-Apr-17 21:34
_Flaviu23-Apr-17 21:34 
QuestionRe: Using menu key Pin
Richard MacCutchan23-Apr-17 21:56
mveRichard MacCutchan23-Apr-17 21:56 
AnswerRe: Using menu key Pin
_Flaviu23-Apr-17 22:15
_Flaviu23-Apr-17 22:15 
GeneralRe: Using menu key Pin
Richard MacCutchan23-Apr-17 22:56
mveRichard MacCutchan23-Apr-17 22:56 
AnswerRe: Using menu key Pin
Jochen Arndt23-Apr-17 22:40
professionalJochen Arndt23-Apr-17 22:40 
GeneralRe: Using menu key Pin
_Flaviu23-Apr-17 23:11
_Flaviu23-Apr-17 23:11 
QuestionNot getting the visible bottom index of the List Control in MFC? Pin
SanjayK7023-Apr-17 1:44
SanjayK7023-Apr-17 1:44 
AnswerRe: Not getting the visible bottom index of the List Control in MFC? Pin
Michael_Davies23-Apr-17 1:55
Michael_Davies23-Apr-17 1:55 
GeneralRe: Not getting the visible bottom index of the List Control in MFC? Pin
SanjayK7025-Apr-17 18:58
SanjayK7025-Apr-17 18:58 
AnswerRe: Not getting the visible bottom index of the List Control in MFC? Pin
Jochen Arndt23-Apr-17 21:17
professionalJochen Arndt23-Apr-17 21:17 
GeneralRe: Not getting the visible bottom index of the List Control in MFC? Pin
SanjayK7025-Apr-17 18:57
SanjayK7025-Apr-17 18:57 
QuestionFind the Eigenvalues and Eigenvectors using C Language Pin
Member 1314582022-Apr-17 17:27
Member 1314582022-Apr-17 17:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.