199,114 Archived Topics
Remove Filter ![]() | |
Hi. In [URL="http://www.daniweb.com/forums/thread183983.html"]my previous post[/URL] people said to me i need an array. I'm trying to insert things in an array and I get errors. [URL="http://labs.wasge.es/files.php?action=file&file=files/vass/devel/vass.c&format=yes"]This is the full code[/URL]. This is my piece of code (from line 77 to 85): [code=C] int buttons_add_audio_input[howmanyofeach]; int i = 0; while (i … | |
Hi, I am fit to be tied here. I have a page that feeds information into a new page. I have it put the information into a label. This works great. [code]<asp:Label ID="lblItems" runat="server"> <% if PreviousPage IsNot Nothing then dim SourceLabel as Label dim strMsg as string SourceLabel= PreviousPage.FindControl("lblItems") … | |
Hello, I am having trouble understanding linked lists. I have to make this program that takes input, stores it to a queue, outputs that input, then sorts it using mergesort and outputs it again. It all works except I'm not sure how to call the mergesort classes. Here is the … | |
I have a small database, at the present time, built for basic tracking and it has 5 rows ... trackid datetime uid emailaddress orgcodetrack It's populate with 10 records test data from 3 users (uid)... I need to return the total visits from each uid... Here's what I have so … | |
I've written a few SQL stored procedures in a text editor. But how do I actually "store" them in (add them to?) a database using SQL Server 2008 Management Studio Express? I've tried to research this topic in Management Studio's onboard Help, but apparently Help assumes I know more about … | |
hello i am stuk on this piece of work which i have no understaning at all!!! this is the question could someone please show me or give me gudlines in how to do it!!! Write a Java application that asks a user for their name and displays it in a … | |
[CODE]#include <iostream> using namespace std; bool isVowel(char character); int main() { char character; cout << "Enter a letter, if it is a vowel this program will tell you" << endl; { cin >> character; cout << isVowel(character) << endl; if(isVowel(character)==true) } bool isVowel(char ch) { if('A'==ch||'a'==ch||'E'==ch||'e'==ch||'I'==ch||'i'==ch||'O'==ch||'o'==ch||'U'==ch||'u'==ch) return true; } else … | |
Hi. I am writing a mac program that among other things, allows a user to create unix links to files. Now I am using the runtime.exec() method to run the ls -s command e.g. ls -s dir1/fileName dir2/NewfileName This works but becomes difficult if the path name to the file … | |
hi im using visual basic 6 to create a text based game i have started and have only just started learning programming via visual basic and have learned a fair part of it. just need a a little help with the user form where the user enters there name age … | |
Plz tel me how to retrieve some specific set of lines from a file and store it in a char buffer.I am seperating each record by ":" [Code] 22:abc:4 hardware:cd:xyz:2 hardware:eth:abc:6 hardware:mouse:xyz:3 hardware:ram:xyz:1 23:cde:3 hardware:cd:xyz:2 hardware:eth:abc:6 hardware:ram:xyz:1 25:efg:2 hardware:cd:xyz:2 hardware:eth:abc:6 [/code] plz tel me how to retrieve [code] 23:cde:3 hardware:cd:xyz:2 … | |
![]() | hey, I am having some trouble with this one. I am doing a student web organiser.The user registers details which goes into userinfo and sem1week1. My three tables are: 1.userinfo: firstname, lastname, e-mail, username, password, coursecode, courseyear. 2.courseinfo: subject, time, day, semester, coursecode, courseyear. 3.sem1week1: username, coursecode, courseyear, day, time, … |
hai i want a shell script to load data from a csv file into mysql table plz reply me soon urgent | |
Ok, this is my second post...i will answer four with this rturn... wtf is with the the compiler not knowing I am making a variable known as the type I write?.. ((String)(Vector)(((Vector)((Vector)DesktopFrame.desktop.masterPane.iconPane.logoffFrame.secretData.uberSecretData.elementAt(1)).elementAt(ind + 1)).elementAt(2))) = label. Yes, Im a wannabeEverything...4 post ansers if I get One :) death | |
I have a program which will write informations like gid,gname,resname,restype,etc... in a file.I wrote a function to get the starting and ending position of a particular group.Stating of a particular group (say group 12)is denoted in a file by #gid12 and the end of the group is denoted by @gid12.I … | |
Do we have something like sendmessage or postmessage in python? | |
hi, im having difficulty with this python question as i am new to python. the question is: Draw up the list of possible inputs for a half adder and the outputs that you expect. Implement a half adder in a few lines of python, so that the variables o1 and … | |
Question Details: Help Needed Hospital Associates own three private hospitals at different locations across the country. It has a centralize database for tracking patients admission and billing. The database schema contains the following tables: PATIENTS(PatientId, Name, Address,DateofBirth,AccBalance) ADMISSION(AdmissionId, PatientId(FK), RoomId(FK), AdmitDate, DischargeDate) ADMITDETAILS(AdmissionId, TreatmentId(FK), DoctorId(FK)) ROOM (RoomId, HospitalId(FK), RoomType, CostPerNight) … | |
I've got these 3 questions, I didn't work so far in C++, and this is preparation for my C++ class, These questions are a little tricky and unknown to me, I tried to find the answers in Wikipedia, but I didn't manage, if anyone can answer me, please. 1.1 Can … | |
Hi, First off I would like to say how much I like python, it really is an amazing programming language. Anyway I am using python and wxpython and have made a program with a text entry field. I have added a tooltip, but the tooltip only shows up once every … | |
write the definition in c++ for a class named vector2d that stores information about a two-dimensional vector. the class should have functions to get and set the x and y components, where x and y are integers next, overload the * operator so that it returns the dot product of … | |
I'm trying to get some information on Airway Gaming Group, or their parent company, Airway Holdings. Has anyone heard of these companies? Does anyone have any info or a website address, or link, for either of them? Thanks for your help, BertC | |
I have my program...which displays a main menu and gives you four choices, one of which is exit. It is then supposed to move on to the next menu or the part of the program you have chosen, i.e. add temp, delete temp, list temps(this has a serperate menu of … | |
Write a program that will read in a line of text and output the number of words in the line and the number of occurrences of each letter For example I say hi Output should be 3 words 1 a 1h 2 i 1 s 1 y [code] #include <iostream> … ![]() | |
Hello, I want to create a tree structure in haskell so that later I can do a depth first search on it to find something. Here is an example I have thought of to try and understand the concept - [CODE]data Tree a = Nil | Node a (Tree a) … | |
Hi, there Asssuming that I have some lines below 28 J=5202,5204,7497,7498 SEC=WALL1 1185 J=289,3875,2673 SEC=SLAB2 I would like to count number of digital after "J=" on the above two lines in a text file. I am expecting results below the first line: 5202,5204,7497,7498 =====> Answer: 4 the second line: 289,3875,2673 … | |
hello, could u pls tell me if there's any function which can allow java to decide what operator should use in order to return a min/max number? if yes.. i'd be happy to see it. i once saw something like this: [I]use "+,-,/" [/I].. followed by i don't know what.. … | |
In my website i want to introduce a link where people will see who joined the site for example today,yesterday one week ago,2week ago and one month ago... how i`m i going to do this in php? | |
Hi all Is there any class to store time in easily, without having to store a date too? We have to create a program for swimming competitions. The swimmers in a match need a time (the time they did swimming the match). So we only need hours, minutes, seconds and … | |
Hey everyone, long time lurker first timer poster :icon_cool: For the past week I've been trying to come up with a way of doing this but I just can't seem to think and implement anything that will work. Basicly I have a string such as "Welcome to my program" I … | |
i have a jsp page which initializes itself from a database...it has a series of checkboxes that are being created from the database values...now once the user selects the boxes required by him i have designed a function dat reads the values from the checked fields n stores them in … | |
I have 1 data gridview. in that first is ID column . for that i assign a auto index number with sql server (isidentiyt). the next colomn is response id, for this column also i want autonumber id like 1,2,3,4..... . i see we cant assign to index identity with … | |
i had a table categories(cid int primekey,name varchar,description text,parent_id,created date,updated date) i want a script for insertion like this insert into categories(...) values(cid value,name value,..desc, parent_Id..); can i write the statement as insert into categories(....) values (1,'aaa','some text',[U]select parent_id from categories where parent_id=id[/U],date,date); just i wana know how can i … | |
This isn't a programming how-to thread, but I've written a large graphics manipulation program in Java and I am developing a help section that explains how to use the program, a step by step tutorial for how to use all the features. I figure a good way for me to … | |
In a part to one of our assignments we were to use an array (that represents classes) and the user needs to be able to pick..lets say..Classes[3] and get rid of it. But if the array is holding 8 spots, the program needs to be able to pick it out … | |
Hello all, I have some difficulty with something I want to do: I want to 'measure' the likeness of two lists of integers. What I mean is I want for example to compare: list1 = [0, 0, 1, 1, 0, 1, 0] list2 = [0, 0, 0, 1, 1, 1, … | |
hi there thank you for helping me before but i have new problem with javascript i need to disable the selection list wheb the checkboxes are unchecked and enable when they are checked this my code so far [code] <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> … | |
I have <div> tag that is dynamically filled with check boxes and some text based on what the user picks from the page. For example, there is information in a tabular format and next to each is a check box. There can an unspecified number of them. User click the … | |
hi all, am still new in developing J2ME applications.I have a mobile application that needs to connect to mysql database using JSP as the middleware..can anyone please sort me out am stuck on the how to go about it. | |
Two friends had a disagreement about the placement of the return in the following code: [code] var abc; try{ //there can possibly be 1 or more answers; abc = getAnAnswerFromPossibleAnswers("type","key"); } catch(ex){ ex.printStackTrace(); } //We only want the first answer even if there were more return abc[0]; [/code] One person … | |
I need to find the values for two columns in my table. The first one is a number and I able to find that one alone. I added the second column and it does not seem to work. It is a check box and all I need the function to … | |
I really don't have a clue on how to even start this, making a login form. So i've been searching around trying to find others doing the same thing but i haven't found much and what i have found they are using different databases. But here's what i have so … | |
Hi, I've got a puzzle game program consist of 2D array 2 rows x 3 cols. The professor wants no changes to be made in puzzle.h, which is: [code=c++] #ifndef _PUZZLE_H #define _PUZZLE_H #include <iostream> #include <iomanip> #include <stdlib.h> using namespace std; // Constants const int COLS = 3; const … | |
[code=java] class ListToolsFrame extends JInternalFrame { JLabel titleLabel; JButton exitButton; JTextArea outputArea; RandomAccessFile rafFile; ListToolsFrame(RandomAccessFile raf) { StringBuffer buf2; rafFile = raf; try { rafFile.seek(0); } catch (IOException e1) { System.err.println("rafFile.seek(0)"); } JPanel jp = new JPanel(new BorderLayout()); buf2 = listTools(); titleLabel = new JLabel("List Of Tools"); exitButton = new … | |
Hi, I need to pass more than one value to next form using header function.this is my sample code. header('location:option.php?$uname='.$myusername.'+password='.$mypassword); i am able to pass single value,but when i tried with more than one value as above,i am facing the problem please help me.In second page i retrive the values … | |
I have a query [code=language] SELECT radcheck.id, radcheck.UserName, radcheck.epost, radcheck.fylke, MAX( radacct.AcctStopTime ) AS AcctStopTime FROM radcheck LEFT JOIN radacct ON radcheck.UserName LIKE radacct.UserName WHERE AcctStopTime LIKE '%2009-03-19%' GROUP BY radcheck.id[/code] I'm looking for a way to use wilcards, > <, NOT LIKE etc on only the highest date value … | |
I have been trying on this code for so long but I can't seem to find out why the rows could not be displayed / could not be fetched. The checkboxes are present but no info Please help! :(( [code=php]<?php $host="localhost"; // Host name $username=""; // Mysql username $password=""; // … | |
i have a database and it has a column thats id its auto incrementing and one called download_link i want to have that autofill with a url thats concatinated with my id so localhost/upload/downloadtest.php?id= adds the id and becomes localhost/upload/downloadtest.php?id=1 localhost/upload/downloadtest.php?id=2 localhost/upload/downloadtest.php?id=3 etc how could i do that be done | |
[CODE]$realUser = mysql_query("SELECT Username FROM my_db WHERE Username = $user ");[/CODE] This is not storing the $user value to $realUser. I am correctly using $_REQUEST['user'] to retrieve the value for $user from a form, and I am connected to my database. I understand there is an issue with PHP variables … | |
![]() | Okay so here is the deal. I'm very brand new to anything when it comes to programming. I decided to try python out. I'm attempting to do the very first project but I keep getting a syntax error. Here is my code: [QUOTE]1. print "Hello Monty Python!"[/QUOTE] I get the … |
In VS9, when i call the GetTickCount() function, it automatically converts it into the GetTickCount64() function upon compilation. This second function only works on Vista+, and thus my program errors when run on XP. I have tried adding the follow in 'targetver.h', but it did not make a difference: [code=c++]#define … |
The End.