Search:
Type: Posts; User: creeping death
Search:
Search took 0.01 seconds.
-
August 17th, 2011, 05:02 AM
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...
-
June 23rd, 2011, 12:40 AM
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.
...
-
June 21st, 2011, 03:24 AM
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...
-
April 4th, 2009, 11:44 AM
here is toy-RSA ... for 32-bit prime integers....but in C
#include<stdio.h>
#include<string.h>
struct keys
{
unsigned long int n;
-
March 31st, 2009, 12:56 AM
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...
-
March 30th, 2009, 08:38 AM
success!
forgot to include <sys/wait.h>
-
March 30th, 2009, 08:19 AM
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>
-
March 30th, 2009, 07:35 AM
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...
-
March 6th, 2009, 02:13 PM
Is popen() available on a ported-gcc compiler on windows too?
-
March 6th, 2009, 12:50 PM
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>
-
March 6th, 2009, 12:10 PM
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");
-
March 1st, 2009, 01:04 AM
thanks for the useful insights!!
:D
-
March 1st, 2009, 12:09 AM
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.
-
March 1st, 2009, 12:07 AM
thanks. i forgot about that basic point.
that point taken too! thanks.
-
February 28th, 2009, 11:37 PM
i m trying to understand dynamic memory allocation.
this is what i tried...and failed at
#include<stdio.h>
#include<stdlib.h>
int main()
{
-
January 28th, 2009, 06:18 AM
yeah i did and i found out...it was super-lame of me to even ask...:(
-
January 28th, 2009, 06:16 AM
its really pathetic of me...
please mods...lock and delete this thread...
i didnt set i=0
-
January 28th, 2009, 06:03 AM
#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;
}
-
December 31st, 2008, 11:00 AM
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...
-
December 31st, 2008, 10:19 AM
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?????
...
-
December 31st, 2008, 08:16 AM
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...
-
December 21st, 2008, 03:08 PM
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...
-
December 21st, 2008, 12:20 PM
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...
-
December 21st, 2008, 12:15 PM
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)...
-
December 21st, 2008, 12:02 PM
consider this addition to the code in the "enc()" function.
printf("\n---------------------\nkey1[0] is %c\n---------------------------\n",key1[0]);
the output
|
Click Here to Expand Forum to Full Width
|