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
~18.4K People Reached
Favorite Forums
Favorite Tags

7 Posted Topics

Member Avatar for piyush gandhi

[QUOTE=Stephen Ayodeji;1445559][QUOTE=piyush gandhi;968858]here is a wonderful short program to try out! Which header file will I use to call the sleep function bcos I am using DEV-cpp[/QUOTE] Here is the documentation you need for the Win32 "Sleep" function [url]http://msdn.microsoft.com/en-us/library/ms686298%28VS.85%29.aspx[/url]

Member Avatar for KarmaHunter
-2
11K
Member Avatar for kbear23

The best and easiest method for this is to use the C++11 function "to_string". Read about it here: http://en.cppreference.com/w/cpp/string/basic_string/to_string

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
382
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
376
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
127

The End.