Member Avatar
So here is my WORKING code. My problem lies in the output when I enter "0" or "00" for the hour in 12 midnight. No matter what it still outputs a 0 for midnight. (I want it to convert it to standard time.) I know it is something easy that …
by TObannion in Software Development ()
Member Avatar
Hi guys, Just wanna ask what the "::" is for? ex. ... Correct me if I'm wrong, the CRM_ContactsCommon is a class and the get_my_record is a function inside the class. Now, is the "::" works the same way like in java to access a function of a class? Thank …
by Kewne in UI / UX Design ()
Member Avatar
*** Systems *** OS: Windows 8.1 64bit IDK: MS Visual Studio Express 2013 for Windows Desktop Problem: I created a simple (very simple) User-defined function named func_compare that compares two numbers, it has two parameters of type Integer. It has no errors whatsoever until you compile it, and it says …
by markdean1989 in Software Development ()
Member Avatar
My program keeps crashing once I try to make my custom class use some of its own functions My custom class looks like this: Entity.h ... Entity.cpp ... the Manager.h ... the Manager.cpp ... I have modified the code a bit to not shown all the stuff I dont think …
by ceelos1974 in Software Development ()
Member Avatar
unable to insert data into table user_detail using jquery i've three files index.php, upload.php, function.php i hope somebody will help me to fix this issue.
by blueguy777 in Web Development ()
Member Avatar
Hi all, I am developing calculator app using C#.I have successfuly implemented its standard arithmetic functions but a bit trapped in implementing scientific functions such as sin,cos.tan etc. I take an operand1,then operator and finally second opernad to workout arithmetic calculations.In the very first attempt to do scientific calculation i …
by javed.iqbal.3979 in Software Development ()
Member Avatar
I am trying to make a function that rounds number.. I declared the function above the main and voided it Then I recalled the function in the program and listed the variables needed in brackets and then I wrote the function I can't work out what is wrong. include<stdio.h> include<math.h> …
by terence193 -4 in Software Development ()
Member Avatar
Hello, I am working on some code that does a remote call to a licensing server to validate whether the license is valid, invalid, expired and suspended. I have a login code that is using prepared statements: I also have a code to get the license and to validate the …
by patk570 1 in Web Development ()
Member Avatar
I am tring to perform a calculation in my query. I've been working on it for hours, so I need another pair of eyes to see what I am missing. Everything in the query is working except for the g.courseFee part. The course fee is not being added to the …
by joshmac in Databases ()
Member Avatar
Good Day Daniwebbers! Wonder if I can have some help. I am trying to build an 'admin panel' of sorts where the user can add content to their website, edit and delete it, all from one spot (Not unlike a CMS system I guess but purely for the purpose of …
by LaurenE in Web Development ()
Member Avatar
Hi there, I am having a problem of passing arrays to functions, here is my code: The problem is I want to allocate dynamically an array and to pass to a function. Cheers guys
by cppgangster -1 in Software Development ()
Member Avatar
I'm totally new to programming and taking an intro class. When i prompt the user for a state code the program just exits, nothing in my book really goes over this and all im given is crappy youtube videos for reference. Any help is greatly appreciated.
by Jason_9 in Software Development ()
Member Avatar
Am trying to get a function call but i cant get it to print. Please help here. This is the code:
by crebz in Software Development ()
Member Avatar
I'm trying to figure out a way to define my function for loaning a book within a class. This is what I have so far: and I have my function: I just want to make sure it is correct. any help?
by amini.chenini in Software Development ()
Member Avatar
frequent utility of inline function
by ashu.dasgupta in Software Development ()
Member Avatar
The title says it all but I am curious if it's acceptable or even efficient for that matter. If others were to read my code or work on a project with me is this generally accepted among others or yourself if you work on an enterprise level? Is this memory …
by Tyler_1 in Software Development ()
Member Avatar
Hi I need PHP functions for calculating the area and volume of a cylinder? I will be thankfull for your answer.
by tony75 10 in Web Development ()
Member Avatar
Hello all, So here is my problem: I have 2 functions that one uses the other's calculations and result: I have reached a point in a program I am trying to write, where I need functions that take too many parameters and I was thinking whether or not there is …
by atzounis in Software Development ()
Member Avatar
write a function named, smallestValue, that accepts five integers and return the smallest integer accepted.( just write a function)
by apiatex in Software Development ()
Member Avatar
in every case it returns @default , y ? even i sent 1 as a parameter.
by HunainHafeez 9 in Databases ()
Member Avatar
I m trying to convert C code to C++. Facing some difficulties help me out! //This is struct // Function prototype // Function to be called How can I call this function(with parameters)?
by Andy90 in Software Development ()
Member Avatar
i am getting result of average in int instead of float, tell me where i have made mistake. this is the code.
by kamalashraf in Software Development ()
Member Avatar
Hi, I have been trying to create a little jquery plugin for myself so that I can reuse some helpful multiple button submit code. This plugin will allow me to have a class as a selector for every button I want to use on a webpage, a class for everything …
by piers 8 in Web Development ()
Member Avatar
Introduction Hey everybody welcome to a tutorials on classes in PYTHON. The purpose I made this tutorial for is that when I was learning classes in python I dint found any good tutorials on Classes. Maybe I was wrong. But here's my tutorial. Layout In this tutorial i'll be covering …
by lionaneesh -4 in Software Development ()
Member Avatar
Hi, This question is related to the below. I used that to solve my issue. What I would like to understand is why the function prototype is to be declared before the main function? In my textbook that I am following the function prototype wasn't there. I did as written …
by alex9620 14 in Software Development ()
Member Avatar
function smile () { document.getElementById("textfield_width").value = width; //set the elements with id "textfield_width" some value the value of the variable width--> document.getElementById("textfield_height").value = height; // set the elements with id "textfield_height" some value the value of the variable height --> }
by lanhaibibo -2 in Web Development ()
Member Avatar
Hi all am am trying to reduce duplicated elements in a php page. How can I create a function that will pass the different values in the array. Thanks in advance D
by davidjennings in Web Development ()
Member Avatar
Hi , i would like to include a normal conventiional function in to my obcetive c project. I have tried putting the body of the function outside the implementation section , inside the @implemenation section. I know it wont be part of the class i'm defining , but do i …
by Beancounter5 in Software Development ()
Member Avatar
Here is my first program I'm working on. I have built a framework here showing the sort of output and user interaction I would like during runtime, but it feels grossly oversized and unintuitive. Here is the code: I know I'm making very poor use of functions here, and getting …
by Aethir in Software Development ()
Member Avatar
Write a function (seat_type) that reads an input from the user that represents a seat class. The user should enter F: for a first class seat, C: for a business class seat, or Y: for an economy seat. The function should validate the user input to accept only F, C, …
by yassink in Software Development ()