how to view,add and delete index



#include<iostream>  

#include<conio.h>



using namespace std;



  

struct biodata  

{  

string fname;  

string lname;  

string mname;  

string address;  

string pbirth;  

string dbirth;  

string religion;  

string citizen;  

string civilstat;  

string gender;  

string email;



  

}*student;



main( )  

{  

int n,i,xx,c,d,a=0,e=1;  

char b,y;



cout<<"how many records?";  

cin>>n;  

cin.ignore( );



student= new biodata[n];



for(i=0;i<n;i++)  

{  

cout<<"\nLast name:"<<" ";  

getline(cin,student*.lname);  

cout<<"First name:"<<" ";  

getline(cin,student*.fname);  

cout<<"Middle name:"<<" ";  

getline(cin,student*.mname);  

cout<<"Full Addess:"<<" ";  

getline(cin,student*.address);  

cout<<"Gender:"<<" ";  

getline(cin,student*.gender);  

cout<<"Place of Birth:"<<" ";  

getline(cin,student*.pbirth);  

cout<<"Date of birth"<<" ";  

getline(cin,student*.dbirth);  

cout<<"Citizenship:"<<" ";  

getline(cin,student*.citizen);  

cout<<"Religion:"<<" ";  

getline(cin,student*.religion);  

cout<<"Civil Status:"<<" ";  

getline(cin,student*.civilstat);  

cout<<"Email Address"<<" ";  

getline(cin,student*.email);***********



}  

cout<<"\n[1]"<<" "<< "VIEW ALL"<<endl;  

cout<<"[2]"<<" "<< "VIEW"<<endl;  

cout<<"[3]"<<" "<< "ADD"<<endl;  

cout<<"[4]"<<" "<< "DELETE"<<endl;  

cout<<"[5]"<<" "<< "EXIT"<<endl;  

cout<<"\nEnter choice:";  

cin>>c;  

cin.ignore( );



do  

{  

do  

{  

if(c==1)  

{  

cout<<" "<<"\n\nTHIS IS ALL OF YOUR RECORD"<<endl;  

for(i=0;i<n;i++)  

{  

cout<<"\nNAME:"<<" "<<student*.lname<<" "<<student*.fname<<" "<<student*.mname<<endl;  

cout<<"\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_"<<endl;  

cout<<" Surname"<<" "<<" First name"<<" "<<" Middle name"<<endl;  

cout<<"\nAddress:"<<" "<<student*.address<<endl;  

cout<<"Place of Birth:"<<" "<<student*.pbirth<<endl;  

cout<<"Date of Birth:"<<" "<<student*.dbirth<<endl;  

cout<<"Email Address:"<<" "<<student*.email<<endl;  

cout<<"Gender:"<<" "<<student*.gender<<endl;  

cout<<"Citizenship:"<<" "<<student*.citizen<<endl;  

cout<<"Civil Status:"<<" "<<student*.civilstat<<endl;  

cout<<"Religion:"<<" "<<student*.religion<<endl;  

}  

cout<<"\n\nPress b to back to mian menu:";  

cin>>b;***********



if(b=='b'||b=='B')  

{  

cout<<"\n[2]"<<" "<< "VIEW"<<endl;  

cout<<"[3]"<<" "<< "ADD"<<endl;  

cout<<"[4]"<<" "<< "DELETE"<<endl;  

cout<<"[5]"<<" "<< "EXIT"<<endl;  

cout<<"\nEnter choice:";  

cin>>c;  

cin.ignore( );  

}  

}  

}while(c==1);



do  

{  

do  

{  

system("cls");  

if(c==4)  

{  

cout<<"Enter index that you want to delete:"<<" ";  

cin>>d;  

if(d>=n)  

cout<<"\ninvalid!"<<" "<<"no Index found";  

else  

{  

cout<<"\nThe index was successfully deleted:";  

a=a+1;



}



cout<<"\n\nPress b to back to mian menu:";  

cin>>b;  

if(b=='b'||b=='B')  

{  

cout<<"\n[1]" "New View"<<endl;  

cout<<"[2]" "VIEW"<<endl;  

cout<<"[3]" "ADD"<<endl;  

cout<<"[4]" "DELETE"<<endl;  

cout<<"[5]" "EXIT"<<endl;  

cout<<"\nEnter choice:";  

cin>>c;  

cin.ignore( );  

}  

}  

}while(c==4);



  

do  

{  

system("cls");  

if(c==3)  

{  

if(a==0)  

cout<<"\nSorry the index is full!" "Delete some index to use this Menu";  

else  

{  

{  

cout<<"\nLast name:"<<" ";  

getline(cin,student[d-a+1].lname);  

cout<<"First name:"<<" ";  

getline(cin,student[d-a+1].fname);  

cout<<"Middle name:"<<" ";  

getline(cin,student[d-a+1].mname);  

cout<<"Full Addess:"<<" ";  

getline(cin,student[d-a+1].address);  

cout<<"Gender:"<<" ";  

getline(cin,student[d-a+1].gender);  

cout<<"Place of Birth:"<<" ";  

getline(cin,student[d-a+1].pbirth);  

cout<<"Date of birth"<<" ";  

getline(cin,student[d-a+1].dbirth);  

cout<<"Citizenship:"<<" ";  

getline(cin,student[d-a+1].citizen);  

cout<<"Religion:"<<" ";  

getline(cin,student[d-a+1].religion);  

cout<<"Civil Status:"<<" ";  

getline(cin,student[d-a+1].civilstat);  

cout<<"Email Address"<<" ";  

getline(cin,student[d-a+1].email);  

a=a-1;  

}  

}  

cout<<"\n\nPress b to back to mian menu:";  

cin>>b;



if(b=='b'||b=='B')  

{  

cout<<"\n[2]" "VIEW"<<endl;  

cout<<"[3]" "ADD"<<endl;  

cout<<"[4]" "DELETE"<<endl;  

cout<<"[5]" "EXIT"<<endl;  

cout<<"\nEnter choice:";  

cin>>c;  

cin.ignore();  

}  

}  

}while(c==3);  

}while(c!=2);



  

if(c==2)  

{



cout<<"You choose the VIEW menu please Enter index"<<" ";  

cin>>xx;  

}  

if(xx>=n)  

{  

cout<<"\ninvalid!"<<" "<<"NO Index found";  

}  

else  

if(xx==d)  

{  

for(i=d;i<n;i++)  

student*=student[i-1];  

student[i-1];  

cout<<" ";  

}  

else  

{  

cout<<"\nNAME:"<<" "<<student[xx].lname<<" "<<student[xx].fname<<" "<<student[xx].mname<<endl;  

cout<<"\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_"<<endl;  

cout<<" Surname"<<" "<<" First name"<<" "<<" Middle name"<<endl;  

cout<<"\nAddress:"<<" "<<student[xx].address<<endl;  

cout<<"Place of Birth:"<<" "<<student[xx].pbirth<<endl;  

cout<<"Date of Birth:"<<" "<<student[xx].dbirth<<endl;  

cout<<"Email Address:"<<" "<<student[xx].email<<endl;  

cout<<"Gender:"<<" "<<student[xx].gender<<endl;  

cout<<"Citizenship:"<<" "<<student[xx].citizen<<endl;  

cout<<"Civil Status:"<<" "<<student[xx].civilstat<<endl;  

cout<<"Religion:"<<" "<<student[xx].religion<<endl;  

}  

cout<<"\n\nPress b to back to mian menu:";  

cin>>b;  

if(b=='b'||b=='B')  

{  

cout<<"\n[2]" "VIEW"<<endl;  

cout<<"[3]" "ADD"<<endl;  

cout<<"[4]" "DELETE"<<endl;  

cout<<"[5]" "EXIT"<<endl;*



cout<<"\nEnter choice:";  

cin>>c;  

cin.ignore( );  

}



}while(c!=5);  

a++;  

getch( );  

return 0;  

}
What problem are you facing? Post the error that you get.  

