Group_B_VirtualEscapeRoom
Functions
parsenexec.h File Reference

Go to the source code of this file.

Functions

bool parse_and_execute (char *input)
 parses and executes the user input More...
 

Detailed Description

This header file contains the function to parse the user input and execute different execution function based on the input

Function Documentation

◆ parse_and_execute()

bool parse_and_execute ( char *  input)

parses and executes the user input

This function parses the user input and separates the command and argument part of the input using the space delimiter. Also, calls other execution functions to execute the user command

Parameters
[in]inputthe input captured from the user
Returns
1 in case of any input, 0 if user enters the command "quit"