Click here to Skip to main content
15,845,681 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionRe: [Solved] Sending input to system("command") prompt Windows Pin
David Crow7-Jul-22 3:11
David Crow7-Jul-22 3:11 
QuestionConvert function to read from string instead of file in C Pin
sahil Ranka6-Jul-22 1:19
sahil Ranka6-Jul-22 1:19 
AnswerRe: Convert function to read from string instead of file in C Pin
Mircea Neacsu6-Jul-22 1:49
Mircea Neacsu6-Jul-22 1:49 
AnswerRe: Convert function to read from string instead of file in C Pin
Richard MacCutchan6-Jul-22 2:19
mveRichard MacCutchan6-Jul-22 2:19 
QuestionRe: Convert function to read from string instead of file in C Pin
David Crow6-Jul-22 5:38
David Crow6-Jul-22 5:38 
QuestionConvert curl request Pin
_Flaviu4-Jul-22 4:14
_Flaviu4-Jul-22 4:14 
AnswerRe: Convert curl request Pin
k50544-Jul-22 5:39
mvek50544-Jul-22 5:39 
GeneralRe: Convert curl request Pin
_Flaviu4-Jul-22 5:52
_Flaviu4-Jul-22 5:52 
Hmm ... I tried:

C++
FILE* pipe = _popen("curl --header \"x-api-key:ABCD\" -s https://api.test.se/api/mydata", "r");

	while (true)
	{
		pipe->_Placeholder;
		break;
	}

	fclose(pipe);

but I cannot retrieved any data from pipe ...
GeneralRe: Convert curl request Pin
k50544-Jul-22 6:25
mvek50544-Jul-22 6:25 
GeneralRe: Convert curl request Pin
_Flaviu4-Jul-22 6:43
_Flaviu4-Jul-22 6:43 
GeneralRe: Convert curl request Pin
k50544-Jul-22 7:17
mvek50544-Jul-22 7:17 
GeneralRe: Convert curl request Pin
_Flaviu4-Jul-22 8:10
_Flaviu4-Jul-22 8:10 
GeneralRe: Convert curl request Pin
k50544-Jul-22 8:17
mvek50544-Jul-22 8:17 
GeneralRe: Convert curl request Pin
_Flaviu4-Jul-22 8:31
_Flaviu4-Jul-22 8:31 
GeneralRe: Convert curl request Pin
Richard MacCutchan4-Jul-22 10:21
mveRichard MacCutchan4-Jul-22 10:21 
GeneralRe: Convert curl request Pin
_Flaviu4-Jul-22 20:48
_Flaviu4-Jul-22 20:48 
GeneralRe: Convert curl request Pin
k50544-Jul-22 10:26
mvek50544-Jul-22 10:26 
QuestionAmazing C/C++ and C# and Python performance test Pin
Code4Ever2-Jul-22 7:48
Code4Ever2-Jul-22 7:48 
AnswerRe: Amazing C/C++ and C# and Python performance test Pin
Gerry Schmitz2-Jul-22 8:02
mveGerry Schmitz2-Jul-22 8:02 
AnswerRe: Amazing C/C++ and C# and Python performance test Pin
harold aptroot2-Jul-22 8:38
harold aptroot2-Jul-22 8:38 
AnswerRe: Amazing C/C++ and C# and Python performance test Pin
CPallini2-Jul-22 12:07
mveCPallini2-Jul-22 12:07 
Questionimage background datagrid Pin
ousaokn30-Jun-22 20:26
ousaokn30-Jun-22 20:26 
AnswerRe: image background datagrid Pin
Victor Nijegorodov30-Jun-22 21:11
Victor Nijegorodov30-Jun-22 21:11 
AnswerRe: image background datagrid Pin
Gerry Schmitz1-Jul-22 5:21
mveGerry Schmitz1-Jul-22 5:21 
QuestionFile IO library Pin
Calin Negru26-Jun-22 4:45
Calin Negru26-Jun-22 4:45 

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.