Aggie Student Toolkit — Load Balancer CSCE 412 Project 4
Arnav Fotedar · Fall 2026 · C++ load balancer simulation
Loading...
Searching...
No Matches
main.cpp File Reference

Program entry point: reads user input, runs the simulation and prints the summary. More...

#include <fstream>
#include <iostream>
#include "Config.h"
#include "Logger.h"
#include "Simulation.h"

Go to the source code of this file.

Functions

int main (int argc, char *argv[])
 Parses input, runs the simulation and writes the summary to the console and log file.

Detailed Description

Program entry point: reads user input, runs the simulation and prints the summary.

Author
Arnav Fotedar

Definition in file main.cpp.

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )

Parses input, runs the simulation and writes the summary to the console and log file.

Parameters
argcArgument count.
argvArgument values; see printUsage() or run with –help.
Returns
0 on success, 1 for invalid input or an unwritable log file.

Definition at line 90 of file main.cpp.