UTF-8 Conversion
I'm transferring a unicode string from one program to another with UTF-8 encoding. Program that is sending: Code: // Convert path std::wstring_convert<std::codecvt_utf8<wchar_t>>...
View ArticleCode Needed for Auto Login - Logout Time 1 hour - Log back in.
I hope I am posting this in the correct forum area. Frankly what you guys do is mesmerizing and boggles my mind. I know enough to be dangerous. If This is not the correct area... Please let me know. I...
View ArticleData strucures
1. Suppose that the array B is stored linearly in column-major order, beginning in address beta. i. If B is declared as B [1Â….3, 1Â….4] then what is the address of B[2,3]. ii. If B is declared as B [L1...
View ArticleC++ problem
any have any idea to do these question? I need some idea and step to do these.thanks Attached Images Â
View Article[RESOLVED] Database Backup Using VC++
Hi, I'm using a MySQL database in my project. I like to backup MySQL database when a Backup button clicked. I know how to backup MySQL Database via command prompt using MySQL comments. but, I don't...
View Article[RESOLVED] Need help fixing faulty CScrollView zoom
I have been unable to solve this problem. An SDI CScrollView app displays a displaced view with double set of scroll bars when user zooms window. This can be corrected by iconizing, then restoring the...
View ArticleProblem: Analysis and evaluation algorithms
Undirected graph G = {V, E} is given by the list next to the DS. Let u, v of V. Construction of two paths algorithm A1 (u, v) and A2 (u, v) such that no edge in common and have the shortest total...
View Articleatlsimpstr.h access violation error
hi, Recently, i got an "atlsimpstr.h access violation reading location" error when run my project. I'm using two threads in my project. If i run single thread the above error did not come. Code: UINT...
View ArticleThread/Core affinity
I use the Windows CPU Meter on my dual-core machine. It has two dials which I (wrongly) thought were showing me the usage for core #1 and core #2. But I've just realised this morning that the 2nd dial...
View ArticleCode Error C4700 - Please Help
Please help. I've been staring at and trying to fix this for hours. In Visual Studios I keep getting this error. cpp(36): error C4700: uninitialized local variable 'Eligible' used Code: #include...
View ArticleNeed help with: Reading mixed data types from a file.
Hi folks! I just started to learn C++ yesterday and am having a bit of trouble trying to understand how to properly read data from a .txt file. Here's something I can't exactly wrap my head around: If...
View Article[RESOLVED] atlsimpstr.h access violation error
hi, Recently, i got an "atlsimpstr.h access violation reading location" error when run my project. I'm using two threads in my project. If i run single thread the above error did not come. Code: UINT...
View ArticleVC project link error not added lib (can not find mylib.lib)
I have a VC solution . This solution contain 1 execute project and 10 library projects. The libraries added to the execute project by #pragma comment(lib,"../outputbin64/lib/mylib"). When i comment...
View ArticleAuto-close MSG box - Without Button and Title
Hi, I referred Auto-close message box. But i like to view the message box with out title bar and buttons. Is possible?
View ArticleIs it possible to switch from release- to debug-mode ...
... during execution of a program? Background: A thermodynamical simulation which yields unexpected results after less than 1min in release mode. If I start that program in debug-mode it takes more...
View ArticleTemplate parameter resolving to 'nothing' ?
I have a 'sort of' working solution for this, it's just way too elaborate to be very useful in a general sense... So.. Is there an "easy" way to define a template with a template parameter that could...
View ArticleNeed to delete earlier dynamic controls and redraw in a dialog
I've created a dialog based MFC app which input from user to create that many dynamic controls(Used checkbox to be created dynamically). After user input that many checkboxes controls are created but...
View Articleoutput of random numbers
Hey guys, Iwrote an code for generating an aoutpu of random numbers, but it doesent gives me back the numbers here is the code: #include <iostream> #include <time.h> #include...
View ArticleRepaint problem in custom control
I'm having a custom control and I added a vertical scroll bar to it. After scrolling down and then up what all controls are added are disappeared. Controls added are (checkboxes, editboxes, browse...
View ArticleCPP Help!
C++ Create a Triangle class that has the following member variables: side1 - a double side2 - a double side 3 - a double perimeter area The class should have the following member functions: - default...
View Article