cannot read the txt file

558fe5180e0e8fc922d31c23ef84d240

hi guys, i dont know why when i run the code, its shows my txt is not found, here i attached the txt.file and the coding :)
i just follow the coding in the example that lecturer given, but yeah as i mentioned before, the txt cannot be found :( i hope u guys can help me

#include <iostream>
#include <iomanip>
#include <fstream>
using namespace std;

//Prototype
void readCards();

int main()
{

    readCards();

    return 0;
}

void readCards(){

    const int CARDS = 10;
    int ID[CARDS];
    string cardName[CARDS] ;
    string pcode[CARDS];
    string type[CARDS];
    string plusMode[CARDS];
    string system[CARDS] ;
    int i=0;

    ifstream infile;
    infile.open("cards.txt");
    if (infile)
    {
        while (!infile.eof()){

            //Read from file
            infile >> ID[i] >> cardName[i] >> pcode[i] >> type[i] >> plusMode[i]>>system[i];
            i++;

        }
        infile.close();

    }
    else
    {
        cout << "File cannot be found.\n";
        exit(0);
    }
}

How Does MySQL Configuration Work?

Featured Imgs 23

If you've found yourself in the MySQL space at least for a little while, chances are that you have heard about one of its well-known files: my.cnf. my.cnf is a configuration file exclusive to MySQL and all of its flavors and it's widely regarded as the "go-to" file whenever MySQL configuration errors occur. Sure, we can set up a couple of settings when we start MySQL with the "--" options, but that doesn't do much - it's much more effective to set the settings inside of the configuration file instead.

Why Does MySQL Need a Configuration File?

First things first, we will look into why MySQL needs a configuration file in the first place. After all, MySQL is a powerful beast as-is, right? Well, not quite. You see, these days MySQL is running on a very wide variety of infrastructures and database servers - some servers might have 20TB of hard drive space and 256GB of RAM allocated to them, others - like small virtual private servers or the like - might only have 2GB of space and 256MB of RAM. The difference here is huge and the primary purpose of configuration files in this scenario is to provide an "endpoint" for MySQL DBAs and developers to configure it according to their requirements.

Monneo Releases Banking as a Service API

Featured Imgs 23

Monneo, an end-to-end payment ecosystem provider, has launched a new API aimed at the Banking-as-a-Service (BaaS) market. The API will allow Monneo’s partners such as FinTechs and online businesses to offer banking services to their customers by accessing the company’s digital banking infrastructure.