• Najnowsze pytania
  • Bez odpowiedzi
  • Zadaj pytanie
  • Kategorie
  • Tagi
  • Zdobyte punkty
  • Ekipa ninja
  • IRC
  • FAQ
  • Regulamin
  • Książki warte uwagi

Wczytywanie liczby z pliku c++

Object Storage Arubacloud
0 głosów
258 wizyt
pytanie zadane 26 lutego 2019 w C i C++ przez MrChick888 Obywatel (1,020 p.)
edycja 26 lutego 2019 przez MrChick888

dlaczego w 216 linijce dane nie są pobierane getline() dla stringa działa ale dla int już nie? Jak pobrać int'y z pliku?

#include <iostream>
#include <string>
#include <ctime>
#include <fstream>
#include <windows.h>

using namespace std;

void main_menu(int& main_menu_navigator);
void menu_option1(string& player_name, int& credits, int& color, int& credits_played, int& random_number, fstream& save, string& game_name);
void conditions_color_option1(string player_name, int& variable);
void conditions_credits_option1(string player_name, int credits, int& credits_played);
void draw_option1(int& random_number);
void conditions_result_option1(string player_name, int& credits, int credits_played, int color, int random_number, fstream& save, string& game_name);
void win_option1(string player_name, int& credits, int credits_played, int multiplier);
void lose_option1(string player_name, int& credits, int credits_played, string correct_color);
void p_c();
void save_option1(fstream& save, string& game_name, string player_name, int credits);
void menu_option2(fstream& save, string Save[], string Nick[],int Credits[], int &selected_save, string& player_name, int& credits);

int main()
{
	int main_menu_navigator, credits, color, credits_played = 0, random_number, selected_save;
	string player_name, game_name;
	fstream save;
	string Save[3], Nick[3];
	int Credits[3];
	while (1)
	{
		main_menu(main_menu_navigator);
		switch (main_menu_navigator)
		{
		case 1:
			menu_option1(player_name, credits, color, credits_played, random_number, save, game_name);
			break;
		case 2:
			menu_option2(save, Save, Nick, Credits, selected_save, player_name, credits);
			break;
		case 3:
			//kod
		default: break;
		}

	}
	system("PAUSE");
}
void main_menu(int& main_menu_navigator)
{
	cout << "ROULETTE GAME" << endl;
	cout << "=============" << endl;
	cout << "<<MAIN MENU>>" << endl;
	cout << "=============" << endl;
	cout << "1.Start a new game." << endl;
	cout << "2.Coutinue the game." << endl;
	cout << "3.Rule section." << endl;
	cout << "4.END." << endl;
	cout << "Enter: ";
	if (!(cin >> main_menu_navigator))
	{
		cout << "You can't enter anything other than a number here! " << endl;
		cout << "Restart program and try again." << endl;
		system("PAUSE");
		exit(0);
	}
	system("cls");
	return;
}
void menu_option1(string& player_name, int& credits, int& color, int& credits_played, int& random_number, fstream& save, string& game_name)
{
	credits = 50;
	cout << "WELCOME IN C++ CASINO." << endl;
	cout << "Enter your name: ";
	cin >> player_name;
	cout << "Good luck and have fun " << player_name << "." << endl;
	cout << "Your credits: " << credits << endl;
	cout << "Let's start the game!" << endl;
	cout << player_name << " choose color : " << endl;
	cout << "1.RED" << endl;
	cout << "2.GREEN" << endl;
	cout << "3.BLACK" << endl;
	conditions_color_option1(player_name, color);
	while (color < 1 || color>3)
	{
		system("cls");
		cout << "This option dosn't exits!" << endl;
		cout << player_name << " choose color : " << endl;
		cout << "1.RED" << endl;
		cout << "2.GREEN" << endl;
		cout << "3.BLUE" << endl;
		conditions_color_option1(player_name, color);
	}
	cout << "How many credits do you want to play? ";
	conditions_color_option1(player_name, credits_played);
	conditions_credits_option1(player_name, credits, credits_played);
	draw_option1(random_number);
	conditions_result_option1(player_name, credits, credits_played, color, random_number, save, game_name);
	return;
}
void conditions_color_option1(string player_name, int& variable)
{
	if (!(cin >> variable))
	{
		cout << player_name << " you can't enter anything other than a number here! " << endl;
		cout << "Restart program and try again." << endl;
		system("PAUSE");
		exit(0);
	}
	return;
}
void conditions_credits_option1(string player_name, int credits, int& credits_played)
{
	while (credits < credits_played || credits_played <= 0)//można lepiej na dwa przypadki
	{
		system("cls");
		cout << player_name << " you have only " << credits << " credits! You can't play for " << credits_played << "!" << endl;
		cout << "How many credits do you want to play? " << endl;
		conditions_color_option1(player_name, credits_played);
	}
	return;
}
void draw_option1(int& random_number)
{
	system("cls");
	cout << "The drawing machine begins the countdown." << endl;
	for (int i = 5; i > -2; i--)
	{
		Sleep(500);//1000 to 1 sekunda
		system("cls");
		cout << i;
	}
	system("cls");
	srand(time(NULL));
	random_number = rand() % 99 + 1;
	return;
}
void conditions_result_option1(string player_name, int& credits, int credits_played, int color, int random_number, fstream& save, string& game_name)
{
	if (random_number >= 1 && random_number <= 48)
	{
		if (color == 1)win_option1(player_name, credits, credits_played, 2);
		else lose_option1(player_name, credits, credits_played, "Red");
		save_option1(save, game_name, player_name, credits);
	}
	if (random_number >= 49 && random_number <= 51)
	{
		if (color == 2)win_option1(player_name, credits, credits_played, 14);
		else lose_option1(player_name, credits, credits_played, "Green");
		save_option1(save, game_name, player_name, credits);
	}
	if (random_number >= 52 && random_number <= 99)
	{
		if (color == 3)win_option1(player_name, credits, credits_played, 2);
		else lose_option1(player_name, credits, credits_played, "Black");
		save_option1(save, game_name, player_name, credits);
	}
	return;
}
void win_option1(string player_name, int& credits, int credits_played, int multiplier)
{
	cout << "YOU WON!, Well played " << player_name << "." << endl;
	cout << "You won " << credits_played * multiplier << "." << endl;
	credits += (credits_played * multiplier) - credits_played;
	cout << "Your credits: " << credits << endl;
	return;
}
void lose_option1(string player_name, int& credits, int credits_played, string correct_color)
{
	cout << "YOU LOST! Correct color is " << correct_color << " . You must try one more time " << player_name << "." << endl;
	credits -= credits_played;
	cout << "Your credits: " << credits << endl;
	if (credits == 0)
	{
		cout << "You lose this game :(" << endl;
		system("PAUSE");
		exit(0);
	}
	return;
}
void p_c()
{
	system("PAUSE");
	system("cls");
	return;
}
void save_option1(fstream& save, string& game_name, string player_name, int credits)
{
	save.open("save.txt", ios::in | ios::out | ios::app);
	if (save.good() == true)
	{
		cout << "Save you game. Enter game name: ";
		cin >> game_name;
		save << game_name << endl << player_name << endl << credits << endl;
	}
	else
	{
		cout << "Program can't find save file :(";
		system("PAUSE");
		exit(0);
	}
	save.close();
	p_c();
}
void menu_option2(fstream& save, string Save[], string Nick[], int Credits[], int& selected_save, string& player_name, int& credits)
{
	cout << "WELCOME IN C++ CASINO AGAIN!" << endl;
	cout << "Your save's: " << endl;
	save.open("save.txt", ios::in);
	if (save.good() == true)
	{
		int i = 0;
		while (!save.eof())
		{
			getline(save, Save[i]);
			cout << "[" << i + 1 << "]" << Save[i] << endl;
			getline(save, Nick[i]);
			getline(save, Credits[i]);
			i++;
		}
	}
	cout << "Select which save do you want to play: ";
	cin >> selected_save;
	cout << "Good luck and have fun " << Nick[selected_save - 1] << "." << endl;
	cout << "Your credits: " << Credits[selected_save - 1] << endl;
	cout << "Let's start the game!" << endl;
	cout << Nick[selected_save - 1] << " choose color : " << endl;
	cout << "1.RED" << endl;
	cout << "2.GREEN" << endl;
	cout << "3.BLACK" << endl;
}

 

2 odpowiedzi

+1 głos
odpowiedź 26 lutego 2019 przez j23 Mędrzec (194,920 p.)
wybrane 26 lutego 2019 przez MrChick888
 
Najlepsza
void menu_option2(	std::string Save[], 
					std::string Nick[], 
					int Credits[], 
					int& selected_save, 
					std::string& player_name, 
					int& credits)
{
	cout << "WELCOME IN C++ CASINO AGAIN!\n";
	cout << "Your save's: \n";

	std::ifstream is("save.txt");
	
	int i = 0;

	while(	i < 3 &&
			std::getline(is >> std::ws, Save[i]) &&
			std::getline(is, Nick[i]) &&
			is >> Credits[i])
	{
		cout << "[" << i + 1 << "]" << Save[i] << '\n';
		++i;
	}

	/* ... */
}

Poczytaj sobie o strukturach/klasach i klasie std::vector.

 exit(0);

W C++ tak się nie wychodzi z programu. Użyj wyjątków.

komentarz 26 lutego 2019 przez MrChick888 Obywatel (1,020 p.)

A wiecie może jak z pliku save który wygląda tak 

save_1
Piotr
100
Save_2
Kamil
90
save_1
Piotr
100

i tak gdzie są liczy chce usunąć tą linie i zapisać inną liczbę(punktów) nie naruszając reszty. Da się coś takiego zrobić?

tutaj całość kodu

#include <iostream>
#include <string>
#include <ctime>
#include <fstream>
#include <windows.h>
#include <sstream>
using namespace std;

void main_menu(int& main_menu_navigator);
void menu_option1(string& player_name, int& credits, int& color, int& credits_played, int& random_number, fstream& save, string& game_name);
void conditions_color_option(string player_name, int& variable);
void conditions_credits_option(string player_name, int credits, int& credits_played);
void draw_option(int& random_number);
void conditions_result_option1(string player_name, int& credits, int credits_played, int color, int random_number, fstream& save, string& game_name);
void win_option1(string player_name, int& credits, int credits_played, int multiplier);
void lose_option1(string player_name, int& credits, int credits_played, string correct_color);
void p_c();
void save_option1(fstream& save, string& game_name, string player_name, int credits);
void reading_from_a_file(string Save[], string Nick[], int Credits[], int &selected_save, string& player_name, int& credits);
void menu_option2(string player_name, int& credits, int credits_played, int color, int random_number);
void conditions_result_option2(string player_name, int& credits, int credits_played, int color, int random_number);
void save_option2(fstream& save, string& game_name, string player_name, int credits);

int main()
{
	int main_menu_navigator, credits, color, credits_played = 0, random_number, selected_save;
	string player_name, game_name;
	fstream save;
	string Save[10], Nick[10];
	int Credits[10];
	while (1)
	{
		main_menu(main_menu_navigator);
		switch (main_menu_navigator)
		{
		case 1:
			menu_option1(player_name, credits, color, credits_played, random_number, save, game_name);
			break;
		case 2:
			reading_from_a_file(Save, Nick, Credits, selected_save, player_name, credits);
			menu_option2(player_name, credits, credits_played, color, random_number);
			break;
		case 3:
			//kod
		default: break;
		}

	}
	system("PAUSE");
}
void main_menu(int& main_menu_navigator)
{
	cout << "ROULETTE GAME" << endl;
	cout << "=============" << endl;
	cout << "<<MAIN MENU>>" << endl;
	cout << "=============" << endl;
	cout << "1.Start a new game." << endl;
	cout << "2.Coutinue the game." << endl;
	cout << "3.Rule section." << endl;
	cout << "4.END." << endl;
	cout << "Enter: ";
	if (!(cin >> main_menu_navigator))
	{
		cout << "You can't enter anything other than a number here! " << endl;
		cout << "Restart program and try again." << endl;
		system("PAUSE");
		exit(0);
	}
	system("cls");
	return;
}
void menu_option1(string& player_name, int& credits, int& color, int& credits_played, int& random_number, fstream& save, string& game_name)
{
	credits = 50;
	cout << "WELCOME IN C++ CASINO." << endl;
	cout << "Enter your name: ";
	cin >> player_name;
	cout << "Good luck and have fun " << player_name << "." << endl;
	cout << "Your credits: " << credits << endl;
	cout << "Let's start the game!" << endl;
	cout << player_name << " choose color : " << endl;
	cout << "1.RED" << endl;
	cout << "2.GREEN" << endl;
	cout << "3.BLACK" << endl;
	conditions_color_option(player_name, color);
	while (color < 1 || color>3)
	{
		system("cls");
		cout << "This option dosn't exits!" << endl;
		cout << player_name << " choose color : " << endl;
		cout << "1.RED" << endl;
		cout << "2.GREEN" << endl;
		cout << "3.BLUE" << endl;
		conditions_color_option(player_name, color);
	}
	cout << "How many credits do you want to play? ";
	conditions_color_option(player_name, credits_played);
	conditions_credits_option(player_name, credits, credits_played);
	draw_option(random_number);
	conditions_result_option1(player_name, credits, credits_played, color, random_number, save, game_name);
	return;
}
void conditions_color_option(string player_name, int& variable)
{
	if (!(cin >> variable))
	{
		cout << player_name << " you can't enter anything other than a number here! " << endl;
		cout << "Restart program and try again." << endl;
		system("PAUSE");
		exit(0);
	}
	return;
}
void conditions_credits_option(string player_name, int credits, int& credits_played)
{
	while (credits < credits_played || credits_played <= 0)//można lepiej na dwa przypadki
	{
		system("cls");
		cout << player_name << " you have only " << credits << " credits! You can't play for " << credits_played << "!" << endl;
		cout << "How many credits do you want to play? " << endl;
		conditions_color_option(player_name, credits_played);
	}
	return;
}
void draw_option(int& random_number)
{
	system("cls");
	cout << "The drawing machine begins the countdown." << endl;
	for (int i = 5; i > -2; i--)
	{
		Sleep(500);//1000 to 1 sekunda
		system("cls");
		cout << i;
	}
	system("cls");
	srand(time(NULL));
	random_number = rand() % 99 + 1;
	return;
}
void conditions_result_option1(string player_name, int& credits, int credits_played, int color, int random_number, fstream& save, string& game_name)
{
	if (random_number >= 1 && random_number <= 48)
	{
		if (color == 1)win_option1(player_name, credits, credits_played, 2);
		else lose_option1(player_name, credits, credits_played, "Red");
		save_option1(save, game_name, player_name, credits);
	}
	if (random_number >= 49 && random_number <= 51)
	{
		if (color == 2)win_option1(player_name, credits, credits_played, 14);
		else lose_option1(player_name, credits, credits_played, "Green");
		save_option1(save, game_name, player_name, credits);
	}
	if (random_number >= 52 && random_number <= 99)
	{
		if (color == 3)win_option1(player_name, credits, credits_played, 2);
		else lose_option1(player_name, credits, credits_played, "Black");
		save_option1(save, game_name, player_name, credits);
	}
	return;
}
void win_option1(string player_name, int& credits, int credits_played, int multiplier)
{
	cout << "YOU WON!, Well played " << player_name << "." << endl;
	cout << "You won " << credits_played * multiplier << "." << endl;
	credits += (credits_played * multiplier) - credits_played;
	cout << "Your credits: " << credits << endl;
	return;
}
void lose_option1(string player_name, int& credits, int credits_played, string correct_color)
{
	cout << "YOU LOST! Correct color is " << correct_color << " . You must try one more time " << player_name << "." << endl;
	credits -= credits_played;
	cout << "Your credits: " << credits << endl;
	if (credits == 0)
	{
		cout << "You lose this game :(" << endl;
		system("PAUSE");
		exit(0);
	}
	return;
}
void p_c()
{
	system("PAUSE");
	system("cls");
	return;
}
void save_option1(fstream& save, string& game_name, string player_name, int credits)
{
	save.open("save.txt", ios::in | ios::out | ios::app);
	if (save.good() == true)
	{
		cout << "Save you game. Enter game name: ";
		cin >> game_name;
		save << game_name << endl << player_name << endl << credits << endl;
	}
	else
	{
		cout << "Program can't find save file :(";
		system("PAUSE");
		exit(0);
	}
	save.close();
	p_c();
	return;
}
void reading_from_a_file(string Save[], string Nick[], int Credits[], int& selected_save, string& player_name, int& credits)
{
	cout << "WELCOME IN C++ CASINO AGAIN!" << endl;
	cout << "Your save's: " << endl;
	std::ifstream save("save.txt");
	int i = 0;
	while (getline(save >> ws, Save[i]) && getline(save, Nick[i]) && save >> Credits[i] && i < 3)
	{
		cout << "[" << i + 1 << "]" << Save[i] << endl;
		++i;
	}
	cout << "Select which save do you want to play: ";
	cin >> selected_save;

	player_name = Nick[selected_save - 1];
	credits = Credits[selected_save - 1];
	return;
}
void menu_option2(string player_name, int& credits, int credits_played, int color, int random_number)
{
	system("cls");
	cout << "Good luck and have fun " << player_name << "." << endl;
	cout << "Your credits: " << credits << endl;
	cout << "Let's start the game!" << endl;
	cout << player_name << " choose color : " << endl;
	cout << "1.RED" << endl;
	cout << "2.GREEN" << endl;
	cout << "3.BLACK" << endl;
	conditions_color_option(player_name, color);
	while (color < 1 || color>3)
	{
		system("cls");
		cout << "This option dosn't exits!" << endl;
		cout << player_name << " choose color : " << endl;
		cout << "1.RED" << endl;
		cout << "2.GREEN" << endl;
		cout << "3.BLUE" << endl;
		conditions_color_option(player_name, color);
	}
	cout << "How many credits do you want to play? ";
	conditions_color_option(player_name, credits_played);
	conditions_credits_option(player_name, credits, credits_played);
	draw_option(random_number);
	conditions_result_option2(player_name, credits, credits_played, color, random_number);
	return;
}
void conditions_result_option2(string player_name, int& credits, int credits_played, int color, int random_number)
{
	if (random_number >= 1 && random_number <= 48)
	{
		if (color == 1)win_option1(player_name, credits, credits_played, 2);
		else lose_option1(player_name, credits, credits_played, "Red");
		//save_option2(save, game_name, player_name, credits);
	}
	if (random_number >= 49 && random_number <= 51)
	{
		if (color == 2)win_option1(player_name, credits, credits_played, 14);
		else lose_option1(player_name, credits, credits_played, "Green");
		//save_option2(save, game_name, player_name, credits);
	}
	if (random_number >= 52 && random_number <= 99)
	{
		if (color == 3)win_option1(player_name, credits, credits_played, 2);
		else lose_option1(player_name, credits, credits_played, "Black");
		//save_option2(save, game_name, player_name, credits);
	}
	return;
}
void save_option2(fstream& save, string game_name, string player_name, int credits)
{
	save.open("save.txt", ios::in | ios::out | ios::app);
	if (save.good() == true)
	{
		cout << player_name << " you are saving game on save -  " << game_name << "." << endl;
		//usunąc i napisać nową lnie
	}
	else
	{
		cout << "Program can't find save file :(";
		system("PAUSE");
		exit(0);
	}
	save.close();
	p_c();
	return;
}

 

0 głosów
odpowiedź 26 lutego 2019 przez gagyn Stary wyjadacz (11,050 p.)
getline() pobiera zawsze linijkę z pliku jako ciąg znaków, czyli funkcja getline zawsze zwraca string.

Możesz pobrać linie za pomocą getline do zmiennej string, a następnie przekonwertować na int. np. funkcją stoi()

lub

Możesz pobrać linie za pomocą strumieni (>>) od razu do zmiennej int.
komentarz 26 lutego 2019 przez MrChick888 Obywatel (1,020 p.)
void menu_option2(fstream& save, string Save[], string Nick[], string Credits[], int& selected_save, string& player_name, int& credits)
{
	cout << "WELCOME IN C++ CASINO AGAIN!" << endl;
	cout << "Your save's: " << endl;
	save.open("save.txt", ios::in);
	if (save.good() == true)
	{
		int i = 0;
		while (!save.eof())
		{
			getline(save, Save[i]);
			cout << "[" << i + 1 << "]" << Save[i] << endl;
			getline(save, Nick[i]);
			getline(save, Credits[i]);
			i++;
		}
	}
	player_name = Nick[selected_save - 1];
	istringstream iss(Credits[selected_save - 1]);
	iss >> credits;
	cout << "Select which save do you want to play: ";
	cin >> selected_save;
	cout << "Good luck and have fun " << player_name << "." << endl;
	cout << "Your credits: " << credits << endl;
	cout << "Let's start the game!" << endl;
	cout << player_name << " choose color : " << endl;
	cout << "1.RED" << endl;
	cout << "2.GREEN" << endl;
	cout << "3.BLACK" << endl;
}

To powinno zadziałać chyba,a nie działa błąd taki wyskakuje

bool _Large_string_engaged() const
		{	// returns whether the large string mode (allocated memory) is engaged
		return (_BUF_SIZE <= _Myres);
		}

 

komentarz 26 lutego 2019 przez gagyn Stary wyjadacz (11,050 p.)
To nic mi nie mówi, pokaż jaki error pokazuje kompilator.
komentarz 26 lutego 2019 przez MrChick888 Obywatel (1,020 p.)

kompilator się minimaluzje w tym momencie i wyświetla to

komentarz 26 lutego 2019 przez MrChick888 Obywatel (1,020 p.)
a może inaczej jak to zrobić tym sposobem "Możesz pobrać linie za pomocą strumieni (>>) od razu do zmiennej int."
komentarz 26 lutego 2019 przez gagyn Stary wyjadacz (11,050 p.)

Niestety nie widać na tym screenie, interesuje mnie treść tego komunikatu.

zamiast 

getline(save, Credits[i]);

możesz zrobić

save >> Credits[i];

 

komentarz 26 lutego 2019 przez MrChick888 Obywatel (1,020 p.)

Teretycznie tak:

void menu_option2(fstream& save, string Save[], string Nick[], int Credits[], int& selected_save, string& player_name, int& credits)
{
	cout << "WELCOME IN C++ CASINO AGAIN!" << endl;
	cout << "Your save's: " << endl;
	save.open("save.txt", ios::in);
	if (save.good() == true)
	{
		int i = 0;
		while (!save.eof())
		{
			getline(save, Save[i]);
			cout << "[" << i + 1 << "]" << Save[i] << endl;
			getline(save, Nick[i]);
			save << Credits[i];
			i++;
		}
	}
	player_name = Nick[selected_save - 1];
	credits=Credits[selected_save - 1];
	cout << "Select which save do you want to play: ";
	cin >> selected_save;
	cout << "Good luck and have fun " << player_name << "." << endl;
	cout << "Your credits: " << credits << endl;
	cout << "Let's start the game!" << endl;
	cout << player_name << " choose color : " << endl;
	cout << "1.RED" << endl;
	cout << "2.GREEN" << endl;
	cout << "3.BLACK" << endl;
}

