241 Topics

Member Avatar for
Member Avatar for mitchiexlolz

I am currently making my project and it involves graphing functions. I have chosen Java because as I have surfed the net, i was able to download a library (JGraphT) that tells me that it can help me graph mathematical functions. Now, my problem is, i dont know how to …

Member Avatar for leiger
0
117
Member Avatar for mitchiexlolz

[CODE]I am planning to make an application that can graph all functions.(polynomials, rational, trigonometric,etc) but I can't make a decision on which programming language I am going to use. I am choosing between Java and VB.net. what are the ups and downs of these languages? Which one would be better …

Member Avatar for Taywin
0
112
Member Avatar for Grovega

Hi, so the exercise I am supposed to do is : "If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 …

Member Avatar for Grovega
0
172
Member Avatar for c++creator

Hey everybody,it's the c++ creator.I am a beginner at C++,and am getting confused at functions.I am learning from a site called cprogramming.com and this is what they say- [QUOTE]Lesson 4: Functions (Printable Version) Now that you should have learned about variables, loops, and conditional statements it is time to learn …

Member Avatar for frogboy77
0
562
Member Avatar for Sparhauoc

Greetings all. First of all, let me say I am NOT asking for code, just to be pointed in the right direction. I’m a newbie in php and mysql and have been teaching myself what I could learn from online lessons and tutorials (mostly w3school.com). I have found plenty of …

Member Avatar for Sparhauoc
0
588
Member Avatar for PratikM

Hey guys... I have this code and i need to make the temperature part work with a function but i don't know how. So Any help is appreciated. Thanks *edit* Also, if there is any way to make this simpler, then please tell. [CODE] #include <iostream> #include <time.h> #include <string> …

Member Avatar for PratikM
0
212
Member Avatar for rayden150

Hello, I would like to know how do I compare two chars properly Im making a healthcare project, its pretty rudimentary, Im trying to make a comparison between a char that the user inputs and the char that is in a structure that is saved in a .txt file So …

Member Avatar for Ancient Dragon
0
294
Member Avatar for Jamesiscrazzy

Right now i have 6 files: Main.php = The login page Info.php = The first page seen after login ForgetPass1.php = The first page for password recovery ForgetPass2.php = The first page for password recovery functions.php = Holds all the php functions used in all websites including: -logout() -confirmUser() -SQL_Connection() …

Member Avatar for Jamesiscrazzy
0
233
Member Avatar for sid78669

