Search Results

Showing results 1 to 29 of 29
Search took 0.01 seconds.
Search: Posts Made By: ermithun
Forum: Shell Scripting Jul 14th, 2009
Replies: 6
Views: 646
Posted By ermithun
Many thanks sknake!! but i dint get what u did on cmd line..

sort function i know but i dint get the following

/tmp$ cat l

and

/tmp$ sort -u l
Forum: Shell Scripting Jul 14th, 2009
Replies: 6
Views: 646
Posted By ermithun
Is there nobody in this community who can answer my query?please help me.
Forum: Shell Scripting Jul 14th, 2009
Replies: 6
Views: 646
Posted By ermithun
i have a file, say , abc.log

which contains data like,

123_1
123_2
123_3
123_4
123_5
123_6
Forum: Shell Scripting Jul 6th, 2009
Replies: 2
Views: 552
Posted By ermithun
The command 'who -ap' will list all the users currently logged in the system.

for more info on who, pls do type 'man who' on ur terminal.

now as per ur requirement, u can write a script...
Forum: C++ Jul 3rd, 2009
Replies: 1
Views: 149
Posted By ermithun
I have written a sample code,


class A
{
public:
void func1(X *ptr);
};

class B
Forum: C++ Jul 3rd, 2009
Replies: 6
Views: 408
Posted By ermithun
Hello All
can anyone tell me,
i am using a list class and creating a list in my code..
if I am not explicitly defining list::erase () in my class then can my code internally invoke this method and...
Forum: C++ Jul 2nd, 2009
Replies: 6
Views: 408
Posted By ermithun
Forum: C++ Jul 2nd, 2009
Replies: 6
Views: 408
Posted By ermithun
oh!! that wa a typo.. yeah u assumed it rite , that was 'ptr' instead of B in the return statement.

yeah, i m not deleting it. so, i m going against the OOPs concept here.. when i am creating an...
Forum: C++ Jul 2nd, 2009
Replies: 6
Views: 408
Posted By ermithun
I have written a sample test code as,

Class A
{
main ()
{
A *a;
B *ptr;

B* A::func() const {
Forum: C++ Jul 1st, 2009
Replies: 2
Views: 219
Posted By ermithun
Hello All
please help me understand the below code snippet,

LDAPControl** LDAPControlSet::toLDAPControlArray() const{
DEBUG(LDAP_DEBUG_TRACE, "LDAPControlSet::toLDAPControlArray()" << endl);...
Forum: C++ Jul 1st, 2009
Replies: 1
Views: 298
Posted By ermithun
Hello All

Can anyone help me to understand the below log line which got generated when segmentation falut occurred,
...
Forum: C++ Jul 1st, 2009
Replies: 5
Views: 267
Posted By ermithun
thanks... i cud able to generate it now.. but i used some differerent way.
Forum: C++ Jul 1st, 2009
Replies: 5
Views: 267
Posted By ermithun
Hello All
Can anyone provide me a sample code, executing which generates a segmentation falut. need to understand how it works.

Thanks.
Forum: C++ Jul 1st, 2009
Replies: 2
Views: 130
Posted By ermithun
THanks Siddhant.

one more help,
actly i m trying to reproduce the segmentation fault in my code, please let me know whether the below code is capable of giving rise to that error or not or if not...
Forum: C++ Jul 1st, 2009
Replies: 2
Views: 130
Posted By ermithun
Can anyone help me to let me know whats happening in the below code when ,
data=cs.data; happens
as FYI,
data is an empty list created of type std::list
and the constructor definition given...
Forum: C++ Jul 1st, 2009
Replies: 8
Views: 281
Posted By ermithun
Many thanks Sky diploma. yes i got your point now.
Forum: C++ Jun 30th, 2009
Replies: 8
Views: 281
Posted By ermithun
yeah sure, please refer the class LDAPControlSet below,


class LDAPControlSet {
typedef CtrlList::const_iterator const_iterator;
public :
LDAPControlSet();

...
Forum: C++ Jun 30th, 2009
Replies: 8
Views: 281
Posted By ermithun
Hello Sky Diploma

i confirm that the class-declaration doesnt have a member of type std::list, so how do I declare or create this list?

please help
Thanks.
Forum: C++ Jun 30th, 2009
Replies: 5
Views: 359
Posted By ermithun
This problem actually occurs in CPP not in C. please advice

Thanks.
Forum: C++ Jun 30th, 2009
Replies: 8
Views: 281
Posted By ermithun
I apologize adatapost, i have used BB codes now..

Sky Diploma,
I have rephrased my statements as well now..

i meant to ask that the class declaration does not have any member like std::list...
Forum: C++ Jun 30th, 2009
Replies: 3
Views: 275
Posted By ermithun
many thanks to all of u for ur kind responses.
Forum: C++ Jun 30th, 2009
Replies: 5
Views: 359
Posted By ermithun
thanks Adatapost.
i have done what u have asked me to use. Please help me understand it.

thanks in advance
Forum: C++ Jun 30th, 2009
Replies: 5
Views: 359
Posted By ermithun
LDAPMessageQueue* LDAPExtRequest::sendRequest(){
DEBUG(LDAP_DEBUG_TRACE, "LDAPExtRequest::sendRequest()" << endl);
int msgID=0;
BerValue* tmpdata=0;
if(m_data != ""){
tmpdata=(BerValue*)...
Forum: C++ Jun 30th, 2009
Replies: 8
Views: 281
Posted By ermithun
please refer the code below,

/**
* Constructs an empty std::list
*/
LDAPControlSet();

only this much is there in its respective class,LDAPControlSet. i want...
Forum: C++ Jun 30th, 2009
Replies: 3
Views: 275
Posted By ermithun
typedef std::list<LDAPCtrl> CtrlList;
typedef CtrlList::const_iterator const_iterator;

please help me in understanding the above typedef statements as we know that typedef syntax is,
typedef...
Forum: C++ Jun 30th, 2009
Replies: 3
Views: 283
Posted By ermithun
Actually, the logs pasted in my first post shows the reason of segmentation fault but i am not able to understand it as actually where the problem lies??

please advice.
Forum: C++ Jun 30th, 2009
Replies: 5
Views: 359
Posted By ermithun
Hello friends,
i am facing issues while finding the reason for a segmentation fault in a CPP-application. Please let me know how to move forward to look for this error,

i have a doubt on the...
Forum: C++ Jun 30th, 2009
Replies: 3
Views: 283
Posted By ermithun
many thanks nick...

i want to add some things into this as it wud help our friends to make me understand more,
as per my analysis,
if u can see the destructors calling part of the log, after...
Forum: C++ Jun 29th, 2009
Replies: 3
Views: 283
Posted By ermithun
Hello,
Can anyone please help me in understanding the below as i need to debug it for finding out the reason for signal 11 in the code,

Caught fatal signal 11 (Segmentation Fault)...
Showing results 1 to 29 of 29

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC