Linked Questions

-2 votes
2 answers
200 views

This is piece of my code std::string s; getline(cin, s); std::cin.clear(); s.erase(std::remove_if(s.begin(), s.end(), my_predicate), s.end()); char *str1 = (char*)malloc(...
Bhavya Agarwal's user avatar
-1 votes
2 answers
145 views

When I change the last parameter in the function header from char Findthis[64] to char * Findthis when debugging the Testthis=&*Look_in; assignment breaks. Look_in has a memory address and member ...
John's user avatar
  • 13
0 votes
3 answers
127 views

I am using a function that uses a char* parameter; i am reading from a file for input. Here is my code: std::ifstream infile("file.txt"); std::string line; while(std::getline(infile,line)){ if(...
user3403720's user avatar
-3 votes
2 answers
158 views

I am curious why Alternative #1 functions okay while Alternative #2 returns CURLE_OPT_MALFORMAT when I do a curl_easy_perform(m_curl); Alternative #1 curl_easy_reset(m_curl); char sUrl[8192]; /* In ...
Frank's user avatar
  • 1,414
0 votes
2 answers
72 views

Developing from my previous question, wanted to generalize the behavior so that would download files within a specific data range. So, modified the code to look like this #include "pch.h" #...
molecoder's user avatar
  • 473
0 votes
0 answers
18 views

Please help me figure out what is wrong I can't find anything about this and haven't found the definition of this function C# keeps coming up and it doesn't apply. for (auto& p: fs::...
Hlos90's user avatar
  • 1

15 30 50 per page
1
3 4 5 6
7