Reading LinkedList Content And Sorting
For example we have a linkedlist with nodes: Daenerys Targaryen 10 Arya Stark 20 Ned Stark 8 (all string) how do i print them with respect to their numbers ? right now im using this function to print...
View ArticleArray of array
Hi all of you. I have to use an array of array, the second one has one type of array (array of double), and first one array of int: Code: --------- CArray arrSum; CArray , ?> arr; arrSum.Add(4.3);...
View ArticleHow to monitor Intel QuickSync GPU usage/load???
I am working with Intel QuickSync based GPU accelerated transcoding software (created by various sources), and I need to find a way to monitor the following for the Intel GPU on each server: - Total...
View ArticleC++ Cannot debug cause of errors, but no errors in code.
I have been getting a few errors which i cant seem to fix on my own. Could someone try to find the problems with reference to my code? In the error it points to my Invaders.cpp and .h file. I will...
View ArticleC++ MFC Automation has recently started to fail (on some machines)
We are working in Visual Studio C++ (MFC) Our program has Excel Automation code that has worked for over 15 years but on just a few machines we are suddenly getting Automation exceptions and we cannot...
View Article[RESOLVED] C++ MFC Automation has recently started to fail (on some machines)
We are working in Visual Studio C++ (MFC) Our program has Excel Automation code that has worked for over 15 years but on just a few machines we are suddenly getting Automation exceptions and we cannot...
View Article[RESOLVED] compile to .dll
Hello, I am a beginner in the coding area, and I started with a very similar language as C+ (called Pawn).. There is one issue in the game, which has to be fixed with a code (y axis of the mouse moves...
View ArticleReturning CDBVariant type
I have the following method to format data type returned from SQL: Code: --------- CString CMyDoc::FormatData(CDBVariant* pDBVariant) { CString sRet; * switch(pDBVariant->m_dwType) { case DBVT_LONG:...
View ArticleRunning PE from memory
Hello everyone, I'm new to C++ and come from a web development background. I've been trying to load encrypted executables to memory, decrypting them in memory and then running them. I've got partially...
View ArticlePort Windows project to Mac
Hi guys, I have a C++ project in VS2017 for Windows and am curious how hard it would be to transfer this to a Mac. Is this as simple as installing VS2017 on a Mac and importing the same project? I...
View ArticleIn what situations is EncodePointer() used?
I was wondering the applications and scenarios that EncodePointer()/DecodePointer() can actually be used? the most I have found on it is https://stackoverflow.com/questions/...-decodepointer and of...
View ArticlePlease help me with Function in C ++
Code: --------- #include #include #include using namespace std; int test(int num); int main() { int number; cout << "please input a number"<< endl; cin >> number; test (number); if...
View ArticleAre there any websites that teach how to create a self-contained desktop?
The desktop which includes the taskbar, sidebar, desktop wallpaper, desktop icons, screensavers and sounds, To my understanding, a program called dexpot uses the method of overlaying multiple...
View ArticleMFC Message maps
Is it possible to use MFC's message mapping macros without Microsoft's extensions to the C++ language? I'm having some troubles, for example with Clang: Code: --------- error: call to non-static member...
View ArticleProgramatically (via C++) reboot Windows to the BIOS/UEFI configuration screen?
Anyone have any idea (or know where I can find out) how to" programatically" (via C++) reboot Windows to the BIOS/UEFI configuration screen?
View ArticlePOW function
So this is a homework problem I am having. I have gotten everything to work(I think it is correct), except the portion which is in bold. I just can't figure out how to use the pow function so I tried...
View ArticleProblems when re-compiling a VC 6 Project with VC 2012
Hi, Friends when re-compiling an old VC 6 project with VC 2012, i encouterring this errors: *_the code: _* CRorEditView::CRorEditView() { AFX_ZERO_INIT_OBJECT(CRorTextView); }...
View ArticleC++ help
Attachment 35047 (http://forums.codeguru.com/attachment.php?attachmentid=35047)Attachment 35049 (http://forums.codeguru.com/attachment.php?attachmentid=35049) i am having trouble writing this code....
View Articleboyer moore algorithm
i am to Write a program to use Boyer Moore Algorithm to find the pattern in the string. my program can define string as BARD LOVED BANANAS . i need to ask user to input pattern to search. i need to...
View ArticleListBox auto keyboard select
Hello, I have a strange problem with auto-select using the keyboard in a multiple selection ListBox. Normally, when entering a letter on the keyboard will select the first occurrence of the string...
View Article