How to get MFC CHtmlView to run HTML5 and CSS3
MFC CHtmlView is a beautiful and flexible interface for building desktop apps testing out *.html files locally. However, the current version only uses Internet Explorer which does not recognize HTML5....
View ArticleLinker errors
Hi everyone, I was previously looking for a way to get files for a compression algorithm to work, namely the ones provided here: https://github.com/lemire/FastPFor The files involve .h and .cpp files,...
View ArticleForward declarations in a header file
Imagine I'm building a DLL and this is in one of the header files (in this case, assume DLL_API is __declspec(dllexport) ):- Code: class Something; class DLL_API SomeClass { public: uint64_t...
View ArticleProblem
There is something wrong with my structure, I dont know how to sort it. Can anyone help. Code: #include <iostream> #include <cmath> #include <iomanip> #include <fstream> using...
View ArticleLinked-List: Memory Leaks still occuring.
My code is fully functional if memory leaks are ignored but since I am dealing with dynamic allocation. For every new object created that same object must be destroyed after the task is complete I am...
View Articlepointer address
I have this code and i need to fill the contents after these changes are made to this code. and i honestly have no idea ADDRESS CONTENTS VARIABLE 1428 array_one[0] 1432 array_one [1] 1436 array_one [2]...
View ArticleReading xls binary signature
Does anyone know if there's a reliable way to read the binary signature of a .xls file from within a C++ application? I need to programmatically determine whether a file is an actual Excel file without...
View ArticleI want to write a simple program.
Hello. I just started to learn C++, and I wish to write a simple keylogger. To write a simple keylogger do I have to study WinApi and is it necessary to create dll for it? p.s. by simple keylogger, I...
View ArticleOpenGL program refuses to enter "for" loop
Hey all! I've been getting this issue when I'm trying to check for collision against the camera in my game and boxes I've created. For some reason, however, the program refuses to enter the for loop...
View ArticleHelp on an Assignment-defining and calling functions with Case Statements
Hi People! I'm a C++ beginner, my first time to post here(just in case I don't do it right!..haa), and need help with my assignment question that goes: Write a C++ program that defines the following...
View Article(OpenGL) Possible to achieve keyboard() functionality outside of keyboard()?
So, I have my keyboard function handling what happens during specific button presses, but I feel as though I can be more specific to which objects are effected by the button presses if I am somehow...
View ArticleAzimuth search
Dear friends. Good morning. I need little help. I am working to make full azimuth search. Can you help me in changing the code for this. I have attached file. Please help me. Looking forward to have...
View Article(OpenGL) Trying to get object to chase the camera, but unsure how
Hey there! So, I'm trying to get my "Ogro" object to chase the camera, but I am currently unsure as to how to accomplish this. Could someone please help me out with this? I don't need AI that can...
View Articlepuzzle search
So, I need to write a program that will find all of the words in a crossword, including reversed and both horizontal or vertical. (no diagonal words). I have to store the puzzle in a two-dimensional...
View Articlestore new data in copy file
this is the code i have so far, and when i run it, it only stores one data item in the new file, I'm not quite sure what's wrong. Code: #include <iostream> #include <vector> #include...
View Articlesendinput event
this is my code: I am trying to make it do a right mouse button down and drag and then at the end of the drag, let go of the right mouse button. For some reason it doesn't work! It's for my project to...
View ArticleGetFieldValue results in error "invalid descriptor index"
I retrieve data from MS SQL Server using object CDatabase/CRecordset. Because reading of data record by record using GetFieldValue/MoveNext was too slow, I wanted to read data using bulk CRecordset. I...
View Article[RESOLVED] GetFieldValue results in error "invalid descriptor index"
I retrieve data from MS SQL Server using object CDatabase/CRecordset. Because reading of data record by record using GetFieldValue/MoveNext was too slow, I wanted to read data using bulk CRecordset. I...
View Articlereading file into an array
How would i read data from the file into an array and then make it compute with the given program? Code: #include <iostream> #include <fstream> #include <iomanip> #include...
View ArticleSetRowsetCursorPosition doesn't work on bulk recordset
I've implemented bulk recordset according to MSDN help: Code: CMultiRowset::CMultiRowset(CDatabase *pDB) : CRecordset(pDB) { m_typ = NULL; m_stanice = NULL; m_cesta = NULL;...
View Article