hi there, i tried to return a value from a function and the value returned will be used another function. here is my code
Code:void processL() { ..... ..... if(nameLine==Name && passLine==Password) { valid = false; return valid } }i meant to use the value returned on processA(), but i'm unable to do it. can u give some help or advice ??Code:void processA() { ..... ..... check = customerLogin(); if(check == true) { cout<<"success"; } else cout<<"Failed"; }