Message from C, C++ discussions

November 2019

— So lets say you can it like this functionA(FunctionB);

— 

If i am inputting data that is being asked in function B , at that point , function A is still live and active right?

— It would be helpful to provide some code

— I want to post but alot of times people get distracted with all the problems and how ugly the code i write is , and dont actually answer my specific question lol

Message permanent page

— I guess answer is yes, active

— If you call a function from abother function, second needs to be finished for first to be finished. Staments are executed one after another

Message permanent page

— It wont be true for threads or async or stuff like that

— I have one function that calls a function and that function that it calls takes some user input, but lets say i am scanning for an Int but the user types in an Char , it some how calls another function that is called in the original function

Message permanent page

— Hello

— Scanf is just another function in chain

— So lets say there is function A,B,C and a another function X, that may be used in function B only under certain conditions, if i type in the wrong data type( in testing phase ) in function C it does some really weird behavior by calling function X that was never called in that function C , so i am assuming since that function C was called by function B and that other function B does also call the function X that is called when the weird behavior happens

Message permanent page

— das_3sz3tt