Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~72 People Reached
Favorite Forums
Favorite Tags
c++ x 1
Member Avatar for rishid

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. [CODE] void createAffiliateNodes() { ifstream file; file.open("somefile"); while ( getline(file, line) ) { } file.close(); …

Member Avatar for vmanes
0
72