Search:
Type: Posts; User: meynaf
Search:
Search took 0.10 seconds.
-
October 31st, 2022, 03:07 PM
Hi all,
I have successfully made xaudio2 play sounds but am now facing an enormous latency issue.
Glitches appear in the replay as soon as i go to 20000 samples or less (a little less than half...
-
August 2nd, 2018, 02:06 AM
Indeed it is a good thing the game works the same speed across machines (that are fast enough to run it).
I've seen old games running so fast they become unplayable ;)
-
July 30th, 2018, 03:51 AM
Yes it is better to setup a minimum amount of time between two frames.
Otherwise your game will permanently use 100% cpu power, which is especially annoying on laptops (keyboard becoming warm, noisy...
-
You don't know how much helpful this is, so let me tell you : this IS the answer I wanted. As I supposed, it's another compiler bug, or a compiler "feature" :D
And it has nothing to see with C/C++...
-
Nope. I don't agree.
Symbol names are different from C to C++, but it should have given the error "undefined external" or so, not "corrupt coff".
-
As long as it works, I'll use it that way, and if one day it stops working, I'll add an explicit cast to char*. No big deal.
Passing a string class is simply not feasible without relying on...
-
I sure do. But, so far, it always worked. :D
Add another member ? No way ! I'll surely not do that. If needed, more data will be put where the pointed string lies, *before* it. Yep. In space...
-
:wave: I'm looking for even more trouble, as you can see in that new code snippet :
class UString {
public:
UString();
UString (const char *c);
operator char* () const;
friend UString...
-
I've got that when building a project :
fatal error LNK1235: corrupt or invalid COFF symbol table :sick:
I am not asking for a way to resolve that problem : I already found one - it's...
-
Hi,
I have to output a table (<table>, <tr>, <td> and such stuff) on my page, while keeping a great control on formatting.
To get data, I can use either an SqlDataReader or an XmlReader, but...
-
Being complex does not mean being stupid !!!
Relying on undefined behavior, that's true. But my UString has a sizeof of 4. It looks in memory exactly like a char*. Hence directly passing it...
-
The C++ "best matching function" search algorithm can be as complex as it wants, but I really think it shouldn't scream when faced with an easy case - that is, when an exact matching function exists....
-
There are MANY things wrong with them.
Ok, you couldn't know it, but my string class offers much more functionnality and flexibility than those two.
Try to use MFC's CString with an API which...
-
Then I am definitely not included in that "Most people", because when seeing such code, I would have fired my IDE and built it :)
And, yes, maybe some of those overloads aren't required, but...
-
I didn't think this post could be THAT difficult to understand :D
Didn't you read ? I said it compiled well with VC6 but NOT with .NET2003 !
-
Those two :
s3 = s1+s2;
s3 = s2+s1;
But, you know, you can copy-paste the whole code and see it by yourself :p
-
-
class UString {
public:
UString();
UString (const char *c);
operator char* () const;
friend UString operator+ (const UString&, const char *);
friend UString operator+ (const char *, const...
-
Cool, but I've already thought about this - and there doesn't appear to be a member of that WebControls.DropDownList which simply adds an item.
(at least the msdn was clueless :sick: )
-
Hi all,
I have a webform (asp .net web application, .net 2003), in vb.
I have a dropdown list (in fact several) that I need to fill with data from a database. It works ok like this :
Dim res...
-
It's called Duelfield. It's a turn by turn strategy game.
I also wrote most of the game itself (but i can't say i'm proud of it ;)).
The map editor is for future extensions, and isn't released yet....
-
Sorry, but things on this site are not free, and i don't need really advanced features for my app (which btw is a simple map editor for a little game).
If i really wanted advanced gfx features,...
-
Another idea...
You might use :
. a single mutex object
. a message-only window (you can use a separate thread to handle it, avoiding to block the app)
write :
. get the ownership of the...
-
I don't think there's a simple way to do this. I have an idea, but it is complex and involves several mutex objects.
I hope you will understand me, it's difficult to explain.
You have to create...
-
At least you can use a critical section, it is way more performant than a mutex.
See EnterCriticalSection/LeaveCriticalSection in msdn.
|
Click Here to Expand Forum to Full Width
|