Click here to Skip to main content
15,899,679 members

Comments by Hamza Jameel (Top 28 by date)

Hamza Jameel 4-Jan-24 11:19am View    
I wonder same code is working fine on another server 100% correctly but not here
Hamza Jameel 4-Jan-24 11:18am View    
Thank you for replying. What should I paste so you can get it?
I get a bunch of files not found errors on the 404 error page.
NotFoundError: Not Found
at /root/cashback/app.js:321:10
at Layer.handle [as handle_request] (/root/cashback/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/root/cashback/node_modules/express/lib/router/index.js:317:13)
at /root/cashback/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/root/cashback/node_modules/express/lib/router/index.js:335:12)
at next (/root/cashback/node_modules/express/lib/router/index.js:275:10)
at /root/cashback/node_modules/express/lib/router/index.js:635:15
at next (/root/cashback/node_modules/express/lib/router/index.js:260:14)
at Function.handle (/root/cashback/node_modules/express/lib/router/index.js:174:3)
at router (/root/cashback/node_modules/express/lib/router/index.js:47:12)
one common function at this location is function(req, res, next) {
Hamza Jameel 21-May-22 7:16am View    
I have updated question with "names.txt" content.
Hamza Jameel 1-May-22 14:52pm View    
Yea fixed it by redeclaring array "int arr[n]"
Thanks :)
Hamza Jameel 21-Apr-22 12:15pm View    
I am trying to create array of objects and then need to assign data to each object through array of data.All constructors are called after creating array of object. :). To assign data we need setdata function. then what is use of constructor here.