199,114 Archived Topics
Remove Filter ![]() | |
Hi Everyone Re; Help with MATLAB...basic stuff Let me start with..."What the heck have I let myself in for???? " I'm 43 years old Haven't studied anything related to math in 10+ years. Enrolled in University via distance education in Australia. I live in a small town in Queensland's outback. … | |
this is my code which working,and every image is posted with it's original name but i want it to have little one.. i want it to overwrite the uploaded image <?php error_reporting(0); $change=""; $abc=""; define ("MAX_SIZE","400"); function getExtension($str) { $i = strrpos($str,"."); if (!$i) { return ""; } $l = … | |
Tab Split String Now Working. Please Help. I wrote a C# program that reads code one line at a time. Each line has data seperated by tabs. Here is what my C# code is supposed to do. The line is supposed to be split into a string array by using … | |
Hi, I'm really new to both Pygame and Python. To get started, I just want to create a basic program of a sprite called "Player" in a background that responds to keyboard input. I pretty much just want to program it to move left and right in response to the … | |
Hello, I am trying to replace the default submit button with custom submit button how? This is the default submit button: <input type="submit" value="Submit" /> This code only place the image: <input type="image" src="images/button-kirim.jpg" alt="Submit details" /> How to place the custom submit button and still make it work like … | |
![]() | Hello. I am new to Java and I am creating a simple applet while I to learn. My problem is that one of my methods doesn't seem to be working. The applet is a simple moving sprite; use arrows to move, ect. I am trying to create a missile using … ![]() |
what is the simplest way i could encrypt my php code from advanced php programmer? | |
Hello everyone... I have just a simple project where i have to draw a picture (Robot) and on a klick on a button, the Robot turns to the left. My problem is, the Robot turns correctly but the new Robot drawing (position showing the Robot from the left side, back … | |
| |
for (k=0; k<M; k++) for (i=0; i<N; i++){ c[i][k]=0.0; for(j=0;j<P;j++) c[i][k]+ =a[i][j]*b[j][k]; I have implemented the above sequential matrix-matrix multiplication algorithm, but i'm not sure about implementing a method to display the output to verify that the algorithm works as expected. | |
so i have this mini project to make i'am thinking of making a website just like grooveshark basically what i want in my website would be :- A LIBRARY OF SONGS PLAYER ON WHICH ONE CAN LISTEN DIFFERENT SONGS USER CAN CREATE HIS PROFILE AND CAN MAKE HIS OWN PLAYLIST … | |
How do i add variables from $var1=urlencode(''.$var1.''); on page one.php and use the values from the above variables on page two.php $var1 = $criteria['".$var1."']; if($var1=='') $var1 = ''; Page two is included in page one and I am trying to use the same variable value. | |
Hi i want to calculate the line starting point(x1,y1) and ending point(x2,y2) of a line the line is in circle. The Square image is (0,0) and (100,100), With in this image the line is drawn. I want that drawn line starting and ending points.. This code in C# | |
I get an infinite loop when i input 1 and 5 in this program. Please help me detect the error. using System; using System.Collections.Generic; using System.Linq; using System.Text; namespace Graphs { class Program { static void Main(string[] args) { string[] cities = new string[10] { "Makati City", "Taguig City", "Imus … | |
anyone here knows how to delete or hide an array element in asp permanently or until the application? im currently developing an application wherein once an array element matches the typed text in the textbox it should be removed from the list. what my code does is it deletes the … | |
Here are instructions for voting for winner of the code snippet competition! http://www.daniweb.com/community-center/threads/429756/code-snippet-contest-...-cast-your-vote | |
CREATE OR REPLACE PROCEDURE transfer( crdtacno IN NUMBER, dbtacno IN NUMBER, amount NUMBER, transno NUMBER ) IS BEGIN INSERT INTO transaction VALUES(transno,amount,SYSDATE); UPDATE account SET accbal=accbal+amount WHERE accno=crdtacno; INSERT INTO entrylist VALUES(transno,crdtacno,'CR'); UPDATE account SET accbal=accbal-amount WHERE accno=dbtacno; INSERT INTO entrylist VALUES(transno,dbtacno,'DB'); END; / | |
How can i make a jquery timer that each 3 seconds triggers a php action? | |
How can i replace :), :-),O.o or B) in my a file, that is used to display chat content, by an image. Here is my code: <? session_start(); if(isset($_GET['logout'])){ $ip=$_SERVER['REMOTE_ADDR']; //Simple exit message $fp = fopen("log.html", 'a'); fwrite($fp, "<div class='msgln'><i>User ". $_SESSION['name'] ." has left the chat session.</i><br></div>"); fwrite($fp, "<!-- … | |
please help.. how to program nodes(like in binary tree) the root node is (1) then left(LNode) is (2) and right(RNode) is (3).. then for (2)- LNode of (4) RNode (5).. for 3-- LNode(6) RNode(7)..so on.. how can i do that.. then the numbers are in the database.. Thanx | |
I want to know about function overloading in C# & how to do it? Can anyone tell me with a simple example. Since as i read it from a book i came to this conclusion. I thought it happens only when you use 1 function with same name & tried … | |
my problem is asking me to write a program that reads a value (say n) from the user and outputs Hello World n times. Verify that the user has entered an integer. If the input is 3, the output will be Hello World printed three times. I have gotten this … | |
i've recently published an app but i keep getting this error on machines other than mine. unable to load DLL acbpdf8-64.dll, module cannot be found HRESULT:0x8007007E I've copied all the dll's into the /bin folder, so i get the debug and release folders, along with all the dll's, but still … | |
I have the following code. I wanted to determine if the value inputted in $cellno (from a textbox) are all digits (numbers), and if it's 11 numbers, and if its starting numbers are "09". One correct value example is 09345678910. It is all numbers, has 11 digits, and begins in … | |
Hello, I am clueless on how to separate the value of a HTML TextBox into separate characters before inserting into database. The user will key in certain form of code in the textbox. EG:JYX. The code needs to be separated and assigned to variable for each of the character before … | |
This is a very simple Rock Paper scissors game i made. i showed it to my cousin and he played it for like 20 mins lol. Its against an AI and you pick by number, not words. | |
I should write a program for school classification. It should give out all the 5 marks, but nobody can be on the border points or near the border points. Thanks in advance for your help! | |
HI GUYS .. im trying to make foreign key relation between whishlist_tbl(foreign) table and account_tbl(primary key) table both are integer data container ## scenario ## i have user deatail table that is account_tbl and whish list table i.e wishlist_tbl i want that when user make a wish book then he … | |
I keep getting an error when compiling an SDL program I'm working on. I get the "'screen' was not declared in this scope" error, even though I'm pretty sure it's declared in 'globals.h'. globals.h #ifndef GLOBALS_H_INCLUDED #define GLOBALS_H_INCLUDED #include "gui.h" #include "player.h" #include "SDL.h" #include "timer.h" #include <stdlib.h> #include <string> … | |
![]() | Hi I'm having issue with editing the **Input Type** in **2** different position. I want to edit and add input text in the img. I also want to edit and add input text in the content. What I want to learn is how to add **2** **Input Type** areas in … ![]() |
Hi, Can we call Mysql Storedprocedure in SqlDatasource. My Connection String is Works fine. If not Is any other alternate available? Thanks in Advance | |
![]() | Ok so there Is this answer website and It does "Not" have a BLOCK BUTTON to people users and members on there. The programmer Is to busy to make one... So Is there a way to make a code for me so I could send It to the person In … ![]() |
Here is the code I'm running into an error with: FROM IndexPID INNER JOIN Demographics ON IndexPID.NDoc_Number = Demographics.NDoc_Number, PatientSupply INNER JOIN Demographics ON PatientSupply.NDocNum = Demographics.NDoc_Number I also tried it this way: FROM IndexPID, PatientSupply INNER JOIN Demographics ON IndexPID.NDoc_Number = Demographics.NDoc_Number INNER JOIN Demographics ON PatientSupply.NDocNum = Demographics.NDoc_Number … | |
public int intRet1; public int intRet2; public void IntRandom(int intNumber) { int intNum[] = new int[36]; Random randomGen = new Random(); intNum[0] = randomGen.nextInt(intNumber)+1; do{ intNum[1] = randomGen.nextInt(intNumber)+1; }while(intNum[0] == intNum[1]); intRet1 = intNum[0]; intRet2 = intNum[1]; } today I tried using *java.util.Random* class, but as you can see I … | |
Hi, I have some data like this, Actualy bigger than this more than this column and more than this rows. Run1 Run2 Run3 RUN4 Run5 1 23 123 1234 12.33 2 12 124 1225 13.123 3 15 125 1345 32.32 4 18 135 1456 12.23 5 19 137 1563 12.43 … | |
I have a java application that reads csv file and displays the data on a text area. the idea is to transform this data(source data) into a target data, this involves rearranging it and transforming some elements in each field. now i intend to transform this displayed csv data into … | |
Hi again I have another query I a struggling with that I would like to get some advice on. Basically put as part of a process we have a number of shortcuts created. These are Windows shortcuts based on an item id - so an example would be 1000.lnk Also … | |
Hi everyone, I'm sure this is a simple fix but it may take a minute to understand what I'm trying to achieve. Here is my code, as you can see it's for a shortcode: function verticalnav_func( $atts ) { extract( shortcode_atts( array( 'category' => '0', ), $atts ) ); ?> … | |
Hello everyone! I've been having some troubles recently trying to work with frame independent movement (based on 300 pixels per second) and having the object collide with another. I'm still pretty new to this idea, but I don't know how I should go about having the character move back from … | |
hello guys, I 've just recently stated writing algorithms in Data structures. I want questions to write algorithms in array and linked list, please give me questions in that. The questions can be of difficulty level easy and medium. thank u. ![]() | |
Can someone please help me with the latest version of PHPTraid for windows 7. I have downloaded the versions available at cnet and brothersoft but they are giving compatibility issues. Same goes for the version availabe at sourceforge. Also if someone can help me out if i am missing something … | |
Hi can anyone help me on this..I am tying to change the UIManager. UIManager.setLookAndFeel("javax.swing.plaf.nimbus.NimbusLookAndFeel"); This gives me a lot of Exception. Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException at javax.swing.plaf.synth.SynthLookAndFeel.paintRegion(SynthLookAndFeel.java:364) at javax.swing.plaf.synth.SynthLookAndFeel.update(SynthLookAndFeel.java:328) at javax.swing.plaf.synth.SynthRootPaneUI.update(SynthRootPaneUI.java:120) at javax.swing.JComponent.paintComponent(JComponent.java:778) at javax.swing.JComponent.paint(JComponent.java:1054) at javax.swing.JComponent.paintToOffscreen(JComponent.java:5221) at javax.swing.BufferStrategyPaintManager.paint(BufferStrategyPaintManager.java:295) at javax.swing.RepaintManager.paint(RepaintManager.java:1206) at javax.swing.JComponent._paintImmediately(JComponent.java:5169) at javax.swing.JComponent.paintImmediately(JComponent.java:4980) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:770) at javax.swing.RepaintManager.paintDirtyRegions(RepaintManager.java:728) … | |
string using java??please help..the problem is..inputting your name then reverse it. | |
Ok, here is my question. I got this code working (Yeah it isn't really complex I know, but I'm a beginner anyway) and I couldn't make it work when using a class variable for the strTotalCost and decTotalCost variables and passing decTotalCost to the strTotalCost to show the calculated price. … | |
I have a code that takes a file and splits the file into two files. The problem I am having is when writing the lower half of the file I have two lines of whitespace I need removed. Here is what I have and am wonder how I could add … | |
As a project after learning about classes, I'm trying to create a type of board game where the program tells you where all of it's pieces are, and then you tell it where you've moved your pieces, and then the AI moves its pieces accordingly. However I'm having a bit … | |
Okay I don't really know where to ask this, but I'm working in PHP at the moment, because its quick and easy so I'll start here. I've been given the task of converting some old files. I know the files are all images, and we believe most if not all … | |
Here is a snippet of my code as this is my final and would hate for anyone to find this and copy my final that I am working hard on. Everything else is working and is good. My problem is trying to get the following code to display. void Employee::Calculate … | |
I have Google'd and all i found was outdated, buggy or not working source samples. Here is what i tried but i have a bit of a problem: [CODE]void toDecimal(char bin[]){ int i, d = 0; int l = strlen(bin)-1; int x = 1; for(i = 0; i < l; … | |
I want to store a Vector<Vector<Object>> in mysql database. What is the best data Tpye that i can use in mysql and java to store and retrieve the datas. |
The End.