Search:
Type: Posts; User: Penfold
Search:
Search took 0.03 seconds.
-
December 9th, 2010, 09:25 AM
Hello,
Is there an easy way in C# to compare the value of two floats(or doubles), to check that they are equal to each other, within a tolerance of, say, 5, significant figures.
Is there...
-
October 27th, 2010, 07:28 AM
Ok - I've fixed the problem.
For the record (incase anyone else gets this error) - it was down to my own stupidity.
The Key name I was referencing in my code was spelt incorrectly in the config...
-
October 27th, 2010, 06:02 AM
Hello,
My project contains a config file containing a number of Key/Value pairs.
An extract from the config file (the key names have been changed prior to posting to this site) is as follows :...
-
August 13th, 2008, 10:31 AM
The code that opens the file is as follows :
FILE *f = _tfsopen (path, _T("a+"), _SH_DENYNO);
So binary or text is not specified - assume it will be text? it certainly looks like a text file...
-
August 13th, 2008, 10:17 AM
Hi,
In the software we are developing, we are having problems with strings that are being cut off when the strings are written to a file.
If the strings contain control code characters between...
-
June 11th, 2008, 04:16 AM
Hi,
Does anyone know of a source code comparison tool which will produce a list of functions that have changed between two different source code file versions?
I have many source code...
-
April 24th, 2008, 09:54 AM
Hi,
I've ploughed through the forum and have not found an answer to the question, so please bear with me if this has been asked before...
I've got a CDateTimeCtrl, and I'm using it just to...
-
December 7th, 2007, 06:11 AM
You need to put a breakpoint in your code at some point BEFORE the "crash" occurs - then you can step through the code, and see the last thing that is being called before the exception. If you get...
-
December 6th, 2007, 06:50 AM
The call stack just tells you what function was called up to the point where your software crashes. So just a list of functions alone won't tell you what the problem is. You need to debug your...
-
October 29th, 2007, 04:01 AM
No user-interaction with the software is allowed via the keyboard. Only via the mouse. That's why we needed to disable it - but in the end, we've just disabled the keyboard completely from the...
-
October 17th, 2007, 08:54 AM
Hi,
Does anyone know how to disable Alt+F4 so that when the user presses this key combination, my windows application does not close down? Can this be completely done within code, or does this...
-
September 20th, 2007, 08:58 AM
Hi,
I am using the CreateFile() function in order to create a handle for a RS422 serial port, through which I am sending and receiving data. I need to know how many bytes of data are sitting on...
-
April 20th, 2005, 02:45 AM
Hi,
I have some code which reads in data from a fixed location in memory.
Is there a compiler or linker option or something like this that allows the data at this memory location to be...
-
November 18th, 2004, 12:22 PM
Hi,
Does anyone know if there is a restriction on the size of static libraries created using Visual C++ 6.0? I have a static library which contains 829 files (don't ask why - it's a long story). ...
-
October 26th, 2004, 08:22 AM
Hi,
Can anyone tell me what the full implications are of using the /FORCE:MULTIPLE linker option in Visual C++ 6.0?
If I have two functions pulled into a build that have the same name in...
-
September 27th, 2004, 08:56 AM
yes, I know that is one way round it - but I guess I just wanted to know why Visual C++ complains about it, but the other compiler I use does'nt.
-
September 27th, 2004, 08:35 AM
Hi,
I have some code which declares a typedef within a namespace, eg :
namespace a_namespace
{
typedef unsigned long DoubleUnsigned;
}
another source file uses this namespace, eg:
-
August 31st, 2004, 03:59 AM
Hi,
I have a function which has the following parameter :
int * buffer_addr
The contents of the buffer_addr parameter is an address in memory. I need to be able to read from this address in...
-
July 13th, 2004, 03:46 AM
Hi,
I am using Microsoft Visual C++ 6.0.
An example error message that I am getting is as follows :
CrossComms.lib(cross_comms_items.obj) : error LNK2001: unresolved external symbol...
-
July 12th, 2004, 07:34 AM
Hi,
Thanks for the info on this - it's a bit clearer in my mind now.
If I have a variable that is declared using extern and then it is declared in another source file using extern "C" will this...
-
Hi,
First of all, sincere apologies if this is the wrong forum - not sure if it should go in the general C++ forum.
We are testing some C and C++ code for a customer. We are building the C...
|
Click Here to Expand Forum to Full Width
|