How do I receive POST data in a C++ program
I need to write an interface program in C++ to receive occasional data being sent to me from a different company from across the internet. The company says they will send the data using POST. They have...
View ArticleNew to VC++ 2012
VC++ 2012 looks like a completely new language to me. After working on VC++ 2008 I am developing a project in 2012. It looks like an alien language. This is a simple index Code:...
View ArticleHelp With Batch Code
I'm working on a project for my son. I want to imitate the code for the matrix in CMD using a .bat file. ~note: this is an example of whats going on, not the whole code :start @set /a bottomlimit = 0...
View ArticleTooltips not working for all controls in CFormView derived class
I can't get tooltips to show up for the windows I want in my CFormView derived class. I have copied the code from the MSDN entry on EnableToolTips(). But only two windows respond with a tooltip:...
View ArticleGetting cURL result in MFC C++
I'm trying to messagebox the cURL result: Code: CURL *curl; CURLcode res; curl = curl_easy_init(); if (curl) { Â Â curl_easy_setopt(curl, CURLOPT_URL, "http://example.com"); Â Â curl_easy_setopt(curl,...
View ArticlePythagorean triples in code c, help!
I need to create a code in c fits the description below, I have no idea what to do, if someone could possibly write a code or explain to me what I could do that would be appreciated! Description A...
View Articlec++ code
Hello guys i'm kinda new to programming and i'm trying to do a certain task. I want to use a for loop to read certain data from a txt file and print them to a console. I'm trying to read student names...
View ArticleHow to debug Win32 Message Loop?
You place a breakpoint at one of locations within the message loop. But I want the breakpoint to trigger when I click on the application window, for example. But I can't, it went so fast so long as I...
View Articleceil function name collision.
Code: cv::Size output_size      (gallerycols * 2 * its[0].cols(), ceil(4 / gallerycols) * 2 * its[0].rows()); Error    18    error C2668: 'ceil' : ambiguous call to overloaded function...
View ArticleSetup and Deployment VC++ 2012
Setup and Deployment has been removed from Visual Studio 2012. So I separately installed Install Shield that is designed for Visual Studio 2012 and 2013. Now after installing an application in fresh...
View Articledeclaring member variables in a windows form app
Hi All, You'll have to excuse me because I'm coming from a more traditional C/C++ background (like a WIN32 project with a standard WndProc), and I've just started learning about Windows Forms. I have...
View ArticleHelp with Keylog Imposible to make.
Hi everybody Im from Argentina. (My english is not the best but i can understand some things at all) Anyway Im making a Keylogger. The objective is to save all the posibilities pressed by the keyboard...
View ArticleCalling a function in AfxBeginThread
I have the code: Quote: void go(CMFCApplication1Dlg * pdlg) { pdlg->listcontrol1.InsertItem(0, "Row1"); } then i call it in thread Code: void CMFCApplication1Dlg::OnBnClickedButton3() {...
View ArticleC++ Beginner Help
Hello guys i need some quick assistance please I'm writing a code which goes as follows. the program will prompt the user to enter a every student's first and last name, major ( of 4 choices CMPS MATH...
View ArticleMFC- receiving Button-Click-Message failed
I've created a new dialog in my MFC dialog based application. the new dialog contains 5 control buttons. the following happens and I don't understand why? 1. click on buttonX. (result ok, OnBnClicked...
View ArticleC++ while statement and switch statment
I'm creating a program for my assignment and keep running into problems: Assignment requirements: Write a program that lets a User enter letter grades of A,B,C,D or F and counts the number of A's, B's,...
View ArticleProblem using progress bar with large set range in MFC C++
Hello I'm having problems with progress bar when using a big number in set range. For numbers below 50000 it works very well but for big numbers like 100.000 it doesn't work, it makes 2-3 rounds of...
View ArticlePrivate base classes
Hello all, In page 508 of this book (http://books.google.com/books?id=We2...epage&q&f=true), Biarne says: "This would make Shape a private base of Circle, making Shape's public functions...
View ArticleDidn't understand these unresolved externals?
Code: #ifndef _CORRIDOR_H_ #define _CORRIDOR_H_ #include <math.h> #include <vector> #include <algorithm> #include "Recast.h" #include "RecastAlloc.h" #include "RecastAssert.h"...
View Article[RESOLVED] help with binary to decimal converter please
Hi I'm trying to figure out why the binary to decimal part is not working correctly when the binary value finishes with a 1. In those cases, the decimal value shown in one unit smaller than it should...
View Article