Also please edit your first post by aligning the code properly and wrap [code] tag so that it is easily understandable for us to analyze.
How you do this will depend on a number of factors: since you haven't tried to explain in any detail, I'll assume you know nothing, and just give you the basics.  

  

The easiest way to do this is to read the text file into a single string, and then use the .NET framework to find the match:  


```
Dim text As String = File.ReadAllText("D:\Temp\MyFile.txt")
Dim index As Integer = text.IndexOf("hello")
If index >= 0 Then
   ' String is in file, starting at character "index"
End If
```
  

There are other ways, but that is pretty much the simplest. [@cssc](/u/cssc), another option would be to take the regex way.

first, it finds the index of the 5th pipe.

then, it takes the substring until that index.

give this a try:

inputstr.substring(0, regex.matches(inputstr, "\|")(4).index + 1) There is an MS DOS tool you can use to add a service. It is SC.EXE. I shall illustrate its use with an example.

Suppose, that I had installed two Coldfusion 11 instances named *testInstance1* and *myNewCFInstance*. Their installation directories are, respectively

C:\ColdFusion11\testInstance1\

C:\ColdFusion11\myNewCFInstance\

To add them as Windows services, you could proceed as follows.

Click on the Windows Start symbol.

When you type *cmd* in the search field, a link to the DOS command prompt should appear.

