Search:

Type: Posts; User: osiris^

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    10
    Views
    4,355

    The end result has to be a virus scanner, or at...

    The end result has to be a virus scanner, or at least something that is capable of looking inside files for certain patterns/signatures.
  2. Replies
    10
    Views
    4,355

    Ah this looks like what I was looking for. ...

    Ah this looks like what I was looking for.

    Thanks.
  3. Replies
    10
    Views
    4,355

    I was aware of this, but is there anyway to embed...

    I was aware of this, but is there anyway to embed it into a C program? It's part of a larger problem and thus I need to be able to visit every file on the hard disk.
  4. Replies
    10
    Views
    4,355

    Argh, sorry. The program needs to run on Windows...

    Argh, sorry. The program needs to run on Windows XP.
  5. Replies
    10
    Views
    4,355

    Getting a file list from a hard disk?

    Hi all,

    I need to scan the contents of a hard drive on a computer and return the list of files on that drive. I'm able to scan the first level of hierarchy for a given drive letter, and am using a...
  6. It's part of an encryption program assignment,...

    It's part of an encryption program assignment, which is why I cannot use the mod operator, as the inverses aren't always precise, so I may end up with multiple solutions when I try to decrypt. This...
  7. Well, I didn't need any code to do it, I just...

    Well, I didn't need any code to do it, I just wanted ideas on how to do it.

    However, here's the code which gets the unicode numbers from a string called 'plain'. Each character of the array refers...
  8. Methods to keep a number within a certain range?

    Hi all,

    I have numbers X and Y, which have to be used to perform a calculation such that the resulting number, Z, is always within a particular range. However, as I'll need to find the inverse of...
  9. Replies
    14
    Views
    8,427

    Which takes me back to the original thread topic;...

    Which takes me back to the original thread topic; how do I do that? I wrote what I thought did that and was told by a couple of posters that I could not pass a pointer to a local variable because it...
  10. Replies
    14
    Views
    8,427

    Hi all, I've read through all your replies and...

    Hi all, I've read through all your replies and thought I'd just clarify what exactly I'm trying to do and what my problem is.

    I have a struct called player with various attributes, and an array of...
  11. Replies
    14
    Views
    8,427

    So assuming I want to create a struct in one...

    So assuming I want to create a struct in one function and have lots of other functions interact with it in some way (not at the same time though) how would you go about implementing that?

    Can I...
  12. Replies
    14
    Views
    8,427

    I presume it's because the return type was...

    I presume it's because the return type was defined as char, but a string is being returned?

    I have changed the function now to what vart suggested and it compiles fine. Am I right in saying that...
  13. Replies
    14
    Views
    8,427

    Returning a pointer to a struct array

    Hi all,

    I have the below function which I want to return a pointer to the array of type struct. However, I'm unsure of the syntax; what do I need to type as the return type of the function and in...
  14. Good stuff. Thanks for your help guys :)

    Good stuff.

    Thanks for your help guys :)
  15. Ok thanks, so just for my understanding, why can...

    Ok thanks, so just for my understanding, why can I not initialise the 2d array in the same way as the other struct variables? As per your code example, I have to change the whole way in which I am...
  16. I see. I have done this in other parts of the...

    I see.

    I have done this in other parts of the program before the 2d array was present (as shown below), and there was never a problem. Or do I now have to change the way in which i instantiate the...
  17. Having problems initialising a 2d array which is part of a struct

    Hi all, I am having a little bit of difficulty initialising a 2d array, for a player of type struct.

    I've created a struct to represent a player, and created two players of this struct type, as...
  18. Replies
    2
    Views
    1,141

    Outputting to excel...

    Hi all,

    Assuming I had a file with tons of figures in it (I think a csv would be the easiest to use), how would I go about exporting it to an xls file, and then view it in Excel? Going through the...
  19. One for each plane?

    One for each plane?
  20. Unsure on how to approach this concurrency problem

    Hello all,

    I've been given an assignment to be written in C#, and I'm unsure how to approach it. The assignment is meant to assess our skill in concurrent programming, which - after reading the...
  21. Yeah, sorry, I wrote that exact thing about 45...

    Yeah, sorry, I wrote that exact thing about 45 seconds ago, and was coming back to the thread to say nevermind lol.

    Cheers for the explanation on what's actually happening :)
  22. Ultra basic question, got a mind block going on

    Hey all,

    The following code causes the error "incompatible types" on the line "Osiris.name = "Osiris";"



    struct player {

    char name[10];
    int chosenNumbers[6];
  23. Advice on writing a basic encryption program?

    Hello all,

    Got a bit of the programming "bug" going on, and was just curious as to how difficult it would be to write an encryption/decryption program. I wasn't planning on anything too difficult;...
  24. Replies
    10
    Views
    1,411

    I've coded your problem, but just giving it to...

    I've coded your problem, but just giving it to you is pointless. So, I'll go through each line/section of my code, and be as helpful as I can in terms of telling you what to do.

    The algorithm for...
  25. Replies
    22
    Views
    2,496

    Okay, I don't know if you've managed to do it...

    Okay, I don't know if you've managed to do it yet, so I've very quickly knocked up a solution. There are probably more efficient ways to do this, but I've tried to make the calculations as...
Results 1 to 25 of 42
Page 1 of 2 1 2