Latest Discussions
by
cube=int(input(' enter a vlue to find it cube root,(vlue must be >1):')) epsilon=0.01 num_guess=0 low=0 high=cube guess=(high+low)/2.0 while abs(guess**3-cube)>=epsilon: if guess**3=guess high=guess guess=(high+low)/2.0 num_guess+1 if(high==low):...
by
I have the following class written to describe a Platypus date type and am having problems when trying to display results. This is the main function where I am having a problem displaying the output. #include "Platypus.h" #include #include #include using namespace...
by a__pal
I am new to AngularJs. I am trying to use Service.js to call Web Api. It is working if I directly call from controller. But when I try to segregate the code by using Service.js I am getting lost. Any help will be appreciated. getSubs function call is working in APIService. But not able to run...
by Tesouro
Hello all, My program needs to write configuration files and some data files somewhere. I know that writing files to my program's .EXE path (which will be within C:\Program Files) can cause issues related to permissions. So, I'm doing this: ProgramDataPath =...
by alpacaheng
I want to upload a file from client side(.html) using ajax to server side(.aspx.cs) but i dunno how to pass the file from client side to server side, and also how to get file passed from client side in webmethod and upload to server. What I have tried: index.html function uploadFile(){ ...