Comments on: Debugging with GDB https://betterexplained.com/articles/debugging-with-gdb/ Math lessons that click Tue, 18 Jul 2017 22:32:48 +0000 hourly 1 By: Sumit Singh https://betterexplained.com/articles/debugging-with-gdb/#comment-328041 Fri, 04 Apr 2014 02:17:49 +0000 http://betterexplained.com/articles/debugging-with-gdb/#comment-328041 Really very useful, important contents are explained with the help of examples.
Thanks

]]>
By: Ramaswamy https://betterexplained.com/articles/debugging-with-gdb/#comment-327359 Thu, 21 Nov 2013 04:45:11 +0000 http://betterexplained.com/articles/debugging-with-gdb/#comment-327359 Very good explanation in simpler way. It’s very much usefull.

Thanks so much.

]]>
By: Ian S https://betterexplained.com/articles/debugging-with-gdb/#comment-192697 Thu, 21 Feb 2013 20:40:32 +0000 http://betterexplained.com/articles/debugging-with-gdb/#comment-192697 Thanks for the quick tutorial, the basics look very simple and easy to use.

]]>
By: noname https://betterexplained.com/articles/debugging-with-gdb/#comment-62183 Fri, 16 Mar 2012 19:53:19 +0000 http://betterexplained.com/articles/debugging-with-gdb/#comment-62183 #include

using namespace std ;

int main()
{
string stra , strb , strc ;
cin>>stra>>strb>>strc ;

int lena , lenb , lenc ;
lena = stra.length(); lenb = strb.length() ; lenc = strc.length() ;

int found =0 , j=0 , k=0 ;

if((lena + lenb) == lenc)
{
int a,b,c ;
for(int i =0 ; i<lenc ; i++)
{
found = 0 ;
if(j<lena && found ==0)
if(strc[i] == stra[j])
{
j++ ;
found = 1;
}

if(k<lenb && found ==0)
if( strc[i] == strb[k] )
{
k++;
found = 1;
}

if(found == 0)
{
cout<<"not interlieved"<<endl;
break ;

}
}
if(found == 1)
cout<<"interlieved"<<endl;
}
else
{
cout<<"not interlieved"<<endl;
}

}

]]>