Search:
Type: Posts; User: prako2
Search:
Search took 0.05 seconds.
-
September 9th, 2019, 05:24 AM
Thank you 2kaud, very useful.
-
September 7th, 2019, 11:30 AM
Actually, this didn't help me. I spent a lot of time to understand that API I used does not recognize non-latin letters.
-
September 5th, 2019, 07:24 AM
Thanks, but I want to do it directly from output text.
-
September 5th, 2019, 07:04 AM
-
September 5th, 2019, 06:49 AM
This is not exactly what I want. I want to find a file with the biggest number, increment it by 1 and then output.
-
September 5th, 2019, 06:39 AM
No, because I don't know how to achieve this. But I probably could if I know how to find a file with the biggest number.
-
September 5th, 2019, 06:25 AM
For example: I get output like this (2nd below) and I want to output
cout << new8.xml <<endl; after. Is it possible?
<file>new0.xml</file>
<file>new1.xml</file>
<file>new2.xml</file>...
-
September 5th, 2019, 06:17 AM
2kaud, thank you, I will keep that in mind.
-
September 1st, 2019, 03:38 PM
I have a code which gets public IP address and one segment of code causes crash if not connected to internet. So I'm trying to apply exception handling, but I don't really understand how it works in...
-
September 1st, 2019, 08:00 AM
Error Authenticating Resp1. It seems like Resp1 is failing.
-
September 1st, 2019, 06:17 AM
#include "pch.h"
// g++ -lstdc++ -Wno-write-strings fetch.cpp -o fetch
#ifdef _WIN32 // Windows
#include <winsock2.h>
#include <ws2tcpip.h>
#define MSG_NOSIGNAL 0
#else ...
-
September 1st, 2019, 05:58 AM
VictorN, sorry, I mean: WSAGetLastError() returned 0, there are no such code in the list, my application exited with code -1.
-
September 1st, 2019, 05:27 AM
Do you mean this? std::cout << " Error Authenticating " << WSAGetLastError() << std::endl;? It's Error Authenticating 0, it exited with code -1.
-
September 1st, 2019, 04:43 AM
salem_c I tried Port Listener and now I'm getting an error:
C++ Tor
Connecting
Error Authenticating
Port Listener showed that I was connected and then disconnected. I also tried Privoxy...
-
August 31st, 2019, 12:12 PM
It's currently turned off. I don't have any antiviruses. I have VPN which is currently turned off. I'm using Windows 10. Windows Defender real time protection is also turned off.
-
August 31st, 2019, 12:05 PM
VictorN WSAGetLastError(). 2kaud Is this problem has a solution?
-
August 31st, 2019, 11:53 AM
Return value is -1. I use console application. I get 10057 from console application.
-
August 31st, 2019, 11:25 AM
I did this: https://imgur.com/a/pQpa6pr from https://gist.github.com/anhldbk/f62fbe5e5a0e48740c6959e3e0907c81 and now I'm getting 10057
-
August 31st, 2019, 11:13 AM
I'm getting https://imgur.com/a/2ftdaGy Do you know how to enable sdl warnings? Mine is enabled in C++/General/SDL checks. But it overrides anyway. As I remember I did something with command line to...
-
August 31st, 2019, 10:55 AM
I see some problems in the code: https://imgur.com/a/t1L5B72
-
August 31st, 2019, 10:51 AM
I know that issue is here, but how to fix it?
-
August 31st, 2019, 09:14 AM
I found a code which should work, but it doesn't for me on Visual Studio 2017. It returns me "Error" (return(-1);) and some weird symbol after. Maybe for somebody else this code worked?...
-
August 31st, 2019, 07:38 AM
Solved:
typedef std::basic_string<TCHAR> tstring;
tstring pathbasic = tstring(programdata) + _T("\\myfile.txt");
std::replace(pathbasic.begin(), pathbasic.end(), _T('\\'), _T('/'));
-
August 31st, 2019, 04:20 AM
No, it's not a solution because programdata is not always the system drive subfolder:(
-
August 30th, 2019, 07:07 PM
I found a way. Not very comfortable though.
Solved:
TCHAR path[_MAX_PATH];
_tcscpy(path, systemdrive);
_tcscat(path, _T("/programdata"));
|
Click Here to Expand Forum to Full Width
|