Member Avatar
im having a problem controlling a stepper motor using a microcontroller..what i did is that i test it with my board coz it has led's to check whether its working or not..we are tasked to make a program in c++ that would make a variable reluctance stepper motor work. If …
by programmingnoob in Software Development ()
Member Avatar
I want to use Tkinter funtion to create a a temperature calculator. I have all the code for the calculator, however using Tkinter function i cant figure out how to get the variable input by the users. I am new to python and programming, just started programming less then a …
by sabbib -4 in Software Development ()
Member Avatar
Hi all , i want to cast the output of fuzzy logic algorithm into any another type (float , int ,double..), i tried this with usual methods but there is no change.. This is the complete java code ... I'm especially talking about this line: ...
by BabaRoro in Software Development ()
Member Avatar
How can I use a variable in a MySQL select statement? Code: $serverid = $_SESSION['server_id']; $sql = "SELECT * FROM servers WHERE server_id = '$serverid'";
by ThePMTeam in Web Development ()
Member Avatar
Hello All. I'm trying to loop the following statement with PHPmyAdmin in order to add 1000 entries with the variable "i" incremented for each entry. (data and ip can be static) INSERT INTO 'TABLE'('id', 'data', 'ip') VALUES ([i], [06/03/2016],[192.168.0.1]) It's been 20 years since I've done any coding with loops. …
by Brian_17 in Databases ()
Member Avatar
The eror says: llegal static declaration in inner class Question1.Question1Listener modifier 'static' is only allowed in constant variable declarations ...
by ericalanso in Programming ()
Member Avatar
Hi all, In all my time with PHP I have only ever seen one way of adding a variable onto the end of the string: ... However, recently I came across another method, which was used in the context of constructing a mySQL query. Can someone explain the difference? It …
by James_43 15 in Web Development ()
Member Avatar
I have problems with the following program which is long to post at once so I will explain what are the problems step by step. 1. Define two structs that represents books and a bookstore as following: ... Write a function that reads n books. If the book with previously …
by negru in Programming ()
Member Avatar
hello friends sorry for posting this basic question here but i can't figure it out why my variable "tasse" is getting 8 or (the value of variabale i) in this code below. ...
by chrisschristou in Software Development ()
Member Avatar
I have a php page that lists a bunch of data including id's from a database. I then have a button next to each id that will open a Twitter Bootstrap modal window in the page and I need to pass the php variable (the id) to that model window …
by jayreis in Web Development ()
Member Avatar
I am trying to assign a method to a varibale called from a constructor, but it returns null when I am calling it. ... When i try to print out "aa varibale" it gives me null value, but when I just do System.out.println(a.getTotalPromotion); the value isnt null. Is there any …
by Bartosz in Programming ()
Member Avatar
The following is a similar program I had when having trouble: ... The problem is, when using certain numbers as the sentinel (in the above it's 1.2), the sentinel would not work, i.e. it would always wait for the next input, even though it's supposed to end. There was no …
by sgw in Programming ()
Member Avatar
Given Problem: A professor at Hardtack University has an unusual method of grading. The students may or may not all take the same number of tests. The individual tests are weighted, and these weights are used to compute the student's average. Important: the weights for all of the tests for …
by PyGuy123456789 in Software Development ()
Member Avatar
Yes I did read these two posts. ... ... My case is a bit different because I'm using ... . This is what I have tried: ...
by COKEDUDE 13 in Software Development ()
Member Avatar
Hi, I'm trying to .push several urls to a global variable inside a function of a javascript and casperjs script. The global variable does not seem to be filled with the data. ... So, I'm trying to push product urls to the ... global variable and it seems to be …
by luislupe in Programming ()
Member Avatar
xml output: ... how to fetch the xml output from url and store the credits i.e. 39660 into php variable. the above xml output is coming from following url ... check-balance.php code: ... hope some one will resolve this issue. thanks in advance
by blueguy777 in Web Development ()
Member Avatar
Hi all, I have a multi-dimensional array. Using a for function, I would like to display the information inside the array. This means using a variable $i for the first index of the array, which I think is causing the problem. I am getting the error message: ... Note, that …
by James_43 15 in Web Development ()
Member Avatar
So I have 2 files: M.java, and construct.java. In construct .java, I have 5 instance variables, and made a constructor to initialize the variables. I have also created an getters, adn setters for each instance variable. In Main. java, I created an array: construct[] c= {new construct(int1, string1, string2, string3, …
by Lgie in Programming ()
Member Avatar
Why my $last_id variable is null always ? i am using this scirpt for ajax..but i tried to excute without my ajax page,it works fine and the output give me ... when i want to check my $last_id variable that was null, ...
by phoenix254 in Web Development ()
Member Avatar
Hi, I was learning operator overloading and I noticed a very strange thing. I could access the private variable of another object by using the object reference and the . operator. Both the objects belong to the same class and I can alter the value of a private variable of …
by anumash in Software Development ()
Member Avatar
i have an array of usernames and if a specific name is entered then code should say i know you concatenated with input name...this part is working fine...the problem is in ... this line of code is giving the error of undefined variable i'm not getting it i tried to …
by vampzzz in Web Development ()
Member Avatar
Hi, from the result in my "for" loop, have stored four value. How to extract that value to show the value(sprintf) ? Kindly refer to the attached the image file. Thanks Regrads, nazif
by naz1234 in Software Development ()
Member Avatar
I am trying to integrate elFinder and TinyMCE using the advanced method found here: ... When I click the image icon in TinyMCE, elFinder will appear in a popup window, and when I double click on a file in elFinder, it should include it in the editor. However, the following …
by joshmac in Web Development ()
Member Avatar
I have a JSON decoded array in php with foreach that includes a select option in a form every time I select an option from this drop down it returns the last value in the list. The option is just the selector not the value I'm trying to save. I'm …
by cambraydesign in Web Development ()
Member Avatar
May sound all too easy for some, but I'm just getting started on android development and I can't find out why I got an error when everything is exactly as it is in the tutorial. Weird but I'm confused so I thought I'd post to see if someone can help …
by valestrom 17 in Mobile Development ()
Member Avatar
Hi, having a bit of a head-scratcher time here. I have a FOR loop that searches through a Directory for images, collects the EXIF DateTimeOriginal information form each image and then is supposed to output this collected data inside an HTML TABLE. I know that the FOR loop does exactly …
by Cap'nKirk 10 in Software Development ()
Member Avatar
I'm totally new to php. I'm trying to echo the value of an input field into a an array but it doesn't seem to work.e.g echo the value of hidden-input as the value for origin in the array. How can I achieve this. ...
by Chibueze_1 in Web Development ()
Member Avatar
tl;dr: Looking for a java library to solve equations. Suggestions welcome. I'm looking to write an app for the sake of writing an app. I figured that, as a firmware guy with minimal EE hardware training, a good practice app would be one that acts as a helper for EE …
by DeanMSands3 57 in Software Development ()
Member Avatar
You have to create two classes. The first class “Employee” which included: The private variables: first name last name id number (Format: A#####) Wage hoursWorked The hoursWorked variable holds how many total hours the person worked. When the hoursWorked is over 40 hours, it will be considered as over time. …
by Daniel_45 in Software Development ()