Search:

Type: Posts; User: gothic_type; Keyword(s):

Page 1 of 20 1 2 3 4

Search: Search took 0.05 seconds.

  1. Replies
    2
    Views
    7,947

    Bear in mind I've not actually compiled and...

    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...
  2. I don't know much about this, but I would imagine...

    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...
  3. Replies
    11
    Views
    9,090

    There's an interesting article on the register...

    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...
  4. Replies
    11
    Views
    9,090

    I remember reading this story (in the Metro?) and...

    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...
  5. Replies
    3
    Views
    24,614

    If you are trying to do what I think you're...

    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 =...
  6. Replies
    2
    Views
    8,103

    I would use mingw - I've used it in the past and...

    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.
    ...
  7. Replies
    8
    Views
    24,970

    Well basically, if you're wanting to copy the...

    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++)...
  8. Replies
    12
    Views
    7,132

    My work's a small software company, and because...

    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...
  9. Thread: backtrack2

    by gothic_type
    Replies
    5
    Views
    6,782

    Haha, that one confused me for a while when I...

    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
  10. Replies
    1
    Views
    5,482

    I would imagine that you are calling read() and...

    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...
  11. Replies
    7
    Views
    5,718

    I'm running FF3 and I've not noticed any...

    I'm running FF3 and I've not noticed any problems. Could it be a problem with an addon you've got?

    ac
  12. Thread: Java Query

    by gothic_type
    Replies
    2
    Views
    5,654

    Am I right in thinking that javax.servlet is a...

    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...
  13. I agree with nihil. At the moment I'm just out...

    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...
  14. Replies
    1
    Views
    5,148

    The easiest way that I find of doing it is by...

    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...
  15. Replies
    8
    Views
    7,635

    Don't know if this'll help you at all, but...

    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;...
  16. Replies
    4
    Views
    4,286

    It's not necessarily their fault, but they don't...

    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
  17. Replies
    2
    Views
    6,153

    The first thing to do is understand the structure...

    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...
  18. Replies
    6
    Views
    7,404

    There's also the usleep() function, but I think...

    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...
  19. Replies
    4
    Views
    8,689

    What functionality do you require, because AFAIK...

    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
  20. Replies
    4
    Views
    6,935

    I know this is a bit late, but here's another...

    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...
  21. Replies
    2
    Views
    5,528

    Darksnake's correct - you need to read a row...

    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())
    {
    ...
  22. Replies
    3
    Views
    1,942

    NetBeans has a gui builder similar to the sort of...

    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....
  23. Replies
    8
    Views
    6,247

    I agree with SirDice - it's actually relatively...

    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...
  24. Replies
    6
    Views
    6,125

    Cheers for the replies - I think we'd covered...

    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...
  25. Replies
    6
    Views
    6,125

    I was basically asking if there were any (common)...

    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...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4