199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for vampke

Hi guys, I'm stuck at this query I'm writing. I'm hoping someone will be able to help me. I have 2 linked tables: subjects and visits with a relationship on subject_id: table subjects: Subject_id, name, birthdate table visits: Visit_id, Subject_id, parameter1, parameter2 Now I need to query that will get …

Member Avatar for vampke
0
104
Member Avatar for khusani

Hi all, I am new to image processing :rolleyes: . what i want to do is read the header section of an image of any type (jpg,bmp,gif ...etc) and show it on the screen. then save the header in a text file and the new image (without the header in …

Member Avatar for thazel
0
119
Member Avatar for csharplearner

Hi, I want user to record his voice and save it in website. I could not figure out how the connection can be established between microphone on user pc and website. I have googled enough but could not find any useful leads. Anyone who has some knowledge over it please …

Member Avatar for csharplearner
0
111
Member Avatar for smsamrc

can anyone please tell me a way to calculate any given factorial number using trees.

Member Avatar for smsamrc
0
72
Member Avatar for Boudou

In the following program, implement the function a. int *biggest(int *a, int count); This finds the largest element in an array of integers. #include <stdio.h> #define SIZE 16 int* biggest(int *a, int count); int main(void) { int values[16] = { 47, 17, 38, 91, 33, 24, 99, 35, 42, 10, …

Member Avatar for khusroo
0
136
Member Avatar for funkyfresh

Before I explain what I mean in the title, I want to say that I 1) Have very little experience with python, so take anything I say with that in mind. I've only read about it, haven't really used it (although I have installed it), 2) I [B]want[/B] to learn …

Member Avatar for jlm699
0
139
Member Avatar for Reprise

I tried searching the forum, but I couldn't find any threads that really dealt with what I'm trying to do here. I have a struct set up with three fields (shown below). [code] struct StudentInfo { char id[10]; double mark; char grade; }; [/code] [I]Note that the id MUST be …

Member Avatar for Reprise
0
1K
Member Avatar for aashishn86

[code] <html> <head> <script type="text/javascript"> var flag=0; callf() { if(flag == 0) { test() { alert("hi from if"); } } else { alert("hi from else"); } } </script> </head> <body> <input type="text" onchange="callf();"> </body> </html> [/code] what's wrong with this code ?? nothing happens when i type into the text …

Member Avatar for aashishn86
0
118
Member Avatar for shadiadiph

I am having problems with this form it has two submit options a button and an onchange instance the onchange just will not work can any one tell me why? my doc type is [code] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> [/code] the form …

Member Avatar for shadiadiph
0
95
Member Avatar for rahul8590

hi everyone , i am trying to access image files in java and then want to modify those bits present in the image . is there any standard package or utility which would help me to do that ...? i would be glad if you could enlighten me with other …

Member Avatar for kvprajapati
0
115
Member Avatar for jsully1

Can anyone suggest any resources that could help me learn Java GUI creation? I have been working on a lab assignment where we need to copy the Google Kitchen Sink example and my biggest problem has been layout issues, whether I code by hand or use the IDE although I …

Member Avatar for jsully1
0
104
Member Avatar for ADVAD

