Click here to Skip to main content
15,892,298 members

Comments by Shivam Siddharth (Top 11 by date)

Shivam Siddharth 21-Mar-23 4:16am View    
your thing worked ,but I am not using it outside its scope just passing the values like when called normally & how other variables are being accepted n and k
Shivam Siddharth 20-Mar-23 16:55pm View    
why doesn't it consider it as an input since value is being given and its type is mentioned in the declaration
Shivam Siddharth 7-Jan-23 11:24am View    
using recursion for eg step 2 in which value is 2 will also recurse for value 1 also which i don't want to happen and if i put a 'if' condition to stop that from happening step 3 won't be executed
how should i get the desired output
Shivam Siddharth 7-Jan-23 10:14am View    
what does k loop do? i and j are rows and columns
Shivam Siddharth 19-Dec-22 12:28pm View    
program is from the tutorial, code from public inheritance section can access getPvt but code from protected section cannot
in protected inheritance when " cout << "Private cannot be accessed." << endl; " is replaced with " cout << "Private = " << object1.getPVT() << endl; " like in the first one it displays above error