Uhhhh... So I can't reproduce the issue anymore. It seems 'clean product' wasn't enough to clean my build folder, I had to use a key combination to expose another menu option for 'clean build...
Type: Posts; User: Hunter2
Uhhhh... So I can't reproduce the issue anymore. It seems 'clean product' wasn't enough to clean my build folder, I had to use a key combination to expose another menu option for 'clean build...
Yeah, this is just extracted out of the section of code that I've been poking and pulling strings on to try and get more info out of. I realize that it does nothing useful in its current state, but...
Yeah I'm completely baffled. Test code, with class names changed:
void ClassX::method() {
MyClass inst;
cout << inst.nodes.size() << endl;
MyClass::test();
}
After poking around a lot more, it seems things are broken right off the bat.
At risk of sounding really dumb:
Do I explicitly need to define constructors that chain down the inheritance...
@cyberfish -
a) Xcode, so I guess LLVM. I haven't been able to repro yet with a smaller program.
b) It's a non-pointer member variable of an instance which is declared as a non-pointer static...
Blah. Yeah it looks like something is definitely broken. empty() returns false, size returns 0, begin() returns a reference to address 0x01, end() returns address 0, and resize(1) gives another...
Given a std::vector<MyClass> named myVec:
// Loop version 1
for (int i = 0; i < myVec.size(); ++i) {
// Do something with myVec[i]
}
// Loop version 2
for...
#include <type_traits>
#include <iostream>
#include <vector>
struct IWriter {};
template<typename T> struct foo {};
template<typename T> class foo2 {};
struct BaseBar {};
struct DerivedBar:...
I was imprecise :) Plat A = iOS, which is fine; Plat B = Android, where app assets are exposed via a read interface on AAssetManager. I could write my own streambuf or whatnot, but this seemed like...
Thanks Elysia,
>>Use the stream operators to ensure it can be read and written properly.
Is there something preventing read/write from operating correctly? I wrote it in this way because I need to...
Many thanks!
So it looks to me like the vector variant isn't actually a template specialization but a... templated overload of the template function?
I'm trying to write some naive binary serialization code and wanted to cut down on repetition of logic for serializing/deserializing nested vectors or other STL containers to reduce the chance of...
There's a nice article about it here, posted Feb. this year:
Nullable<T> vs null
It looks like the C# compiler does special-case this type.
Abachler, IIRC raw sockets on unix allow you access to the ethernet frame level, e.g. before even the MAC address is put on the packet. Wouldn't that indicate level-2 access? This seems suspect,...
Also look into dyndns.org.
Very useful if you don't like memorizing your IP address every time it changes.
LowlyIntern, have you followed up on Codeplug's suggestion?
http://www.microsoft.com/whdc/connect/usb/winusb_howto.mspx
Good luck.
>>UINT C_Control::StartCryptoPortThread( LPVOID pParam )
Is this declared as a static function? If so, you should have nothing to worry about, because static functions act essentially the same way...
*shrug*
>and that PortThread[3] is a valid value?
Not meaning to be nitpicky, but have you put a breakpoint in the constructor to ensure that the thread creation is not failing? Also, you'll want...
PortThread[3]= AfxBeginThread(StartCryptoPortThread, &Port[3],THREAD_PRIORITY_NORMAL,0,CREATE_SUSPENDED);
You should make sure this is being called from a function somewhere, and you are 100% sure...
So the main issue is scalability then (limited by number of samplers)? Does that mean a Gaussian would be equivalent (except floating point textures) if there were sufficient samplers to cover all...
I did some experimentation finally. I didn't really get any definitive information on what Kawase Bloom actually is, but it seems to me that the general idea is doing multiple passes of almost any...
I still don't know what was wrong. But, I created a new project, and rewrote the damn thing while testing it line by line, and it worked. *shrug*
You could also do a 2D game using 3D graphics. That would let you focus more on the graphics and flashy effects, and less on the actual game logic.
Heh thanks Bubba, I understood this much already ;)
zacs:
GL_SRC_ALPHA, GL_ONE should theoretically be (Cs * As) + Cd, right? In which case I'm pretty sure it should work.
My test code is the...