Search:
Type: Posts; User: Rajesh1978
Search:
Search took 0.03 seconds.
-
July 12th, 2016, 11:10 PM
Hi,
I am very new to servlet. I am trying to understand few things
Can a <url-pattern> have *.do kind of string.
like <url-pattern>*.do </url-pattern>
I do not require struts to mix up with...
-
April 1st, 2016, 06:23 AM
Thanks it worked without any warning..
Adopted the above method of defining by 2kaud.
-
April 1st, 2016, 05:30 AM
Yes that is the problem I am facing now..
I can not have duplicate code also.
One way i am thinking to have a class member and use it ( I have only posted the function.. It is a class method)
-
April 1st, 2016, 04:28 AM
Hi,
i have one existing function say
int fun(int arg1, double arg2=0)
{
bool error=false;
....
....
-
March 21st, 2016, 10:49 PM
Thanks all..
So if in a class there are two variables like
class MyClass{
int val;
bool someAttribute;
};
-
March 21st, 2016, 05:37 AM
Hi,
I have below piece of code
class Derive1
{
public:
Derive1():val(0){}
Derive1& operator ++()
{
-
February 16th, 2016, 11:40 PM
Hi,
I see a piece of code and trying to understand. I think it is c++11 code.
auto post = [](const string & out,const bool flag){
if(flag)
cout<<out<<endl;
};
-
February 15th, 2016, 01:57 AM
Hi,
I am very new to java I am trying to execute one piece of code which should fail and throw exception. But it is not trowing any exception.
please correct me if i am wrong.
import...
-
September 16th, 2015, 12:11 AM
Yes that is correct. Random iterator is able to do the functionality of all other iterators.
http://www.cplusplus.com/reference/iterator/
-
September 15th, 2015, 01:08 PM
Hi,
Among the 5 iterators (input,output, random, bidirecational, forward and backward) which is associated with vectors?
What i think is vector is associated with all the above iterators.
-
March 25th, 2015, 09:14 PM
-
March 23rd, 2015, 12:36 PM
across drives mean?
in linux i saw a code where i see copy and unlink to /mnt/mypath instead move
thats why the doubt
-
March 23rd, 2015, 12:18 PM
i have one doubt is it good to move the file from one path to other path.
Or it is good to copy the file and unlink.
-
February 18th, 2015, 09:58 PM
-
February 16th, 2015, 12:47 PM
Very good knowledge is being exchanged.
Thanks to all gurus
Now my real question is repeated
I meant the above quoted thing in the beginning.
question is why two exceptions can not be...
-
February 12th, 2015, 12:26 PM
It is advisable not to throw the exception from destructor. Because if exception happens stack unwinding happens. suppose the destructor again throws the exception then on part of first exception...
-
November 7th, 2014, 12:44 AM
I even tried with set. Not much difference i see.
In all the cases i see stat is faster.
May be it is chacheing and using the the entries from the cache.
also the operation is happening in a...
-
November 6th, 2014, 09:39 PM
unordered set is there in c++ 11. As I am using older gcc compiler I do not have that.
One more thing is there any system call in linux which notifies the changes in a directory ?
-
November 6th, 2014, 12:15 PM
I tested with below scenario.
1. I put 15K files on a directory
2. used stat command to check the existance of some 5 files
Time taken 2 miliseconds
3. Did same thing using opendir. Loaded all...
-
November 5th, 2014, 01:46 PM
i am accessing the location every 1 sec. Some time 3-4 files of size 800k is getting added per 1sec.
I am getting delay once the number of files are more in the path
-
November 5th, 2014, 01:31 PM
I want to check some 5 files one at a time.
New files get added 2/min in that path.
-
November 5th, 2014, 12:57 PM
Hi,
I am using stat command to check the existence of a file in a directory.
The directory is having some 10K files. I feel the stat() call is expensive as i do not need the structure to be...
-
August 25th, 2014, 01:16 PM
Yes without synchronization there will be lot of problem.
Thankss
-
August 25th, 2014, 02:20 AM
Suppose multiple threads are are trying to insert into a STL Map, both are trying to insert with same key. As per my understanding it will not cause any issue till you invalidate the iterator. Here...
-
November 29th, 2013, 03:09 AM
|
Click Here to Expand Forum to Full Width
|