Hi My following php code keeps giving me Undefined Offset errors: The code is: [code] <table border="1"> <tr> <th>Tile </th> <th> Email</th> <th> Publication No. </th> <th> Submitted By: First Name </th> <th> Submitted By: Last Name </th> <th> File Name </th> </tr> <tr> <?php if(!($lines=file('publication.txt'))) {echo 'Error:Unable to open …

Member Avatar for ADVAD
0
142
Member Avatar for dev18

[code=java] public static void setValues(PreparedStatement statement, Object... values) throws SQLException { for(int i = 0; i < values.length; i++) { if(values[i] instanceof Integer) { int value = (Integer) values[i]; statement.setInt(i, value); } else if(values[i] instanceof String) { String value = (String) values[i]; statement.setString(i, value); } } } public static ResultSet …

Member Avatar for dev18
0
2K
Member Avatar for sandhya_r

hi, i am useing the netbeans for the first time n i am trying to connect to a MS Access DB through the wizard but i am not able to. I entered for a DSNless connection: Name:JDBC-ODBC Bridge. Driver: sun.jdbc.odbc.JdbcOdbcDriver Database URL: jdbc:odbc: Driver={Microsoft Access Driver (.*mdb)};dbq=C:\Users\Vamsi\Documents\PIN.mdb; the issue its …

Member Avatar for kvprajapati
0
137
Member Avatar for bigN

Hi, I have a question about UI design in NET. I am creating a scientific application with C# and VS2008. Currently I am using a tab control were till now I have 3 level tab depth (eg tab inside tab etc) which is not very convenient, nor user friendly. I …

Member Avatar for ddanbe
0
431
Member Avatar for vidhyaponnusamy

Hi, I am retrieving the below values from the table and use the values in drop down box in php,i don't want to retrieve [B]"All"[/B] value from the table,i tried with except keyword queries, but i din't got the value,please help me out 01 Dean 02 HOD 03 Students 04 …

Member Avatar for vidhyaponnusamy
0
83
Member Avatar for Lexter25

Can you tell me how to resolve my problem. i can reserve the matrix A and B into file, but how to read , i can't remember...above, shows what i pretend to do.. # include <iostream> # include <fstream> using namespace std; int main() { int matriz[3][3]; int x,i,j;//variables for …

Member Avatar for WaltP
0
289
Member Avatar for arumugam4all
Member Avatar for peter_budo
0
283
Member Avatar for ticallian

I'm trying to create an array to display the last 5 products a customer has viewed. The array is a 2 dimensional array like below... $RView= array( array( ID => "1001", RefCode => "Ref_01", Name => "Name_01" ), ... array( ID => "1005", RefCode => "Ref_05", Name => "Name_05" ) …

Member Avatar for ticallian
0
196
Member Avatar for grandalf62

I would very much appreciate any advice on this. I am reading a single byte from the serial port and wanting to store up to a hundred of these. Essentially I need to check incoming data to see if the value of it has been sent previously. These are my …

Member Avatar for jephthah
0
89
Member Avatar for grisha83

Hello, I am working on the problem of creating an abstract class Shape also with Package shape and then creating a subclasses Circle, Square and etc. I belive, i don't have a complete understanding of an abstract. Anyways i keep getting an error: " Shape.Circle is not abstract and does …

Member Avatar for grisha83
0
163
Member Avatar for swargy

[CODE]private void menuButtonActionPerformed(java.awt.event.ActionEvent evt) { panel1.setVisible(false); startMenu.setVisible(true); img = new ImageIcon("DeathRun.png"); Graphics g = startMenu.getGraphics(); img.paintIcon(null, g, 0, 0); } [/CODE] The code is very simple for this method but here is my problem. I have a menu that I want to display an image behind. When I hit the …

Member Avatar for swargy
0
101
Member Avatar for kinger29

I have a java applet on my website and i need it to connect to my mysql database. When I was trying to figure out how to do this i saw several examples that used jdbc. I'm confused can I use this to connect to my mysql data base at …

Member Avatar for kvprajapati
0
128
Member Avatar for sanatkumar

Hi all, I have a java program which runs repeatedly by calling to main functions in a loop based on a condition ..But after running for some time(say 30 minutes),it shows the follwing error and it terminate the program execution.But as per my requirement i want to run this program …

Member Avatar for kvprajapati
0
105
Member Avatar for udeep.kansal

i want to retrieve 2nd row of a column from datareader object... i want to show 1st row value of datareader..... if seattype_code == "00", 2nd row value if seattype_code == "01"...and so on..... what method shud i use for dr..as it is not working that i tried..? dr = …

Member Avatar for kvprajapati
0
640
Member Avatar for bmcutler011

[code]#include<iostream> #include<fstream> #include"d_nodel.h" using namespace std; void merge(dnode<double> *, dnode<double> *); //free function to merge the two lists int main() { dnode<double> *listA = new dnode<double>; dnode<double> *listB = new dnode<double>; double sz1, sz2; int val1; //first set of integers int val2; //second set of integers ifstream inFile; //declares the …

Member Avatar for nmaillet
0
244
Member Avatar for power_computer

Ive used the search function just found one thing I needed more detailed help I need to a read file of float numbers no more than 100 numbers but can be less than 100 into an array I have made sample file contain 1 2 3 I have the following …

Member Avatar for power_computer
0
98
Member Avatar for ElWape

If I have a class that has a vector as a private member, a get function to access the vector, and I iterator over the vector, the iteration only works correctly if I make a new copy of the vector: [code] class MyClass { public: typedef vector<int> Vector; MyClass(); ~MyClass() …

Member Avatar for Ancient Dragon
0
143
Member Avatar for OffTheLeft

Hi all, I am in need of some assistance with addresses & pointers as my dysfunctional professor is of no help. (I'll be as succinct as possible.) First, the program must call three subroutines from main to fill "n" array elements with a given value; for instance, one must set …

Member Avatar for OffTheLeft
0
105
Member Avatar for applebiz89

What I need to do is build a type of database. Firstly have a few questions, whether what I have done it right...and how to do something else. This is my algebraic type for the database (correct me if its wrong) data Film = Film String String Int String with …

Member Avatar for thoughtcoder
0
116
Member Avatar for Giffordw

Should I be able to use VB6 to read/write an Access 2002 db, where the executable is running on Win98 SE?? I've resolved the oleaut32.dll version issue and reference DAO 3.6 but still get "unrecognized database format" if I reference a 2002 db.

Member Avatar for abu taher
0
73
Member Avatar for scuzzo

I have everything almost done, the only problem I have is that I can't seem to get the linked list to advance when the terms start out with different exponents and instead of just printing the results I will tie them into a third list. Can you see what I'm …

Member Avatar for NathanOliver
0
108
Member Avatar for ihatehippies

I'm working on a simple update function to add to an existing program. It does a stat check of the source file and then copies the new file if necessary. This is easily accomplished with .py files. I've realized that I need a separate update app to delete a currently …

Member Avatar for ihatehippies
0
88
Member Avatar for csharplearner

Hello all, I work on MySQL and i have knowledge about it. I have no idea of what Apache is? I googled and came to know just like MySQL it is also a Web Server and nothing more about it. When people ask me if i have experience with Apache?! …

Member Avatar for csharplearner
0
274
Member Avatar for vksmaini

Write a program to implement a survey that prompts respondents to enter an integral value within a specified range to indicate how they like a new product. Since the program must be adaptable to any arbitrary number of respondents and value ranges, define macro MAX_RESPONDENTS to represent the maximum number …

Member Avatar for rishabjain
0
318
Member Avatar for andyT

Hello, I'm trying to get the STL equal_range function to work on a data structure I've designed, but I may be trying to use the equal_range function in a non-standard way. Is there a way to get this to work? Basically, I have a vector of vectors of structures (elements) …

Member Avatar for andyT
0
190
Member Avatar for apgriffiths

I have some code that adds records to a database but it is quite common for there to be a lot of duplicate records. I am trying to write some code that will remove the duplicate rows in the database table. I am using table adapters for this task, i …

Member Avatar for ndeniche
0
124
Member Avatar for HB25

Hi I am designing a database for a local garage which sales and repair cars, I have come up with attached ERD diagram could anyone give me any advice on it and let me know if there is something wrong with it. Thanks for your help. Kind Regards HB 25

Member Avatar for HB25
0
2K
Member Avatar for JamesCherrill

OK, I'm obviously going bonkers here, but has something happened to the java code tags? Why doesn't this work in preview mode? [CODE=java] i++; [/CODE]

Member Avatar for JamesCherrill
0
157
Member Avatar for Sky Diploma

Here i have to define a function which will reverse a c-styled string. I have made 2 functions one using dynamic memory and the other not using dynamic memory. I would like to know of any improvements that can be made in the code. I would also like you to …

Member Avatar for tux4life
0
138
Member Avatar for agentx

hey...! we were given this assignment to make a game in c++ using pointer, classes, structures etc! we were also asked to introduce graphics in the game to get bonus marks! i've coded the game but the problem is that i have no cluee watsoever how to introduce graphics in …

Member Avatar for RayvenHawk
0
111
Member Avatar for DealthRune

I made this JavaScript that password protects a page. But the password you type in is completely visible! I want it so that the password are those black dots for each letter.... If anybody gots anything, please post it here, thx. Oh yea, here is the script [icode]<HTML> <BODY> <SCRIPT> …

Member Avatar for ShawnCplus
0
131
Member Avatar for asian_al

I have been working on this code for some time now. It is a basic graphics package. When the user clicks the draw button I need to create a chape based upon the user's input and put the shape into an array of shape references (up to 10). I attempted …

Member Avatar for JamesCherrill
0
184
Member Avatar for curtissumpter

Hi, There is too much space between the Organized in / Pioneered by text and the Text Input Areas. How do you shrink this amount of space? [code=html] <html> <head> <title>Prefecture History and Facts</title></head> <body><h1>Prefecture History / Facts</h1><hr> <table> <tr> <td>4th Prefecture of New York State, U.S.A. </td> <tr> <td …

Member Avatar for daggerpound
0
105
Member Avatar for starsinthesky

hi, i have a hard time testing my PHP mail() function in the localhost. can you teach me? it's my first time to use this mail() function. this is my PHP code in the file: contact.php [code] <?php $email_to = $_REQUEST['email_to']; $subject = "Re: FAQ Suggestion"; $email = "d26thletter@yahoo.com"; $message …

Member Avatar for nhocikaka
0
2K
Member Avatar for DaveD3

I am just starting to work with Visual C++ Express 2008 and have run into a situtation I could use help with. To add a new data source to a project I am told to start the data source configuration wizard, this I can do. Next I am to select …

Member Avatar for DaveD3
0
135
Member Avatar for skisky

I take one look at this project, define my structure.....and my brain goes numb. I don't know where to star..... ///////project/////// Write a program that dynamically allocates an array large enough to hold a user defined number of structures (string name and three double tests). Using a function, the user …

Member Avatar for Absaar
0
156
Member Avatar for BruenorBH

I want a user to be able to select an audio file to play but am unable to figure out how to create a file open dialog box in Win32 API. I could create one from scratch but am hoping that there is an easier way than manually creating it. …

Member Avatar for BruenorBH
0
168
Member Avatar for Prahaai

Hi. I am working on a little program that will be able to open files and read them. The problem is that i CANNOT tell the user to manually type the directory and the name of the file ! It would be madness. So i need to use GetOpenFileName dialog... …

Member Avatar for Alexander22
0
2K
Member Avatar for LucyB

int sum=0, a=0, b=0; for (a=1;a<3;a++) for (b=1;b<5;b++) sum+=b; cout <<"sum =" <<sum; The answer is 20, sure, but I have'nt got my head around how it actually works. Could someone explain it step by step please?

Member Avatar for rahul8590
0
111

The End.