Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~895 People Reached
Favorite Tags
c++ x 4
php x 3
Member Avatar for Legend32A

I am using the following code to take a screenshot , compress it to jpg and save it. I am trying to compress the image more, e.g. from 200kb --> 100kb. Let's say about 60% of original quality. Could you guys, please help me find out how to do this? …

Member Avatar for WolfPack
0
130
Member Avatar for Legend32A

I am trying to find out if the screenshot I take is 100% black before I save it. If yes then show an error. My code is: [code]#include "stdafx.h" #include <windows.h> #include <GdiPlus.h> #include <string> using namespace std; #pragma comment( lib, "gdiplus" ) int GetEncoderClsid(const WCHAR* format, CLSID* pClsid); void …

Member Avatar for WolfPack
0
503
Member Avatar for Legend32A

I am trying to replace all % with %%, because I want to write a string to a file using the fprintf_s function. Yet, I done this: [CODE]void replace(std::string& target, const std::string oldstr, const std::string newstr) { unsigned int x; while(x = target.find(oldstr), x != std::string::npos) { target.erase(x, oldstr.length()); target.insert(x, …

Member Avatar for Legend32A
0
96
Member Avatar for Legend32A

Hello, I am trying two days now and I have spent about 12+ hours on this and I can't find a solution :( Please help, or I am gonna lose my mind! I am trying to save user's monitor resolution on MySQL. I almost done it but, I have a …

Member Avatar for Ninetie
0
166