Hi,
Quick question, trying to get the Big O notation of a simple function. Would this be O(n)? Or would the notation be something like O(number of lines in somefile) ?
Thanks for the help.
void createAffiliateNodes()
{
ifstream file;
file.open("somefile");
while ( getline(file, line) )
{
}
file.close();
}