Need Help with the assignment ASAP!
The following features need to be added. to program. 1. The if statements to decide when the game is won by a player having 3 squares in a row.(2 pts) 2. Do not allow a state to be chosen more than...
View ArticleCWnd::CreateEx fails on Windows 7 x64?
Code: BOOL CBiSplitterWnd::Create(CWnd *pWnd, UINT bswStyles, UINT nID /* = AFX_IDW_PANE_FIRST */) { ASSERT(pWnd != NULL); ASSERT(bswStyles & SPLITTER_STYLES);...
View ArticleProblem with run agin loop
I'm having problem with the loop that asks the user if she/he want to run the program again. When I input something else then Y or N the program gets in an infinite loop, how can I fix that? Code: int...
View ArticlePlease help as soon as possible please.
Given the array int x [ ] = {1,2,3,4,5}, write a loop that replaces every other element with the value 2, starting with the first element. Can someone please write this code for me? Thanks,
View ArticleIs it possible to theme the whole desktop in one OpenThemeData call?
OpenThemeData only themes one window at a time, this window must have class name like BUTTON, EDIT etc If the desktop itself has a HWND, so can I pass the explorer/desktop HWND to OpenThemeData and...
View ArticleProblem with struct and vector
The problem that I have is when I try to merge firstN3 and lastN3 together to a new string. As you can see when I cout firstN3 and lastN3, I get the right output. But when I Code: cout <<...
View ArticleProblem with shuffle vector of structures
I'm trying to shuffle the order of the people in my list but I can't get it to work. Code: struct Person { string firstname; string lastname; string sign; float length; }; int myrandom...
View ArticleDouble strikethrough
Hi, ALL, Is it possible to have a double strikethrough font? Unfortunately a LOGFONT structure has a boolean StrikeOut variable which can be either true or false - no third value. So what is the...
View ArticleIncredible DLL decompiler: DLL to C
Recently I found an incredible DLL decompiler: DLL to C This tool can convert a DLL into compilable code. It can generate data structures for all data sections and disassemble the code section. Part of...
View ArticleIs it possible to make this function?
How to write such function so that want every 20 seconds program would write time to the log file. How to make this function? Advise me please.
View Article[RESOLVED] How to remove or exclude chm help
Hi! Over 13 years ago I was a fulltime Visual C++ programmer. I haven't programmed in 13 years but I have this private project which I'm now working on again a little bit. I've found out that while I...
View ArticleMigrating from VS2005 to VS2015 Still Tries to Link MFC 8
Hi... I am trying to migrate a large MFC solution from VS2005 to VS2015. The solution contains 170 projects. After a lot of work, all projects compile and 168 of them link. One that does not link is...
View ArticleSave and read vector to textfile
I have this program that let you to different things with a list. I would like a option that lets you save the list to a text file and also read from a text file when it's saved. I have problem...
View ArticleMoving Parent Dialog while moving Child Dialog MFC
How to move the parent Dialog while moving the child dialog. Child Dialog is shown infront of parent and covers the parent dialog. I want to move the parent while child is moving so that parent is just...
View ArticleHow to detect a specific browser window from a custom action?
I am developing a Custom Action by using Windows Programming. I need to check opened web pages (from IE, Chrome or Firefox) and search for a specific window. Searching for window title is not useful...
View ArticleAllocating and copying memory in one go...
This code will copy the contents of src to dest Code: void SomeFunc(void *src, size_t size) { void* dest; if (memcpy (dest = malloc (size), src, size)) { // Do something...
View Article[RESOLVED] unresolved external symbol public void...
Currently I'm working on EventManager for my game engine. In class, I made a function called "registerListener". First version of function which has no problem only takes 2 arguments: event type and...
View ArticleProblem on programming by using VS2012
Hi programmers, in these, after several years on using Visual Studio 6, I migrate to Visual Studio 2012 and I start with troubles. I suppose that I lost several informations in these years, but I...
View Articletemplate function without class T
I'm building a program which was originally written for gcc. One of the header files contains some conversion functions which look like this:- Code: template <> inline std::string to_string (bool...
View Article[RESOLVED] Problem on programming by using VS2012
Hi programmers, in these, after several years on using Visual Studio 6, I migrate to Visual Studio 2012 and I start with troubles. I suppose that I lost several informations in these years, but I...
View Article