Search:

Type: Posts; User: neandrake

Page 1 of 20 1 2 3 4

Search: Search took 0.04 seconds; generated 41 minute(s) ago.

  1. Replies
    9
    Views
    2,578

    Do you have anything before or after that include?

    Do you have anything before or after that include?
  2. Thread: Namespaces

    by neandrake
    Replies
    4
    Views
    1,606

    Activator.CreateInstance Method (System)...

    Activator.CreateInstance Method (System)

    I believe you can specify assemblies to look in.
  3. Replies
    16
    Views
    3,664

    On OSX/g++ this prints out 4, the unmodified...

    On OSX/g++ this prints out 4, the unmodified value of x
  4. Replies
    16
    Views
    3,664

    It may depend on the compiler, but I actually...

    It may depend on the compiler, but I actually think it wouldn't replace x, though I won't try until later. I think typically compilers allocate space they need for all locals, so replace_x would not...
  5. Replies
    16
    Views
    3,664

    the x variable is placed on the stack when the...

    the x variable is placed on the stack when the loop is initialized. inside the loop you set a global pointer to point to that location on the stack. when the loop exits, the stack is adjusted so that...
  6. Replies
    2
    Views
    2,467

    If you're allowed to use an xml parsing library,...

    If you're allowed to use an xml parsing library, search out libexpat.
  7. Replies
    8
    Views
    7,294

    excellent point brewbuck

    excellent point brewbuck
  8. Replies
    8
    Views
    7,294

    XOR and Caesar are different ciphers, which...

    XOR and Caesar are different ciphers, which encipher plaintext using a key. One-time pads are used in conjunction with a cipher to enhance security. A one-time pad is a series of randomly generated...
  9. Replies
    7
    Views
    3,963

    I'm confused how the files are setup. Can you...

    I'm confused how the files are setup. Can you post function declarations and #include statements are in which .h/cpp files?
  10. Replies
    13
    Views
    2,128

    cheers

    cheers
  11. Actually, it looks like UseMachineKeyStore is...

    Actually, it looks like UseMachineKeyStore is ignored when passing CspParameters into the RSACryptoServiceProvider constructor.

    Look here for your question:
    RSA.ToXmlString Method...
  12. Replies
    16
    Views
    6,035

    swarvy - you certainly can do something like...

    swarvy - you certainly can do something like that. in fact there are quite a few ways of determining even/odd.
  13. This like looks suspicious, especially if it...

    This like looks suspicious, especially if it works on your machine but nobody else's.

    RSACryptoServiceProvider.UseMachineKeyStore = true;


    --edit--
    looks like the pub/private keys are being...
  14. Replies
    16
    Views
    6,035

    i'm guessing the problem is that the function...

    i'm guessing the problem is that the function even() is called before it is defined.




    int odd(int);
    int even(int);

    int odd(int n)
    {
  15. Replies
    1
    Views
    5,339

    firstly i would suggest moving your custom CMAP...

    firstly i would suggest moving your custom CMAP code into separate .c/.h files. make sure the .h contains declarations of your custom struct(s) and the functions to use them. provide the function...
  16. Replies
    9
    Views
    6,181

    if every monster of the same type is always in...

    if every monster of the same type is always in the same location, always has the same hp, always has the same [other stat], then what you're doing is fine, other than that you have to have separate...
  17. Replies
    13
    Views
    2,128

    I believe a one-dimensional array can be...

    I believe a one-dimensional array can be initialized with a variable, such as


    int y = 16;
    char c[] = new char[y]


    Where the size y will be evaluated at runtime, and could be received from...
  18. Replies
    13
    Views
    6,848

    in fact, except for a few other minor...

    in fact, except for a few other minor precautionary measures, i don't think there's a way around that
  19. Replies
    13
    Views
    6,848

    are they credentials for logging into a database?...

    are they credentials for logging into a database? i see this all the time in webapps.
  20. Replies
    9
    Views
    6,181

    Monster.Kill would set the monster's death...

    Monster.Kill would set the monster's death status. If you want to remove the monster object, there should be something like Game.RemoveMonster(aMonster).
  21. Replies
    9
    Views
    6,181

    an object can call some cleanup code on itself,...

    an object can call some cleanup code on itself, but should never destroy itself (and cannot, that i'm aware of). some other object should probably own or control the monster object, and should take...
  22. Thread: Linked List

    by neandrake
    Replies
    4
    Views
    1,621

    This is rather confusing as we don't have the...

    This is rather confusing as we don't have the assignment you were given for this (nor figures A and b), and there is a bit more going on than just linked lists. Looks like what you need to do is...
  23. Replies
    2
    Views
    1,332

    you don't clearly state what it is you are trying...

    you don't clearly state what it is you are trying to do, and what you need help with. it sounds like you are making an interpreter for some language? post a link to reference the language, otherwise...
  24. Replies
    2
    Views
    11,402

    unless this is for an assignment where you need...

    unless this is for an assignment where you need to use realloc, you might consider allocating all the space you need upfront (since you know you will need 15 eggrafi's) instead of realloc'ing in a...
  25. Replies
    6
    Views
    1,351

    mithr56, the suggestion you offered can cause...

    mithr56, the suggestion you offered can cause problems if the value of 0 (or any other value you choose) could have a separate meaning aside from assigning it like you do (such as 0 oftentimes being...
Results 1 to 25 of 500
Page 1 of 20 1 2 3 4