Click here to Skip to main content
15,847,264 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: What's the closest thing to anonymous function pointers I can achieve that compiles with GCC? Pin
arnold_w4-Aug-20 6:21
arnold_w4-Aug-20 6:21 
Questionuse argv while debugging Pin
chipp_zanuff4-Jul-20 21:08
chipp_zanuff4-Jul-20 21:08 
AnswerRe: use argv while debugging Pin
Richard MacCutchan4-Jul-20 22:09
mveRichard MacCutchan4-Jul-20 22:09 
GeneralRe: use argv while debugging Pin
chipp_zanuff4-Jul-20 23:15
chipp_zanuff4-Jul-20 23:15 
GeneralRe: use argv while debugging Pin
Richard MacCutchan4-Jul-20 23:19
mveRichard MacCutchan4-Jul-20 23:19 
GeneralRe: use argv while debugging Pin
chipp_zanuff5-Jul-20 0:15
chipp_zanuff5-Jul-20 0:15 
GeneralRe: use argv while debugging Pin
Richard MacCutchan5-Jul-20 1:11
mveRichard MacCutchan5-Jul-20 1:11 
GeneralRe: use argv while debugging Pin
chipp_zanuff5-Jul-20 7:17
chipp_zanuff5-Jul-20 7:17 
this is really embarrassing! this was my mistake...

thank you very much! i just fix the code and now it's working![^]

this is the final test code:
C++
#include <iostream>

int main (int argc, char * argv []) {

	if (argc > 1) {
		std::cout << argv[1] << std::endl;
	}

	std::cin.ignore(std::numeric_limits<int>::max(), '\n');
	std::cout << "press ENTER to close program.";
	std::cin.get();
	return 0;
}


really appreciate your reply!!
GeneralRe: use argv while debugging Pin
Richard MacCutchan5-Jul-20 7:35
mveRichard MacCutchan5-Jul-20 7:35 
Questionpython language Pin
seotutorialszone4-Jul-20 11:40
seotutorialszone4-Jul-20 11:40 
AnswerRe: python language Pin
chipp_zanuff4-Jul-20 21:13
chipp_zanuff4-Jul-20 21:13 
AnswerRe: python language Pin
Richard MacCutchan4-Jul-20 22:06
mveRichard MacCutchan4-Jul-20 22:06 
AnswerRe: python language Pin
Patrice T5-Jul-20 1:16
mvePatrice T5-Jul-20 1:16 
AnswerRe: python language Pin
CPallini5-Jul-20 21:15
mveCPallini5-Jul-20 21:15 
QuestionCreate C++ Program for Android Gaming Pin
OnlyGame134-Jul-20 7:46
OnlyGame134-Jul-20 7:46 
AnswerRe: Create C++ Program for Android Gaming Pin
Dave Kreskowiak4-Jul-20 7:56
mveDave Kreskowiak4-Jul-20 7:56 
AnswerRe: Create C++ Program for Android Gaming Pin
David Crow4-Jul-20 10:42
David Crow4-Jul-20 10:42 
AnswerRe: Create C++ Program for Android Gaming Pin
CPallini5-Jul-20 21:17
mveCPallini5-Jul-20 21:17 
QuestionSir? Builtin Function Help Pin
NaumanMalik26-Jun-20 10:08
NaumanMalik26-Jun-20 10:08 
AnswerRe: Sir? Builtin Function Help Pin
Greg Utas26-Jun-20 11:47
professionalGreg Utas26-Jun-20 11:47 
AnswerRe: Sir? Builtin Function Help Pin
Richard MacCutchan26-Jun-20 23:17
mveRichard MacCutchan26-Jun-20 23:17 
AnswerRe: Sir? Builtin Function Help Pin
Richard MacCutchan27-Jun-20 1:21
mveRichard MacCutchan27-Jun-20 1:21 
GeneralRe: Sir? Builtin Function Help Pin
NaumanMalik27-Jun-20 1:39
NaumanMalik27-Jun-20 1:39 
GeneralRe: Sir? Builtin Function Help Pin
Richard MacCutchan27-Jun-20 2:14
mveRichard MacCutchan27-Jun-20 2:14 
GeneralRe: Sir? Builtin Function Help Pin
Greg Utas27-Jun-20 2:19
professionalGreg Utas27-Jun-20 2:19 

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.