Right-click on the link and select to *Run as Administrator*. You should now get the DOS command prompt.

You can now run the DOS command, SC, to add a Windows service. You will have to do this for each and every instance you wish to add, one instance at a time.

**testInstance1**

Type the following after the prompt and press enter:

*sc create "ColdFusion 11 testInstance1" binPath= C:\ColdFusion11\testInstance1\bin\coldfusionsvc.exe start= auto DisplayName= "ColdFusion 11 testInstance1"*

Explanation:

* You must leave a single space after each equal (=) sign.
* "ColdFusion 11 testInstance1" is the name of the Windows service.
* The start type is Automatic.

![](/legacyfs/online/1191406_pastedImage_20.png)

You should get the result "SUCCESS".

To add the description, you have to run SC once again:

*sc description "ColdFusion 11 testInstance1" "My first ColdFusion 11 instance"*

Explanation:

* You must use the exact Windows service name. It is, in this case,  "ColdFusion 11 testInstance1".
* You may use any description you like. But I would advise you to use something like "ColdFusion 11 instance name\_of\_instance"

![](/legacyfs/online/1191405_pastedImage_16.png)

**myNewCFInstance**

For my second instance, the DOS commands I used to create the Windows service and to add the description were, respectively,

*sc create "ColdFusion 11 myNewCFInstance" binPath= C:\ColdFusion11\myNewCFInstance\bin\coldfusionsvc.exe start= auto DisplayName= "ColdFusion 11 myNewCFInstance"*

Followed by

*sc description "ColdFusion 11 myNewCFInstance" "ColdFusion 11 instance myNewCFInstance"*

Some references:

<https://coldfusionsolution.wordpress.com/2014/11/12/how-to-create-service-for-coldfusion/>

