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
Ranked #4K
~17.4K People Reached
Favorite Forums
Favorite Tags
c++ x 19
c x 2
Member Avatar for piyush gandhi
Member Avatar for KarmaHunter
-2
11K
Member Avatar for kbear23

I'm trying to convert int x and y arrays to string using a sample code found online. string Square::int2string (int x[]) { string returnstring = ""; for (int i=0; i < 4; i++) { returnstring += itoa(x[i]); return returnstring; } } but hit with the following error. Square.cpp:30:8: error: prototype …

Member Avatar for kiran.ghodke.395
0
4K
Member Avatar for Ricky65

Hi I'm looking to upload files using http post using winsock and have a php script handle it. I've got it working fine for text files but with files that contain null characters such as exes it doesn't work. It is only copying the file buffer up to the null …

Member Avatar for bakri
0
1K
Member Avatar for Ricky65

Hi I'm attempting to code a proxy in C++ using Winsock2. At the moment it only works on simple HTML pages and locks up a lot when downloading certain pages. After a lot of fiddling, I'm not sure what the problem is. A big thank you to anybody who can …

Member Avatar for Ricky65
0
1K
Member Avatar for Ricky65

Hi I've attempted to create a little app which encrypts and decrypts a file using the XOR cipher. However, it only encrypts/decrypts the first few lines and I'm not sure where I'm going wrong. Advice appreciated. Ricky My code: [CODE]//XOR Encryption #include <stdio.h> #include <string.h> //XOR Encryption key char XORkey …

Member Avatar for Ricky65
0
240
Member Avatar for Ricky65

Hi I've been having problems retrieving a webpage using HTTP GET in winsock. I used a packet sniffer to construct the header and the GET Request appears fine although I receive a "400 Bad Request Error". Thanks if you can help. Ricky My code: [CODE] int HTTP_GET() { WSADATA wsa; …

Member Avatar for Ricky65
0
360
Member Avatar for Ricky65

Hi I'm attempting to copy a file to a buffer using the ReadFile Win API. It works fine for text files but for other file types, for example .exe, it only copies the first few bytes. I can't identify the problem. I would greatly appreciate it if somebody can help. …

Member Avatar for Ricky65
0
109