12201
I mean wat is the side effect if overhead of making a copy of the object?
Type: Posts; User: ulti-killer
12201
I mean wat is the side effect if overhead of making a copy of the object?
Is this overhead of passing the object by value will consume more memory?
12142
I need to input 2 times on Report Generation in order to execute QtrReport function.
My post#6 is same as u mention but it doesn't work well.:frown:
I change the main to int still the same result.
I plan to use while loop to loop report_menu() until the user wants to stop the program.
I mean the idea in post#5
#include <stdio.h>#include <stdlib.h>
int sale_menu();
int report_menu();
void QtrReport();
int sale_menu()
{
How to pass by reference?
typedef struct{
int ID;
char name[50];
double hor_total;
}group;
group salesman[SIZE];
void sale_menu();
void AddSalesMan();