199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for wasge

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 …

Member Avatar for wasge
0
197
Member Avatar for WinginSue

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") …

Member Avatar for WinginSue
0
79
Member Avatar for christiangirl

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 …

Member Avatar for christiangirl
0
232
Member Avatar for changeco

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 …

Member Avatar for changeco
0
153
Member Avatar for BobLewiston

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 …

Member Avatar for dickersonka
0
90
Member Avatar for king_786

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 …

Member Avatar for deathwishgenius
0
189
Member Avatar for 1newguy

[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 …

Member Avatar for Barefootsanders
0
124
Member Avatar for Grub

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 …

Member Avatar for JamesCherrill
0
152
Member Avatar for jossc

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 …

Member Avatar for vb5prgrmr
0
757
Member Avatar for metal_butterfly

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 …

Member Avatar for jephthah
0
147
Member Avatar for otooleb6

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, …

Member Avatar for buddylee17
0
84
Member Avatar for srpa01red

hai i want a shell script to load data from a csv file into mysql table plz reply me soon urgent

Member Avatar for buddylee17
0
73
Member Avatar for deathwishgenius

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

Member Avatar for JamesCherrill
0
106
Member Avatar for metal_butterfly

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 …

Member Avatar for jephthah
0
123
Member Avatar for s_jmp
Member Avatar for zain kazmi
0
89
Member Avatar for srk619

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 …

Member Avatar for srk619
0
2K
Member Avatar for chetah

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) …

Member Avatar for speciality
0
87
Member Avatar for viki0077

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 …

Member Avatar for viki0077
0
131
Member Avatar for shibby

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 …

Member Avatar for shibby
0
78
Member Avatar for perumar

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 …

Member Avatar for Lerner
0
275
Member Avatar for BertC

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

Member Avatar for BertC
0
174
Member Avatar for Lbs Btw.

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 …

Member Avatar for vmanes
0
108
Member Avatar for perumar

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> …

Member Avatar for jencas
0
85
Member Avatar for artemis_f

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) …

Member Avatar for thoughtcoder
0
1K
Member Avatar for ning2009

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 …

Member Avatar for ning2009
0
107
Member Avatar for dep.new

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.. …

Member Avatar for javaAddict
0
299
Member Avatar for mrcniceguy

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?

Member Avatar for darkagn
0
122
Member Avatar for K?!

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 …

Member Avatar for K?!
0
102
Member Avatar for awk

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 …

Member Avatar for awk
0
130
Member Avatar for k2cool_87

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 …

Member Avatar for k2cool_87
0
132
Member Avatar for mangesh5588

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 …

Member Avatar for srikanthkadem
0
321
Member Avatar for srpa01red

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 …

Member Avatar for saurav.prasad28
0
98
Member Avatar for VernonDozier

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 …

Member Avatar for Inverse
0
97
Member Avatar for epan

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 …

Member Avatar for ArkM
0
75
Member Avatar for tillaart36

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, …

Member Avatar for tillaart36
0
247
Member Avatar for lolodede

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"> …

Member Avatar for ~s.o.s~
0
376
Member Avatar for EJM

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 …

Member Avatar for ~s.o.s~
0
106
Member Avatar for jeoff

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.

Member Avatar for peter_budo
0
159
Member Avatar for lalapengi

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 …

Member Avatar for ~s.o.s~
0
87
Member Avatar for LindseyV

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 …

Member Avatar for sudeep123
0
93
Member Avatar for bored4

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 …

0
80
Member Avatar for delifion

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 …

Member Avatar for Gerlan
0
488
Member Avatar for curtissumpter

[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 …

Member Avatar for curtissumpter
0
586
Member Avatar for santhanalakshmi

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 …

Member Avatar for santhanalakshmi
0
72
Member Avatar for kritro

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 …

Member Avatar for kritro
0
101
Member Avatar for xila

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=""; // …

Member Avatar for nav33n
0
129
Member Avatar for dude1

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

Member Avatar for nav33n
0
99
Member Avatar for baudday

[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 …

Member Avatar for nav33n
0
716
Member Avatar for silverflashh

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 …

Member Avatar for shadwickman
0
94
Member Avatar for mikey123

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 …

Member Avatar for mikey123
0
111

The End.