[http://stackoverflow.com/questions/29702700/sc-exe-how-to-set-up-the-description-for-the-windows-ser...](http://stackoverflow.com/questions/29702700/sc-exe-how-to-set-up-the-description-for-the-windows-service)

<https://forums.adobe.com/thread/1152396> 

Should you make a mistake, and wish to delete a service, then see

[How to Delete a Windows Service in Windows 7, 8, 10, Vista, or XP](https://www.howtogeek.com/howto/windows-vista/how-to-delete-a-windows-service-in-vista-or-xp/ "https://www.howtogeek.com/howto/windows-vista/how-to-delete-a-windows-service-in-vista-or-xp/") someone forgot to link one of the answers in the meantime.

[image]

[how can i run run occ db:add-missing-indices on shared hosting](https://help.nextcloud.com/t/how-can-i-run-run-occ-db-add-missing-indices-on-shared-hosting/36761/2) [support](/c/support)

i found a work around for this, so if anyone else finds themselves in the same boat, this is one way to resolve it.

i don’t have shel… am rezolvat , multumesc , am "furat" sursa html si css din pluginul " enhanced user info panel "   o sa las mai jos si sursele pentru cei ce vor sa faca ceva de genul 
 


 forums  /  font  /  topics  /  postcontainer
 


{{$idfield = $comment::$databasecolumnid;}}
{{$itemclasssafe = str\_replace( '\\', '\_', mb\_substr( $comment::$itemclass, 4 ) );}}
{{if $comment->isignored()}}
 <div class='ipscomment ipscomment\_ignored ipstype\_light' id='elignorecomment\_{$comment->$idfield}' data-ignorecommentid='elcomment\_{$comment->$idfield}' data-ignoreuserid='{$comment->author()->member\_id}'>
 {lang="ignoring\_content" sprintf="$comment->author()->name"} <a href='#elignorecomment\_{$comment->$idfield}\_menu' data-ipsmenu data-ipsmenu-menuid='elignorecomment\_{$comment->$idfield}\_menu' data-ipsmenu-appendto='#elignorecomment\_{$comment->$idfield}' data-action="ignoreoptions" title='{lang="see\_post\_ignore\_options"}' class='ipstype\_blendlinks'>{lang="options"} <i class='fa fa-caret-down'></i></a>
 <ul class='ipsmenu ipshide' id='elignorecomment\_{$comment->$idfield}\_menu'>
 <li class='ipsmenu\_item ipsjs\_show' data-ipsmenuvalue='showpost'><a href='#'>{lang="show\_this\_post"}</a></li>
 <li class='ipsmenu\_sep ipsjs\_show'><hr></li>
 <li class='ipsmenu\_item' data-ipsmenuvalue='stopignoring'><a href='{url="app=core&module=system&controller=ignore&do=remove&id={$comment->author()->member\_id}" seotemplate="ignore"}'>{lang="stop\_ignoring\_posts\_by" sprintf="$comment->author()->name"}</a></li>
 <li class='ipsmenu\_item'><a href='{url="app=core&module=members&controller=ignore" seotemplate="ignore"}'>{lang="change\_ignore\_preferences"}</a></li>
 </ul>
 </div>
{{endif}}

<a id='comment-{$comment->$idfield}'></a>
<article itemscope {{if $item->isquestion() && !$comment->new\_topic}}itemprop="suggestedanswer {{if $comment->post\_bwoptions['best\_answer']}}acceptedanswer{{endif}}" itemtype="http://schema.org/answer"{{else}}itemtype="http://schema.org/comment"{{endif}} id='elcomment\_{$comment->$idfield}' class='cpost ipsbox {{if $otherclasses}}{$otherclasses}{{endif}} ipscomment {{if settings.reputation\_highlight and $comment->reputation() >= settings.reputation\_highlight}}ipscomment\_popular{{endif}} ipscomment\_parent ipsclearfix ipsclear ipscolumns ipscolumns\_nospacing ipscolumns\_collapsephone {{if $comment->isignored()}}ipshide{{endif}} {{if $comment->hidden()}}ipsmoderated{{endif}}'>
 {{if $item->isquestion() and !$comment->new\_topic}}
 {template="postrating" group="topics" app="forums" params="$item, $comment, $votes"}
 {{endif}}
 <aside class='ipscomment\_author cauthorpane ipscolumn ipscolumn\_medium'>
 <h3 class='ipstype\_sectionhead cauthorpane\_author ipstype\_blendlinks ipstype\_break' itemprop="creator" itemscope itemtype="http://schema.org/person"><strong itemprop="name">{$comment->author()->link( $comment->warningref() )|raw}</strong> <span class='ipsresponsive\_showphone ipsresponsive\_inline'>&nbsp;&nbsp;{template="reputationbadge" group="global" app="core" params="$comment->author()"}</span></h3>
 <ul class='cauthorpane\_info ipslist\_reset'>
 
 {{if $comment->author()->member\_title && $comment->author()->member\_id}}
 
 {{elseif $comment->author()->rank['title'] && $comment->author()->member\_id}}
 <li class='ipsresponsive\_hidephone'>{$comment->author()->rank['title']}</li>
 {{endif}} 
 <!-- {{if $comment->author()->rank['image'] && $comment->author()->member\_id}}
 <li class='ipsresponsive\_hidephone'>{$comment->author()->rank['image']|raw}</li>
 {{endif}} -->
 
 <li class='cauthorpane\_photo'>
 {{if $comment->author()->pp\_main\_photo}}<a href='{url="app=core&module=members&controller=profile&id={$comment->author()->member\_id}-{$comment->author()->name}" seotemplate="profile" seotitle="$comment->author()->name"}' data-ipshover data-ipshover-target='{url="app=core&module=members&controller=profile&id={$comment->author()->member\_id}-{$comment->author()->name}&do=hovercard" seotemplate="profile" seotitle="$comment->author()->name"}' title="{lang="view\_user\_profile" sprintf="$comment->author()->name"}"><span class='ipsuserphoto ipsuserphoto\_variable'><img src="{setting="base\_url"}uploads/{$comment->author()->pp\_main\_photo}" /></span></a>{{else}}<a href='{url="app=core&module=members&controller=profile&id={$comment->author()->member\_id}-{$comment->author()->name}" seotemplate="profile" seotitle="$comment->author()->name"}' data-ipshover data-ipshover-target='{url="app=core&module=members&controller=profile&id={$comment->author()->member\_id}-{$comment->author()->name}&do=hovercard" seotemplate="profile" seotitle="$comment->author()->name"}' title="{lang="view\_user\_profile" sprintf="$comment->author()->name"}"><span class='ipsuserphoto ipsuserphoto\_variable'><img src="{resource="default\_photo.png" app="core" location="global"}" /></a>{{endif}}
 </li>

 <li class='group\_badge'>
 <div class='group\_name'>{expression="\ips\member\group::load( $comment->author()->member\_group\_id )->formattedname" raw="true"}</div>
 <!-- <div class='member\_title'>
 {{if $comment->author()->member\_title && $comment->author()->member\_id}}
 {$comment->author()->member\_title}
 {{elseif $comment->author()->rank['title'] && $comment->author()->member\_id}}
 {$comment->author()->rank['title']}
 {{endif}}
 </div> -->
 </li>
 </ul>
 {{if $comment->author()->rank['image'] && $comment->author()->member\_id}}
 
 {{endif}}
 
 {{if $comment->author()->member\_id}}
 <ul class='dpxutprofile'>
 <li class="ipsresponsive\_hidephone ipstype\_break">
 <div class='stat\_name'><i class="fa {setting="euip\_fafauserrank"}" aria-hidden="true"></i> {lang="euip\_membertitle"}:</div>
 <div class='stat\_value'>{$comment->author()->member\_title}</div>
 </li>
 
 <li class='euip\_border'>
 <div class='stat\_name'><i class="fa {setting="euip\_fafausername"}" aria-hidden="true"></i> {lang="euip\_username"}:</div>
 <div class='stat\_value'> <strong itemprop="name">{$comment->author()->link( $comment->warningref() )|raw}</strong></div>
 </li>
 <li class='euip\_border {{if \ips\settings::i()->euip\_usergrouphidephone == 1}}ipsresponsive\_hidephone{{endif}}'>
 <div class='stat\_name'><i class="fa {setting="euip\_fafausergroup"}" aria-hidden="true"></i> {lang="euip\_usergroup"}:</div>
 <div class='stat\_value'>{expression="\ips\member\group::load( $comment->author()->member\_group\_id )->formattedname" raw="true"}</div>
 </li>
 <li> 
 <div class='stat\_name'>
 <i class="fa fa-comments-o" aria-hidden="true"></i> posts 
 </div>
 <div class='stat\_value'> 
 {$comment->author()->member\_posts}
 </div>
 </li>
 
 <li class='euip\_border {{if \ips\settings::i()->euip\_userrephidephone == 1}}ipsresponsive\_hidephone{{endif}}'>
 <div class='stat\_name'><i class="fa {setting="euip\_fafauserrep"}" aria-hidden="true"></i> {lang="euip\_totalrep"}:</div>
 <div class='stat\_value'>{template="reputationbadge" group="global" app="core" params="$comment->author()"}</div>
 </li>
 <li> 
 <div class='stat\_name'>
 <i class="fa fa-exclamation-triangle" aria-hidden="true"></i> warn level
 </div>
 <div class='stat\_value'> 
 {$comment->author()->warn\_level}
 </div>
 </li>
 
 <li class='euip\_border {{if \ips\settings::i()->euip\_birthdayhidephone == 1}}ipsresponsive\_hidephone{{endif}}'>
 <div class='stat\_name'><i class="fa {setting="euip\_fafabirthday"}" aria-hidden="true"></i> {lang="euip\_age"}:</div>
 <div class='stat\_value'>{$comment->author()->age()}</div>
 </li>
 
 <li class='euip\_border {{if \ips\settings::i()->euip\_useridhidephone == 1}}ipsresponsive\_hidephone{{endif}}'>
 <div class='stat\_name'><i class="fa {setting="euip\_fafauserid"}" aria-hidden="true"></i> {lang="euip\_memberid"}:</div>
 <div class='stat\_value'>{$comment->author()->member\_id}</div>
 </li>
 
 <li class='euip\_border {{if \ips\settings::i()->euip\_lastactivityhidephone == 1}}ipsresponsive\_hidephone{{endif}}'>
 <div class='stat\_name'><i class="fa {setting="euip\_fafalastactivity"}" aria-hidden="true"></i> {lang="euip\_lastactivity"}:</div>
 <div class='stat\_value'>{{if $comment->author()->last\_activity}}{datetime="$comment->author()->last\_activity"}{{else}}{lang="never"}{{endif}}</div>
 </li>
 
 <li class='euip\_border {{if \ips\settings::i()->euip\_onlinestatushidephone == 1}}ipsresponsive\_hidephone{{endif}}'>
 <div class='stat\_name'><i class="fa {setting="euip\_fafaonlinestatus"}" aria-hidden="true"></i> {lang="euip\_onlinestatus"}:</div>
 <div class='stat\_value'>{{if $comment->author()->isonline()}}<span style='color:green' class='metric'>{lang="euip\_online"}</span>{{else}}<span style='color:red'>{lang="euip\_offline"}</span>{{endif}}</div>
 </li> 
 
 
 <li class='euip\_border {{if \ips\settings::i()->euip\_joindatehidephone == 1}}ipsresponsive\_hidephone{{endif}}'>
 <div class='stat\_name'><i class="fa {setting="euip\_fafauserjoindate"}" aria-hidden="true"></i> {lang="euip\_joined"}:</div>
 <div class='stat\_value'>{datetime="$comment->author()->joined" dateonly="true"}</div>
 </li>
 <li class='euip\_border {{if \ips\settings::i()->euip\_birthdayhidephone == 1}}ipsresponsive\_hidephone{{endif}}'>
 <div class='stat\_name'> <i class="fa {setting="euip\_fafabirthday"}" aria-hidden="true"></i> {lang="euip\_bday"}:</div>
 <div class='stat\_value'> {$comment->author()->birthday}</div>
 </li>
 <li class='ipsresponsive\_hidephone'>{$comment->author()->rank['image']|raw}</li>
 </ul>
 {{endif}}
 </aside>
 <div class='ipscolumn ipscolumn\_fluid'>
 {template="post" group="topics" app="forums" params="$item, $comment, $item::$formlangprefix . 'comment', $item::$application, $item::$module, $itemclasssafe"}
 </div>
</article>


 in custom.css se adauga urmatorul cod :
 


ul.dpxutprofile > li {
 display: flex;
 width: 90%;
 justify-content: space-between;
 margin: 5px auto;
 font-size: 10px;
 border-bottom: 1px dashed #444;
}
ul.dpxutprofile {
 margin: 0;
 padding: 0;
 list-style: none;
 margin-top: 15px;
}

ul.dpxutprofile > li > .stat\_name {
 display: inline-block;
 text-align: left;
 color: #525252;
 cursor: default;
 float: left;
 letter-spacing: 1px;
}

ul.dpxutprofile > li > .stat\_name > i {
 font-size: 14px;
 position: relative;
 top: 1px;
 margin-right: 5px;
}
ul.dpxutprofile > li > .stat\_value {
 display: inline-block;
 text-align: left;
 color: #828282;
 float: right;
}

.group\_badge {
 background: #2a2a2a;
 background: -webkit-linear-gradient(90deg,#23f88a transparent);
 background: -o-linear-gradient(90deg,#23f88a transparent);
 background: -moz-linear-gradient(90deg,#2a2a2a, transparent);
 background: linear-gradient(90deg,#2a2a2a, transparent);
 margin: 0 auto;
 margin-bottom: 15px;
 margin-top: 15px;
 width: 80%;
 height: 35px;
 line-height: 35px;
 border-radius: 30px;
}

.group\_name {
 position: relative;
 top: 0;
 transition: all .2s;
 cursor: default;
}


 rezultatul [@indrajit.shah](/u/indrajit.shah)

have a check on the missing closing ) for the first check

credentialdt.asenumerable.where(function( r) in\_userid.equals(r(“userid”).tostring and in\_password.equals(r(“password”).tostring))).select(function® r(“username”).tostring).tolist

in\_userid.equals(r(“userid”).tostring ) ← please fill out the form below. all fields are required. please enter a valid email address as you may be required to activate your account.
請填寫下方的表格 所有的空格都是必須 請輸入有效的email 因為你將會要開通你的帳戶

username使用者名稱 

password密碼 

confirm password 確認密碼 

email address email信箱 

title 頭銜 

first name 名字 

last name 姓氏 

address line 1 地址 (第一欄) 

address line 2 地址(第二欄) 

city 市 

zip/post code 郵遞區號 

state/province 省/州 

home phone: 家用電話 

country 國家 

date of birth 出生日期 

 

preferences
偏好
• allow other users to see my email address 准許其他使用者看到我的email
• accept private messages from other users 接受其他使用者傳給我的訊息
 
by completing this form and clicking the "register" button, you are also agreeing to abide by our terms of service and acceptable use policy
在填妥表格後按下註冊鍵 同時表示你同意遵守我們的服務條款與使用政策
 
register 這就是 註冊 Something like the following code should do the trick, provided you complete it (just plan 'A' is covered') and make it robust.  

  


```
#include<stdio.h>

int get\_description(const char type\_plan[], const char ** description, const char ** claim\_limit )
{
  int result = 0; // 0 is 'success' , non-zero is 'failure' 

  switch (type\_plan[0])
  {
  case 'A':
    *description = "Room Charges 150/day\nIntensive Care Unit (ICU) Charges 300/day\nHospital Supplies and Services : As charged. Subject to approval by EZMediLife. Surgical Fees\n";
    switch(type\_plan[1])
    {
    case '1':
      *claim\_limit = "Annual Claim Limit 100.000\n";
      break;

    case '2':
      *claim\_limit = "Lifetime Claim Limit 500000\n";
      break;

    default:
      result = -1;
      break;
    }

    break;
  case 'B':
    //...

  case 'C':
    //...

  default:
    result = -1;
    break;
  }

 return result;

}


int main()
{
  const char * plane[]  = { "A1", "K3", "A2" }; -- test planes

  for ( size\_t n=0; n<sizeof(plane) / sizeof(plane[0]); ++n)
  {
    const char * description, * claim\_limit;
    if ( get\_description( plane[n], &description, &claim\_limit) == 0)
    {
      printf("plane %s: %s%s", plane[n], claim\_limit, description);
    }
    else
    {
      printf("unknown plane %s\n", plane[n]);
    }
    printf("\n");
  }
  return 0;
}
``` <p>power house of the cell</p><p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;"><span style="box-sizing: border-box; font: inherit; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><u style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline;">mitochondria:</u></span></p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;"> </p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;"><span style="box-sizing: border-box; font: inherit; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">mitochondria</span> are the organelle present in the cell, which can be seen only through electron microscope. they are spherical or elongated organelle in the cytoplasm of nearly all eukaryotic cells, containing genetic material and many enzymes important for cell metabolism.</p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;"> </p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;"><span style="box-sizing: border-box; font: inherit; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><u style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline;">structure:</u></span></p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;"> </p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;">they are bounded by a <span style="box-sizing: border-box; font: inherit; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">double membrane</span> the outer membrane projects to the cytoplasm and the inner membrane project into the <span style="box-sizing: border-box; font: inherit; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">matrix.</span></p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;">the inner membrane is convoluted into several folds, called <span style="box-sizing: border-box; font: inherit; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">“cristae.”</span> the surface area of the inner membrane is increased by cristae. matrix contains a concentrated mixture of enzymes, which play an important role in the metabolism of nutrients.</p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;"> </p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;"><span style="box-sizing: border-box; font: inherit; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;"><u style="box-sizing: border-box; margin: 0px; padding: 0px; border: 0px; font: inherit; vertical-align: baseline;">function:</u></span></p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;"> </p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;">the main function of mitochondria is <span style="box-sizing: border-box; font: inherit; margin: 0px; padding: 0px; border: 0px; vertical-align: baseline;">energy production.</span> and so, because of this function, they often called as “power hoses of the cell.” the metabolism of nutrients takes place in the matrix by the enzymes present it. oxidative phosphorylation is the main metabolic process through which atp (adenosine triphosphate) is generated.</p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;">depend upon the energy needs; their occurrence varies from cell to cell. for example, skeletal muscles have more mitochondria; whereas red blood cells are completely lack of mitochondria.</p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;"> </p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;">explanation of their function</p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;"> </p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;">1.the main function of mitochondria is to perform cellular respiration this means it takes in nutrients from cell ,breaks it down ,and turns it into energy</p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;">it is called as power house of cell because the process of atp formation takes place in mitochondria.</p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;">2.it helps cells to maintain proper concentration of calcium ions within the compartments of the cell.</p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;">3.it also helps in building certain parts of blood and harmons like testosterone and estrogen.</p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;">4.liver cell mitochondria have enzymes that detoxify ammonia.</p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;">5.they plays an important role in the process of apoptosis.</p>
<p style="box-sizing: border-box; font-size: 14px; padding: 0px; border: 0px; font-variant-numeric: inherit; font-variant-east-asian: inherit; font-stretch: inherit; line-height: inherit; font-family: 'open sans', sans-serif; vertical-align: baseline; color: #333333; background-color: #ffffff; margin: 0px 0px 5px !important 0px;"><img src="https://s3.amazonaws.com/si.experts.images/answers/2021/06/60cc394f7dc8d\_1623996748448.jpg"></p> Hi Djhenry,
  

  
When you right-click a sheets tab, you can select all sheets. When you have done that, you can insert a row and enter all the information and all sheets wil contain that information.
  

  
Best regards,
  
Trowa