a tak wygląda konsola pod otworzeniu :(

WELCOME IN C++ CASINO AGAIN!
Your save's:
[1]Lucky_win
[2]
[3]
[4]Piotr1
[5]Piotr2
[6]
xdă Ó­v ¸cą PTb°­v $˝v˝v ě╩ Ç{┼ 0│q_  iŻ7w   Ç    ╠­v ŞŹž ╝Źž >ĺ î­v │qÇ˝v  rą Ş─Íb    Ŕ­v Łbą ­­v xeą ˝v ÝţqÇ˝v ě╩ ˛v ┘!Ç{┼ peą        °­v h˝v ┌/        A╦┘╝­˙qě˛v     $˝v ┌/ h˝v Ç{┼ ě╩ 9­q╝!Ç{┼         ˛v     Ç˝v t˝ ÂŰqě╩ ╚˝v q˛v Ş˝v  Ť#qě˛v ╔qĹ]\Ć$ˇv ś˛v L˛v Ç{┼ ˛v     Ĺ]\ĆÇ˝v ś˛v Lˇv Óë$qq▓<■   0˛v öyq           4˛v z*qL˛v $yq       زv     L˛v đ˝v ý˝v     đ˝v     U               ł0ž            i^\Ć  *q\ˇv ║Ęq$ˇv _\ĆÇ{┼         Ç{ U               $@┼                 ë0ž     ë0ž             ł0ž                   v T˛v                Žq         T F         ě╩        A╦┘╝ q    @ˇv    ě╩     Ó   ╔ Pˇv KˇqÇ{┼  v ǡv                        šq        3sq _\Ć    <˛v °ělq─§v Óë$qÚŇ ■   đ§v W-qǡv     )_\Ć   ▒¤ xĚ╔ ś§v     ě╩ Ç%đ      ╩ ě╩ ě╩         ˘┘.q!┌.q0┌.qş_\Ć ╩ ě╩ Óőq                      ░ˇv ░ű ˘v Óë$qav■■   0┌.qŽ┘.qź┘.q╝«8wjń7w┤     x   8˘v    đŃ7wĄ˘v 0~n     ź┘.q  `ó2q           ░˘v m╠Aq        Ť╠AqÚX\Ć▄╩ ˝               ě╩                  F              l˘v     X˘v §v         Ť╠AqßX\Ƨv ŞLCq°ą╚            Ö                        !}q╚q└   Ń76w°§v     ░ e s t   x 8 6 _ m i c r o s o f t . w i n d o w s . c o m m o n - c o n t r o l s _ 6 5 9 5 b 6 4 1 4 4 c c f 1 d f _ 5 . 8 2 . 1 7 1 3 4 . 5 9 0 _ n o n e _ 4 1 0 4 e f a 8 4 5 0 c e c f f   M i c r o s o f t . W i n d o w s . I s o l a t i o n A u t o m a t i o n . P r o x y S t u b   l       $  └ ń  ŚpM┼├ď                                          ┬   ˛                      M i c r o s o f t . W i n d o w s .  s o l a t i o n A u t o m a t i o n . P r o x y S t u b , p r o c e s s o r A r c h i t e c t u r e = " x 8 6 " , p u b l i c K e y T o k e n = " 6 5 9 5 b 6 4 1 4 4 c c f 1 d f " , t y p e = " w i n 3 2 " , v e r s i o n = " 1 . 0 . 1 7 1 3 4 . 5 9 0 " C : \ W I N D O W S \ W i n S x S \ m a n i f e s t s \ x 8 6 _ m i c r o s o f t . w i n d o w s . i . . u t o m a t i o n . p r o x y s t u b _ 6 5 9 5 b 6 4 1 4 4 c c f 1 d f _ 1 . 0 . 1 7 1 3 4 . 5 9 0 _ n o n e _ 9 d e d d 3 8 9 d 2 3 9 7 f c a . m a n i f e s t   x 8 6 _ m i c r o s o f t . w i n d o w s . i . . u t o m a t i o n . p r o x y s t u b _ 6 5 9 5 b 6 4 1 4 4 c c f 1 d f _ 1 . 0 . 1 7 1 3 4 . 5 9 0 _ n o n e _ 9 d e d d 3 8 9 d 2 3 9 7 f c a   M i c r o s o f t . W i n d o w s . C o m m o n - C o n t r o l s . R e s o u r c e s   l       @  |       ╝  Ął│P┼├ď                                          Ă   ╬
   ľ          M i c r o s o f t . W i n d o w s . C o m m o n - C o n t r o l s . R e s o u r c e s , l a n g u a g e  " p l - P L " , p r o c e s s o r A r c h i t e c t u r e = " x 8 6 " , p u b l i c K e y T o k e n = " 6 5 9 5 b 6 4 1 4 4 c c f 1 d f " , t y p e = " w i n 3 2 " , v e r s i o n = " 5 . 8 2 . 1 7 1 3 4 . 5 9 0 " C : \ W I N D O W S \ W i n S x S \ m a n i f e s t s \ x 8 6 _ m i c r o s o f t . w i n d o w s . c . . - c o n t r o l s . r e s o u r c e s _ 6 5 9 5 b 6 4 1 4 4 c c f 1 d f _ 5 . 8 2 . 1 7 1 3 4 . 5 9 0 _ p l - p l _ 5 6 5 8 8 4 6 d d f d d 8 8 a 7 . m a n i f e s t   x 8 6 _ m i c r o s o f t . w i n d o w s . c . . - c o n t r o l s . r e s o u r c e s _ 6 5 9 5 b 6 4 1 4 4 c c f 1 d f _ 5 . 8 2 . 1 7 1 3 4 . 5 9 0 _ p l - p l _ 5 6 5 8 8 4 6 d d f d d 8 8 a 7   p l - P L        Č     ─   ╚     đ  î   Ą   ╝   ď   ý     SsHd,               ,      °          Ţä▄     ­        f█Ó  :   @  ĘÂş=T  :   É        ťŕj,Ą     ╝        ý└člđ  >           .$  >   d        O╝─˝x     ö         ĽĘ  @   ý        =░řŘ   @   D        NĽ¤X     p        i$╩ä  >   ─        ź~:×ě  >           FvÎ,     D        oźX  >   ś        ▒vČ  >   ý        óNˇ╗       $        R\ŔC8  H   ä        Éö H   ń        s x s o a . d l l                     C : \ W I N D O W S \ s y s t e m 3 2 \ s x s o a . d l l   
               C : \ W I N D O W S \ S y s W O W 6 4 \ s x s o a . d l l   
               G d i P l u s . d l l                     C : \ W I N D O W S \ s y s t e m 3 2 \ G d i P l u s . d l
               C : \ W I N D O W S \ S y s W O W 6 4 \ G d i P l u s . d l l   
               c o m c t l 3 2 . d l l                       C : \ W I N D O W S \ s y s t e m 3 2 \ c o m c t l 3 2  d l l     
               C : \ W I N D O W S \ S y s W O W 6 4 \ c o m c t l 3 2 . d l l     
               s x s o a p s . d l l                     C : \ W I N D O W S \ s y s t e m 3 2 \ s x s o a p s . d l
               C : \ W I N D O W S \ S y s W O W 6 4 \ s x s o a p s . d l l   
               s x s o a p s . t l b                     C : \ W I N D O W S \ s y s t e m 3 2 \ s x s o a p s . t l
               C : \ W I N D O W S \ S y s W O W 6 4 \ s x s o a p s . t l b   
               c o m c t l 3 2 . d l l . m u i                       C : \ W I N D O W S \ s y s t e m 3 2 \ c o m c  l 3 2 . d l l . m u i     
               C : \ W I N D O W S \ S y s W O W 6 4 \ c o m c t l 3 2 . d l l . m u i     
                        X     \     h             t     |     Ç             ł     ö          î   ď   ý   d  \             ╝       ─  D   t   Ą   |  ö  Č  SsHd,                  
- ┬┤     ď  R      ĆÔrK(     D  L      H#Ä┐É  "   ┤  V      ř÷├m     ,  R      m╦ŕÇ  "   Ą  V      ĎľĚbŘ       R       \a*p  $   ś  X      Y>ĹQ­      J      O ŮąT     p  N      O. %└     ▄  N      4žhż,     L  R      _ÂŇťá     └  P      "a▒       D      Uvă>       N      RFŇ▓       @      ╬▄Ës$           4   @      MŔRt      ä   B      Ž├_ź╚      ▄   F      ╚Ôaä$
      H
  T      {Eť
     Ş
  N      Ëü#     $  L      ┌d¨îp     î  N      Ę2▄  "      V      Ŕ˘X     t  N   
  F      T o o l b a r W i n d o w 3 2                     T o o l b a r W i n d o w 3 2   c o m c t l 3 2 . d l l     C o m b o B o x E x 3 2                     v  C o m b o B o x E x 3 2   c o m c t l 3 2 . d l l   m s c t l s _ t r a c k b a r 3 2          "         ­  m s c t l s _ t r a c k b a r 3 2   c o m c t l 3 2 . d l l     m s c t l s _ u p d o w n 3 2                   d  m s c t l s _ u p d o w n 3 2   c o m c t l 3 2 . d l l     m s c t l s _ p r o g r e s s 3 2          "         Ó  m s c t l s _ p r o g r e s s 3 2   c o m c t l 3 2 . d l l     m s c t l s _ h o t k e y 3 2                   T  m s c t l s _ h o t k e y 3 2   c o m c t l 3 2 . d l l     m s c t l s _ s t a t u s b a r 3 2            $         Í  m s c t l s _ s t a t u s b a r 3 2   c o m c t l 3 2 . d l l   S y s H e a d e r 3 2                   8  S y s H e a d e r 3 2   c o m c t l 3 2 . d l l     S y s L i s t V i e w 3 2                   Ą  S y s L i s t V i e w 3 2   c o m c t l 3 2 . d l l     S y s T r e e V i e w 3 2        S y s T r e e V i e w 3 2   c o m c t l 3 2 . d l l     S y s T a b C o n t r o l 3 2                   ä  S y s T  b C o n t r o l 3 2   c o m c t l 3 2 . d l l     S y s I P A d d r e s s 3 2                     ÷  S y s I P A d  r e s s 3 2   c o m c t l 3 2 . d l l   S y s P a g e r                       S y s P a g e r   c o m c t l 3 2 . d l l   N a t i v e F o n t C t l                     N a t i v e F o n t C t l   c o m c t l 3 2 . d l l     B u t t o n                  
          B u t t o n   c o m c t l 3 2 . d l l   S t a t i c                     Z   S t a t i c   c o m c t l 3 2 . d l l   L i s t b o x                   Č   L i s t b o x   c o m c t l 3 2 . d l l     S c r o l l B a r   
  S c r o l l B a r   c o m c t l 3 2 . d l l     t o o l t i p s _ c l a s s 3 2                      é
  t o o l t i p s _ c l a s s 3 2   c o m c t l 3 2 . d l l   B u t t o n L i s t B o x                   ý
  B u t t o n L i s t B o x   c o m c t l 3 2 . d l l     S y s A n i m a t e 3 2                     V  S y s A n i m a t e 3 2   c o m c t l 3 2 . d l l   S y s M o n t h C a l 3 2                   └  S y s M o n t h C a l 3 2 c o m c t l 3 2 . d l l     S y s D a t e T i m e P i c k 3 2          "         <  S y s D a t e T i m e P i c k 3 2   c o m c t l 3 2 . d l l     R e B a r W i n d o w 3 2                   Ę  R e B a r W i n d o w 3 2   c o m c t l 3 2 . d l l     E d i t                    ˛  E d i t   c o m c t l 3 2 . d l l   C o m b o b o x                        (     8     @             H     X     d     h     Ç     ä  D     \   L  <  ä  t   ▄ Ą   ˘  î   ď   4  $  ,   ý     ö  ╝     |  ─  T  ť  l  d  Č  GsHd(               T       (   ,   s x s o a p s . d l l   s x s o a . d l l   ŮđÍI9AžéBĚ▒łt  «      ďĂęĆDŁ.Żç?CA$  x      wD╗ů├mŹJäÍćá˙»ő─   «    ĆržĆŤÂňNÖ˛Ô¬(ť  x      x          wD╗ů├mŹJäÍćá˙»őŮđÍI9AžéBĚ▒łwD╗ů├mŹJäÍćá˙»őěś^á4)CŻŻŁ\\T   @   4   x     M i c r o s o f t . W i n d o w s . A c t C t x . 1     x          wD╗ů├mŹJäÍćá˙»őŮđÍI9AžéBĚ▒łwD╗ů├mŹJäÍćá˙»őěś^á4)CŻŻŁ\\T   @   4   x                               M i c r o s o f t . W i n d o w s . A c t C t x . 1     x       ĆržĆŤÂňNÖ˛Ô¬(ďĂęĆDŁ.Żç?CAĆržĆŤÂňNÖ˛Ô¬(¬╔Cü°8)G╣5▀h#ĂĂ   (                                       x          ĆržĆŤÂňNÖ˛Ô¬(ďĂęĆDŁ.Żç?CAĆržĆŤÂňNÖ˛Ô¬(¬╔Cü°8)G╣5▀h#ĂĂ   (                                       GsHd(               (               ĆržĆŤÂňNÖ˛Ô¬(D   T      D       ĆržĆŤÂňNÖ˛Ô¬(    ¬╔Cü°8)G╣5▀h#ĂĂ                   D   I A c t C t x   GsHd(               T       (   ,   s x s o a p s . t l b   s x s o a . d l l   ¬╔Cü°8)G╣5▀h#ĂĂî          ěś^á4)CŻŻŁ\\TČ                     (                            @                 SsHd,               <      ,      ŮđÍI9AžéBĚ▒ł č░   0   ń         ú˙1└l   4   Ą         M i c r o s o f t . W i n d o w s . A c t C t x . 1            ,   M i c r o s o f t . W i n d o w s . A c t C t x            ,   GsHd(                             

 

1
komentarz 26 lutego 2019 przez gagyn Stary wyjadacz (11,050 p.)
W złą stronę są skierowane znaki strumienia, bo aktualnie to wpisujesz do pliku zamiast wczytywać.

Podobne pytania

0 głosów
1 odpowiedź 249 wizyt
pytanie zadane 6 stycznia 2019 w C i C++ przez jankowa1ski Gaduła (3,560 p.)
0 głosów
1 odpowiedź 180 wizyt
pytanie zadane 29 stycznia 2020 w C i C++ przez Flyin Początkujący (310 p.)
0 głosów
1 odpowiedź 128 wizyt
pytanie zadane 3 grudnia 2018 w C i C++ przez Moti Użytkownik (650 p.)

92,575 zapytań

141,424 odpowiedzi

319,650 komentarzy

61,961 pasjonatów

Motyw:

Akcja Pajacyk

Pajacyk od wielu lat dożywia dzieci. Pomóż klikając w zielony brzuszek na stronie. Dziękujemy! ♡

Oto polecana książka warta uwagi.
Pełną listę książek znajdziesz tutaj.

Akademia Sekuraka

Kolejna edycja największej imprezy hakerskiej w Polsce, czyli Mega Sekurak Hacking Party odbędzie się już 20 maja 2024r. Z tej okazji mamy dla Was kod: pasjamshp - jeżeli wpiszecie go w koszyku, to wówczas otrzymacie 40% zniżki na bilet w wersji standard!

Więcej informacji na temat imprezy znajdziecie tutaj. Dziękujemy ekipie Sekuraka za taką fajną zniżkę dla wszystkich Pasjonatów!

Akademia Sekuraka

Niedawno wystartował dodruk tej świetnej, rozchwytywanej książki (około 940 stron). Mamy dla Was kod: pasja (wpiszcie go w koszyku), dzięki któremu otrzymujemy 10% zniżki - dziękujemy zaprzyjaźnionej ekipie Sekuraka za taki bonus dla Pasjonatów! Książka to pierwszy tom z serii o ITsec, który łagodnie wprowadzi w świat bezpieczeństwa IT każdą osobę - warto, polecamy!

...