if you want to use the command line before you start the prog
ex. if you want to type in
myprog.exe t(for triangle) or r(for rectrangle), then you should use the argc, argv arrays provided by C.
example,
#include <everything_you_need.h>
main(int argc, char *argv[]){
switch (argv[1]){
case ‘t’:
/* write here the triangle functions*/
case ‘r’:
/write here the rectrangle functions/
this method should only be used if you wish to give the statements in the command line