Search:
Type: Posts; User: gothic_type; Keyword(s):
Search:
Search took 0.05 seconds.
-
October 6th, 2009, 10:53 AM
Bear in mind I've not actually compiled and checked this, and that I haven't written any C++ for years, but I think what you're after is:
float transTime = 1928.61582 // total seconds that...
-
October 4th, 2009, 09:38 PM
I don't know much about this, but I would imagine that Midori has pretty much the same security issues as Chrome (not that I'm saying that Chrome is any less secure that other browsers) since they...
-
March 18th, 2009, 06:20 PM
There's an interesting article on the register about it http://www.theregister.co.uk/2009/03/18/bbc_botnet/. I personally think it's pretty dodgy what they've done, and I suspect that if "average...
-
March 16th, 2009, 08:36 PM
I remember reading this story (in the Metro?) and thinking exactly that. I'm no lawyer, but I thought that the Computer Misuse act covered even unauthorised access. I would have thought that...
-
December 6th, 2008, 09:05 PM
If you are trying to do what I think you're trying, forget using * and &. In C# objects are always passed by reference rather than by value. So:
object o = new object();
MyClass myClass =...
-
November 15th, 2008, 05:19 PM
I would use mingw - I've used it in the past and it seemed fine. I don't know where you got that size from, because the download for mingw at sourceforge only seems to be around 130k.
...
-
July 16th, 2008, 09:04 PM
Well basically, if you're wanting to copy the whole array then what SirDice told you is correct. You can do something like the following:
char a[50], b[50];
int x=0;
for(; x<sizeof(b); x++)...
-
June 21st, 2008, 10:20 PM
My work's a small software company, and because of that we all chip in to run the servers, administer databases, etc. As a result, pretty much anyone has access to everything. I could easily look...
-
June 15th, 2008, 11:54 AM
Haha, that one confused me for a while when I just started using *nix systems. They have a tendency of shortening commands in weird ways.
ac
-
June 14th, 2008, 03:19 PM
I would imagine that you are calling read() and write() correctly (although I've not bothered checking). What you appear to be missing is a call to close(). If you don't close the file, it won't...
-
June 11th, 2008, 10:58 PM
I'm running FF3 and I've not noticed any problems. Could it be a problem with an addon you've got?
ac
-
Am I right in thinking that javax.servlet is a Tomcat package (I get the feeling there might be different implementations)? Basically the error you're getting means that the Java compiler can't find...
-
I agree with nihil. At the moment I'm just out of a 5 year degree and about to start my job. I've already had around 8-12 months experience with a software development company (some of it part...
-
The easiest way that I find of doing it is by either creating an install (might be called setup) project in your solution and adding your project output to it, or use some kind of install creator...
-
April 25th, 2008, 01:28 PM
Don't know if this'll help you at all, but generally if the problem was that VS couldn't find the header file you would get an error along the lines of:
"Warning C4013: 'my_func' undefined;...
-
April 23rd, 2008, 07:41 PM
It's not necessarily their fault, but they don't seem to go out of their way to suggest to people that they might not want to run as Administrator.
ac
-
April 18th, 2008, 01:29 AM
The first thing to do is understand the structure of the DataSets created from reading the Xml files (i.e. how the xml gets arranged into tables, columns and rows).
Taking the example you posted...
-
April 17th, 2008, 01:14 PM
There's also the usleep() function, but I think it's *nix only. If you want to make your app portable you can use libraries like pjlib that abstract OS specific stuff, so instead of usleep() etc you...
-
April 6th, 2008, 01:01 PM
What functionality do you require, because AFAIK in .NET modal dialogs are just Forms that you make visible by calling Form.ShowDialog(parent) where parent is the form below the modal dialog?
ac
-
April 1st, 2008, 07:56 PM
I know this is a bit late, but here's another reason - making stuff "readonly". Say you have a collection in your class and you want people to be able to access it, but you don't want them to be...
-
April 1st, 2008, 07:48 PM
Darksnake's correct - you need to read a row before you can access the data. Quite a common thing you might want to do is go through all the rows like so:
while(reader.HasRows())
{
...
-
March 26th, 2008, 01:58 AM
NetBeans has a gui builder similar to the sort of thing you get in Visual Studio where you basically drag and drop stuff onto a form - is that what you mean? It's ok to use, but can be a bit fiddly....
-
February 29th, 2008, 06:34 PM
I agree with SirDice - it's actually relatively difficult for the compiler to work out where a lot of syntax errors are.
Anyhow, is it a compiler or an IDE you're looking for? I.e. do you just...
-
February 1st, 2008, 04:19 PM
Cheers for the replies - I think we'd covered most of what's been suggested but it's good to hear it from other people.
bsdpunk - basically it's just a hypothetical scenario...I'm not sure about...
-
January 30th, 2008, 11:44 PM
I was basically asking if there were any (common) services that I didn't mention in my first post. Also, I'm not talking about any hardware, and I'm not looking for any vendor specific stuff. What...
|
|