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...
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...
February 28th, 2009 11:09 PM
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.
February 28th, 2009 11:07 PM
thanks. i forgot about that basic point.
that point taken too! thanks.
February 28th, 2009 10: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 05:18 AM
yeah i did and i found out...it was super-lame of me to even ask...:(
January 28th, 2009 05:16 AM
its really pathetic of me...
please mods...lock and delete this thread...
i didnt set i=0
January 28th, 2009 05: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 10: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 09: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 07: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 02: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 11:20 AM
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 11:15 AM
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 11:02 AM
consider this addition to the code in the "enc()" function.
printf("\n---------------------\nkey1[0] is %c\n---------------------------\n",key1[0]);
the output