Dlaczego case nie chce mi wyswietlic tego? Strzalka pokazuje nizej
#include <iostream>
#include <fstream>
#include <stdio.h>
#include <cstdlib>
#include <unistd.h>
#include <windows.h>
#include <conio.h>
using namespace std;
int nr, disk;
string odp;
int main()
{
FirstMenu:
cout << "----------__________________________________----------" << endl;
cout << "-_-_-_-_--Welcome To Hack4Fun Hacking Device--_-_-_-_-" << endl;
cout << "----------------What You Want To Hack?----------------" << endl;
cout << "--#~ 11. Windows" << endl;
cout << "--#~ 22. Mac" << endl;
cout << "--#~ 33. Linux" << endl;
cout << "--#~ 99. Exit" << endl;
cout << "------------------------------------------------------" << endl;
cout << "--#~"; cin >> nr;
getchar();
switch(nr)
{
{
{
case '1': <----- tutaj nie chce mi wyswietlic tego SecMenu.Dlaczego?
switch(disk)
{ SecMenu:
system("cls");
cout << "Choose the driver:" << endl;
cout << "1. Drive F" << endl;
cout << "2. Drive D" << endl;
cout << "3. Drive G" << endl;
cout << "4. Drive H" << endl;
cout << "5. Drive I" << endl;
cout << "6. Go to menu" << endl;
cout << "99. Exit" << endl;
cout << "--#~"; cin >> disk;
case '1':
cout << "Are You sure about your choice? (Y/N)" << endl;
if (!( disk != 'Y' && disk != 'y'))
cin >> disk;
{
fstream myFileHandler;
myFileHandler.open("WinPowerShellF.bat");
if (myFileHandler.is_open())
{
cout << "File has been inject! (Location: %temp%)" << endl;
Sleep(3000);
goto FirstMenu;
}
else
{
cout << "ERROR! File was NOT inject!" << endl;
Sleep(3000);
system("cls");
goto FirstMenu;
}
}
if (!( disk != 'N' && disk != 'n'))
{
goto SecMenu;
}
else
{
system("cls");
cout << "There is no choice like this!" << endl;
system("cls");
goto FirstMenu;
break;
}
case '2':
cout << "Are You sure about your choice? (Y/N)" << endl;
if (!( disk != 'Y' && disk != 'y'))
{
fstream myFileHandler;
myFileHandler.open("WinPowerShellD.bat");
if (myFileHandler.is_open())
{
cout << "File has been inject! (Location: %temp%)" << endl;
Sleep(3000);
goto FirstMenu;
}
else
{
cout << "ERROR! File was NOT inject!" << endl;
Sleep(3000);
system("cls");
goto FirstMenu;
}
}
else if (!( disk != 'N' && disk != 'n'))
{
goto SecMenu;
}
else
{
system("cls");
cout << "There is no choice like this!" << endl;
system("cls");
goto FirstMenu;
break;
}
case '3':
cout << "Are You sure about your choice? (Y/N)" << endl;
if (!( disk != 'Y' && disk != 'y'))
{
fstream myFileHandler;
myFileHandler.open("WinPowerShellG.bat");
if (myFileHandler.is_open())
{
cout << "File has been inject! (Location: %temp%)" << endl;
Sleep(3000);
goto FirstMenu;
}
else
{
cout << "ERROR! File was NOT inject!" << endl;
Sleep(3000);
system("cls");
goto FirstMenu;
}
}
if (!( disk != 'Y' && disk != 'y'))
{
goto SecMenu;
}
else
{
system("cls");
cout << "There is no choice like this!" << endl;
system("cls");
goto FirstMenu;
break;
}
}
case '4':
cout << "Are You sure about your choice? (Y/N)" << endl;
if (!( disk != 'Y' && disk != 'y'))
{
fstream myFileHandler;
myFileHandler.open("WinPowerShellH.bat");
if (myFileHandler.is_open())
{
cout << "File has been inject! (Location: %temp%)" << endl;
Sleep(3000);
goto FirstMenu;
}
else
{
cout << "ERROR! File was NOT inject!" << endl;
Sleep(3000);
system("cls");
goto FirstMenu;
}
}
else if (!( disk != 'N' && disk != 'n'))
{
goto SecMenu;
}
else
{
system("cls");
cout << "There is no choice like this!" << endl;
system("cls");
goto FirstMenu;
case '5':
cout << "Are You sure about your choice? (Y/N)" << endl;
if (!( disk != 'Y' && disk != 'y'))
{
fstream myFileHandler;
myFileHandler.open("WinPowerShell-I.bat");
if (myFileHandler.is_open())
{
cout << "File has been inject! (Location: %temp%)" << endl;
Sleep(3000);
goto FirstMenu;
}
else
{
cout << "ERROR! File was NOT inject!" << endl;
Sleep(3000);
system("cls");
goto FirstMenu;
}
}
else if (!( disk != 'N' && disk != 'n'))
{
goto SecMenu;
}
else
{
system("cls");
cout << "There is no choice like this!" << endl;
system("cls");
goto FirstMenu;
break;
}
case '6':
goto FirstMenu;
break;
case '99':
exit(0);
break;
}
return 0;
}