Code:
void testSwitch(){ for(int i=1;i<8;i++){ cout<< i: <<i<< is ; switch(i){ case 1: cout<<1; break; case 5: cout<<5; break; case 6: cout<<6; break; case 4: cout<<4; break; defaut: cout<<0; break; } cout<<endl; } }
void testSwitch(){ for(int i=1;i<8;i++){ cout<< i: <<i<< is ; switch(i){ case 1: cout<<1; break; case 5: cout<<5; break; case 6: cout<<6; break; case 4: cout<<4; break; defaut: cout<<0; break; } cout<<endl; } }
if (strcmp(node->node_kind, "VAR_TOKEN_e")
#include<iostream> #include<string> #include<iomanip> #include<fstream> #include"directory.h" #include"mylog.h" using namespace std; // function to input the word to be searched string input(void) { string wordin; cout<<"enter a word to be searched"<<endl; cin>>wordin; return wordin;
internal void set_shortcuts (KeyEventArgs e) { switch (e.KeyCode)