Search Results - CodeGuru Forums
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: creeping death

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. PHP: how to restrict a user from accessing directory structure by changing the URL

    How to configure the server to restrict a user from accessing the directory structure, by changing the URL?

    for example: if the server redirects the user to the following URL upon successful...
  2. Re: binary search algorithm implementation causes stackoverflow error

    apparently my logic was incorrect. i modified the implementation based on reference on the internet. the correct implementation was able to search form a set of 99999 elements in 12 milliseconds.
    ...
  3. binary search algorithm implementation causes stackoverflow error

    hi,

    I am trying to learn how to write recursive functions.

    Here, I tried to create a recursive implementation of binary search algorithm. The algorithm works fine but when the number of...
  4. Re: calculatin inverse for e in rsa

    here is toy-RSA ... for 32-bit prime integers....but in C



    #include<stdio.h>
    #include<string.h>

    struct keys
    {
    unsigned long int n;
  5. Replies
    3
    Views
    3,092

    Re: Unix System V - message queue

    i dont think SysV is POSIX compliant, unixware,hp-ux,aix,and irix are though, those are derived from SVR3 and 4...but the OP is saying Linux System V and I personally have never heard of that...
  6. Replies
    2
    Views
    362

    Re: processes problems!

    success!

    forgot to include <sys/wait.h>
  7. Replies
    2
    Views
    362

    Re: processes problems!

    well,

    i just changed from wait to waitpid() and there has been a lot of improvement.



    #include<stdio.h>
    #include<stdlib.h>
    #include<signal.h>
  8. Replies
    2
    Views
    362

    processes problems!

    ok...i wrote a program that takes user input within 5 secs 3 times ... the user should enter a number before the timer expires...

    here is the code



    /* This program checks if the user has...
  9. Re: saving the o/p of system() in a string

    Is popen() available on a ported-gcc compiler on windows too?
  10. Re: determining if a string is an ip address or a hostname?

    well,

    there are functions in ctype.h called isxdigit() and ispunct() that would come to use here.,




    //c language code, but you get the point right?
    #include<ctype.h>
    #include<stdio.h>
  11. saving the o/p of system() in a string

    the system() function executes an OS command . it returns 0 if command is executed else it returns some integer.

    as an example :


    #include <stdlib.h>

    int main()
    {
    system("date");
  12. Replies
    7
    Views
    4,854

    Re: realloc() : invalid pointer ?

    thanks for the useful insights!!

    :D
  13. Replies
    7
    Views
    4,854

    Re: realloc() : invalid pointer ?

    i willingly set i till 20 because i wanted to see if i'd get any runtime errors because i have deallocated those memory locations...

    i dont get any errors.
  14. Replies
    7
    Views
    4,854

    Re: realloc() : invalid pointer ?

    thanks. i forgot about that basic point.



    that point taken too! thanks.
  15. Replies
    7
    Views
    4,854

    realloc() : invalid pointer ?

    i m trying to understand dynamic memory allocation.

    this is what i tried...and failed at



    #include<stdio.h>
    #include<stdlib.h>
    int main()
    {
  16. Re: generating 10 unique random numbers in C

    yeah i did and i found out...it was super-lame of me to even ask...:(
  17. Re: generating 10 unique random numbers in C

    its really pathetic of me...

    please mods...lock and delete this thread...

    i didnt set i=0
  18. generating 10 unique random numbers in C

    #include<stdio.h>
    #include<stdlib.h>

    int main()
    {
    int i=0,j=0,n=0,a[10],flag=-1;
    for(i=0;i<10;i++)
    {
    a[i]=-1;
    }
  19. Replies
    2
    Views
    1,099

    Re: strange servlet problem

    solved...the problem was that

    suppose the servlet url is http://xyz/bar/

    so when i say


    src="foo.js"

    the server thinks that foo.js is in http://xyz/bar/...but i did not place foo.js...
  20. Replies
    2
    Views
    1,099

    Re: strange servlet problem

    i viewed the sources that the plain html file and the servlet file generated...
    they are exactly the same...yet the html file works , but the servlet file does not....what am i doing wrong?????

    ...
  21. Replies
    2
    Views
    1,099

    strange servlet problem

    hi

    i m a total servlet n00b...so i dont quite understand what is happening here.

    i got a javascript from the net ( http://scripts.hashemian.com/js/countdown.js )

    i saved it onto my...
  22. Replies
    13
    Views
    1,228

    Re: for loop problem driving me insane!!

    well, read some stuff about gdm from here...http://sourceware.org/gdb/current/onlinedocs/gdb_2.html#SEC5

    and some other stuff from various other sites...learnt the importance of debugger....and...
  23. Replies
    13
    Views
    1,228

    Re: for loop problem driving me insane!!

    ok thats a mistake, but why should the first character be punished for my mistake??? i increased the size to 10 and 4 ... still no improvement

    though there is no problem for the second string. the...
  24. Replies
    13
    Views
    1,228

    Re: for loop problem driving me insane!!

    ok

    heres what gdb had to say....this is really pissing me off now...please help me before i throw my computer out the window....



    $ gdb a.out
    GNU gdb Fedora (6.8-29.fc10)
    Copyright (C)...
  25. Replies
    13
    Views
    1,228

    Re: for loop problem driving me insane!!

    consider this addition to the code in the "enc()" function.



    printf("\n---------------------\nkey1[0] is &#37;c\n---------------------------\n",key1[0]);



    the output
Results 1 to 25 of 64
Page 1 of 3 1 2 3


Azure Activities Information Page

Windows Mobile Development Center


Click Here to Expand Forum to Full Width

This is a CodeGuru survey question.


Featured


HTML5 Development Center