[Solved] Error In classes C++

[ad_1] If you do not provide any constructor in your class, the compiler will automatically create one for you. In your class, you have specified a particular constructor: MonthData(double, int, double, double, int, double, double); As soon as you provide any constructor, the compiler will not create a default constructor (i.e. one that takes no … Read more

[Solved] Issue in taking character input to C program

[ad_1] You can’t use strcasecmp to compare characters. It’s not completely wrong, but a single character is not a properly terminated string. If you must do comparison this way, use strncasecmp: if(strncasecmp(&gender,&word_M, 1) == 0) That will limit it to comparing one character. Also, your retry loop doesn’t check for ‘F’, but checks ‘M’ twice. … Read more

[Solved] How to solve this issue in a URL? [closed]

[ad_1] Your question is not clear. what i understand that seems u want to restrict user to modified url. you can user URL Referrer check on page load if Request.UrlReferrer.AbsoluteUri == null { Response.redirect(“home page”) } If someone tried to modify url it will alway return null and you can redirect to home page or … Read more