Click here to Skip to main content
15,909,605 members

Comments by Critical Fist (Top 8 by date)

Critical Fist 21-Jul-20 9:53am View    
ok thank you
Critical Fist 21-Jul-20 9:21am View    
i did this code and its working but i wanted to know if this is efficient.
count=2;
do
{
cout<<"enter the number or enter -1 if you want to quit";
cin>>n;
if (n!=-1)
{
insert(n,count);
};
count++;
}while(n!=-1);
count 2 because i have also given a manuel item in the first slot
Critical Fist 21-Jul-20 9:01am View    
i want user to input a linked list instead of me inserting it manually
Critical Fist 21-Jul-20 8:59am View    
does it come along with complier or should i download it manually
Critical Fist 21-Jul-20 8:58am View    
kindoff wanted to debugg myself to understand how computer behaves