This is what I have in a page: [CODE=HTML] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Sandbox</title> <style type="text/css"> table.twocPC { width : 612px; border-width: 1px; border-spacing: 1px; border-style: solid; border-color: black; border-collapse: separate; background-color: white; vertical-align: middle; } table.twocPC td{ border-width: 1px; padding: 0px; border-style: solid; …

0
112
Member Avatar for JacobBruce

I am using the RemObjects PascalScript engine in one of my applications and I have a few questions. I was looking for a list of all the functions and constants available to PascalScript and the best resource I could find was this page: [url]http://www.be-precision.com/products/pdscript/webhelp/en/topics/PSSyntax.htm[/url] Most of the functions work as …

Member Avatar for beprecision
0
207
Member Avatar for praveendasika

I have assigned the value whether the check box is ticked or not to a vairable.I want to pass the value to a function. how do I do that ? if (checkbox1.checked==true) { value1 = "I am here" } if (checkbox2.checked==true) { value2="I am there" } value3 = value1 + …

Member Avatar for praveendasika
0
162
Member Avatar for Acids

I am making a wordpress plugin but I am having difficulty accessing the results from an array in a function Radio Box: [CODE] <!-- First radio button --> <label><input name="posk_options[radio_group_two]" type="radio" value="satellite" <?php checked('satellite', $options['RADIO_GROUP']); ?> /> Satellite</label><br /> <!-- Second radio button --> <label><input name="posk_options[radio_group_two]" type="radio" value="hybrid" <?php checked('hybrid', …

Member Avatar for ddymacek
0
130
Member Avatar for rayden150

I made several functions, and this one assignment keeps giving me "expected primary expression before '..., HELP!", what is a primary expression?, all my code is ok I have made different files for the different functions and im using extern but the void argument I think keeps giving me trouble …

Member Avatar for Moschops
0
954
Member Avatar for jrotunda85

So I am in the process of putting some finishing touches on a new section of my website which allows users to keep track of their cigars in an online inventory (or humidor) type system. I'm kind of stuck; however, on what the best way to capture and process data …

Member Avatar for vibhaJ
0
155
Member Avatar for dgreene1210

-The program should print "COP 2220-50184 Project 3: <your name>" with a blank line before and after. -Then it should prompt the user for the input file name of the file containing the data to sort. - If the program can't open the file or if no file name is …

Member Avatar for TrustyTony
0
260
Member Avatar for jaycastr

this query was too hard for me write. so any help is greatly appreciated i have three table , a_device, b_devices and a_app under a_device i have the columns: hostname app_name under b_device i have the columns: hostname cpu_avg mem_avg under c_app i have the columns: app_name department_name I want …

Member Avatar for mwasif
0
150
Member Avatar for jrotunda85

I recently moved a script I created for Google Maps over from my development site and I changed the information in the mysqli line and now I'm recieving an error mesage -- any idea what's going on here? Here's the error message: [CODE]Warning: mysqli::mysqli() [mysqli.mysqli]: (28000/1045): Access denied for user …

Member Avatar for diafol
0
366
Member Avatar for WolfShield

I have a lot more code than I'm going to post here, but I am posting the relevant parts. What I have is a Calculator program. Here's the code: [CODE=Python] num1 = None num2 = None oper = None def calculate(num1, num2, oper): print("calculate() called") if(oper=="+"): answ = Decimal(num1) + …

Member Avatar for woooee
0
255
Member Avatar for Thisisnotanid

Hi all, I was working on a MATLab program and I came to a point where I wanted to define a function such that one of the arguments would be used as a command. To clarify, the function being defined was an implementation of Simpson's rule that would integrate using …

Member Avatar for TrustyTony
0
244
Member Avatar for jxe217

I'm having an issue with my program when I call the "drawCardFace" and "drawCardSuit" functions. The function calculates and gives one answer the first time I call it. And then uses that same answer the next 4 times I call it. Can someone explain what I need to do to …

Member Avatar for jxe217
0
211
Member Avatar for mklein

Dear all I am brand new to C# and have previously only written programs in Javascript, so go easy on me ! I have written an "app launcher" program which reads a text file line by line. Each line is just a path to a program e.g. C:\Users\Matt\Desktop\Gravity.exe So far, …

Member Avatar for mklein
0
198
Member Avatar for RazorRamon

I'm trying to code a site similar to the coding on the bottom. I need help though I'm not sure if functions for php can work this way. I want to be able to use the function greeting in many different if else statements. How can i do this without …

Member Avatar for twiss
0
222
Member Avatar for ronthedon

I've spent the last hour trying to figure out why my calculations are not adding up. Once i run the program it just output 0 for the total points program averages and etc and it also leaves student name blank. Can someone please help me figure out the issue. thanks …

Member Avatar for jonsca
0
178
Member Avatar for tcollins412

lets say i have a get variable:[CODE]$goto=$_GET['goto'];[/CODE] and i have a array [CODE]$sections= array('fail' => fail());[/CODE] how would i make it so when the $goto=fail, it does the function fail from the array?

Member Avatar for Killer.bee
0
123
Member Avatar for ghost_from_sa

Hi guys, Im pretty dam stuck at the moment on an assignment Im meant to do. Its my last question so everything is pretty laid out, but the question (to me is not useful) so if you could just help me out it'd be much appreciated Ok so what i …

Member Avatar for ghost_from_sa
0
969
Member Avatar for BurgerBob

Hi guys, i'm doing a 7 week C++ course at the min and am struggling to keep up. Any help on the following is appreciated. Background Info: The game of craps: A player rolls two dice. Each die has six faces. These faces contain 1, 2, 3, 4, 5 and …

Member Avatar for BurgerBob
0
606
Member Avatar for sosongetsu

My class did a practice program and worked thru it however i was absent due to illness but i was sent the parameters they used for practice. I attempted it on my own but i was unable to figure it completely but i did get part of it down before …

Member Avatar for WaltP
0
2K
Member Avatar for george61

This problem is about passing parameters between functions(define neighbour elements and acess these elements) Here is some HTML [CODE] <ul class="listing"> <li><a href="imgs/eli.jpg" id="1" class="lightbox" onclick="defineNeighbours(this.id);"><img src="thumbs/eli_t.jpg" width="150" height="100" class="images" /></a></li> <li><a href="imgs/ggallin.jpg" id="2" class="lightbox" onclick="defineNeighbours(this.id);"><img src="thumbs/ggallin_t.jpg" width="150" height="100" class="images" /></a></li> <li><a href="imgs/jontarata.jpg" id="3" class="lightbox" onclick="defineNeighbours(this.id);"><img src="thumbs/jontarata_t.jpg" width="150" height="100" class="images" …

Member Avatar for Airshow
0
146
Member Avatar for feoperro

Hi, Does anyone know how to control the sequence of JQuery $(document).ready functions? For example: [CODE] $(document).ready(function() { ... }); [/CODE] Only if this returns true then do: [CODE] $(document).ready(function() { ... }); [/CODE] Thanks

Member Avatar for feoperro
0
264
Member Avatar for Mark_48

I want to use the code i have and turn it into a function that i can call in the main program. I have to do a similar function a second time and want to be able to call them into the main program instead of having one big long …

Member Avatar for RabidDog5150
0
149

The End.