Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
23% Quality Score
Upvotes Received
2
Posts with Upvotes
2
Upvoting Members
2
Downvotes Received
8
Posts with Downvotes
6
Downvoting Members
5
2 Commented Posts
0 Endorsements
~12.6K People Reached
About Me

watermelon

Interests
pie
Favorite Tags
Member Avatar for James19142

Inside of a class template having parameter `typename T` the compiler generates an error concerning 2 functions. `T` does not seem to be recongnized as the template class parameter it was declared as. template <class Return, class ...Args> void executeOnAll(Return (T::*function) (Args &&...), Args &&...args) { for(T &s : *this) …

Member Avatar for James19142
0
1K
Member Avatar for James19142

To begin with, I'm a noob to JavaScript. How do I add functionality to the main loop, or something similar?

Member Avatar for AleMonteiro
0
290
Member Avatar for James19142

I continuously get this warning whenever a constructor delegates to another constructor within the containing type, having virtual bases. `warning C4100: '$initVBases' : unreferenced formal parameter` It's the same warning as when a parameter or local goes unused, it in this case it seems to be referring to the virtual …

Member Avatar for James19142
0
636
Member Avatar for James19142

How do the numbers in a matrix relate to coordinates in 3D space. I've looked at a ton of tutorials for an answer but I still haven't come to an answer. They explain mainly the math which I try to use to answer my question, but I can't come to …

Member Avatar for James19142
0
270
Member Avatar for James19142

I wrote this function I plan on using to load in .obj files from Blender into a DirectX application. The problem I'm having is that when when the model is loaded, it appears that every other triangle face is missing in a pattern, for every quad, only 1 traingle is …

Member Avatar for James19142
0
827
Member Avatar for James19142

I'm new to Visual Studio & trying to build an application in it for the first time. The code compiles. I used to get the error load from the debugger as a result of not downloading the corresponding .pdb files. After changing a setting in the debugger options, all the …

Member Avatar for James19142
0
1K
Member Avatar for James19142

I'm writing classes for widgets on a ui. While planning what I would do, I realized majority of the of the classes would look very similar. What I decided to do was to use a macro that takes a few parameters to define the similar parts of the class bodies. …

Member Avatar for James19142
0
807
Member Avatar for James19142

I just started using Qt5 and now i'm getting an error which seems to be generated near the end of compiling saying this: cc1plus.exe: out of memory allocating 408 bytes. I compiled this same exact code in Qt 4.8.1 without any problems multiple times. I have no way of getting …

0
127
Member Avatar for James19142

I need to modify an object in a QVector. I'm the `[]` operator to point to the object, which is overloaded with a constant and a non-constant version. The problem I'm having is that I don't know how to specify the non-const version, so I get compile errors telling me …

Member Avatar for James19142
0
207
Member Avatar for James19142

I used `memcpy` to copy the contents of one pointer to another pointer assigned to new memory. Later in the program I get runtime errors as if I were attempting to operate on a pointer pointing to nothing. While debugging, I saw that the original and the the copied pointer …

Member Avatar for James19142
0
2K
Member Avatar for James19142

I need a way to do a cast without being returned a pointer to a new address but, the same address as the original. Something like this: derivedClass something_derived; baseClass* basePointer = &something_dervived; derivedClass* derivedPointer = static_cast <derivedClass*> (basePointer); /* my problem is "derivedPointer" isnt assigned the same address as …

Member Avatar for James19142
0
186
Member Avatar for James19142

in this program i'm writing the functions that have qt classes as parameters Qlabel, QSpinbox, etc. are causing compile errors, my other functions work fine i get the same 2 errors for each QT object i use as an argument this is the function definition that uses QT classes as …

Member Avatar for James19142
0
363
Member Avatar for James19142

Im having this weird runtime error whenever I attempt to copy a specific member of an array block. I get this from the output: ASSERT failure in QHash: "Iterating beyond end()", file tools/qhash.cpp, line 293 Invalid parameter passed to C runtime function. Invalid parameter passed to C runtime function. I …

Member Avatar for James19142
0
874
Member Avatar for James19142

i'm making this function that replaces single slashes in a path with doubles slashes. It works for everything but slashes because I gotta use doubleslashes to specify a single slash so how do I refer to double slashes. QString AddDoubleSlashtoPath(QString Path){ QStringList splitup=Path.split("//") ;/*supposed to be a single slash*/ QString …

Member Avatar for triumphost
0
1K
Member Avatar for James19142

This app I finally got the splashscreen to the way i want it, but when I run the .exe from the explorer the splashscreen loses its transparency and has a white background replacing the glow; In when the compiler runs it directly after it builds it look exactly how it …

0
112
Member Avatar for Jennifer84

Hello I have a problem to convert a String to double. I use the below code but the messageBox show 11,07 with a Comma(",") instead of a dot(".") I beleive this depends on any regional settings on the computer. On my other computer I get the result "11.07" which is …

Member Avatar for James19142
0
177
Member Avatar for James19142

in this program i'm writing, i seem to keep getting rounded down values. At first i though it was because i was declaring my return variable as an integer so i made sure i wasnt doing that and changed all number variables in the class to doubles to ensure i …

Member Avatar for Fbody
0
158
Member Avatar for alexander1s

am writing a program that will count the votes for those whom are agree and desagreed, so i would have Yes and no, now i have to have a file in wordpad, in other to import the information that was saved, to make the program to run, but i have …

Member Avatar for James19142
0
122
Member Avatar for James19142

i made a header file with my function declarations and the cpp file with the definitions. While making the definitions in the .cpp file i included the header and from the highlighted text the definitions seemed to match declarations in the header. In the header the the declarations were able …

Member Avatar for James19142
0
852
Member Avatar for James19142
Member Avatar for mrnutty
-1
218
Member Avatar for James19142
Member Avatar for James19142
Member Avatar for James19142
Member Avatar for James19142
-1
344
Member Avatar for James19142