199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for nyuszi

Hi i need a little help. i want to read a multi array from a file but code blocks said a lots of error and i dont know whats the problem. can u help me? [ICODE]#include <iostream> #include <cstdlib> #include <math.h> #include <fstream> #include <sstream> using namespace std; int maxn=100; …

Member Avatar for nyuszi
0
260
Member Avatar for mohamed moamen

I'm create a program using java and MySql (jdbc) my problem where I'm start up the program in my customer computer , i must set up MySql program or not

Member Avatar for jwenting
0
146
Member Avatar for Despairy

i have an assigment to fork the main program to 4 sons each will sort an array in a different way [ICODE] for (sonID=0;sonID<4;sonID++) { status=fork(); if (status<0) error("Can't Fork!"); if (status==0) { checkFiles(argc,argv,&in,&out,sonID);// opening the files for use readFromFile(&nameList,&sizeOfList,&numOfStrings,in); sortArray(numOfStrings,&nameList,sonID); outputToFile(nameList,numOfStrings,out); //output the array to out file freeArray(sizeOfList,nameList); //freeing …

Member Avatar for Despairy
0
184
Member Avatar for oblo10

Hi. In my web site I have a jquery tab. When clicked a tab I want to show a div which writes loading [ <div class="loading"><p>Loading...</p></div> ] and hide it when the clicked tab content is shown. Is there a way to do this? Thanks. My code is below. <script> …

Member Avatar for stbuchok
0
752
Member Avatar for rotten69

Hi php geeks, I'm just looking for PHP exercise online. If anyone knows websites that offer hands-on PHP exercise, Please send me a link or something that redirects me to useful exercises. Your help will be appreciated. Cheers,

Member Avatar for rotten69
0
213
Member Avatar for shamsidah

hye everyone..i just want to share my problem using php..:$ i have data for field [B]total[/B] i.e total = (2,3,4,5,62,45,67,89,10,23,11,23,98,12) from all data i want 5 max values only. please help me to meet the solution.:)

Member Avatar for rotten69
0
105
Member Avatar for rhn94

I looked around quite a bit on how to solve this but i couldn't find a lot .. can anyone help me? The capitalized variables are constants [CODE] case '4': { bubbleSort(aList); string strKey; cout << " Input: "; cin >> strKey; binarySearch(aList, strKey); int binarySearchResult = binarySearch(aList, strKey); if …

Member Avatar for rhn94
0
260
Member Avatar for gravitywell

Hey, I dont know much about macros or about scripting, but I've got a project to do for work and I looked up some codes and spliced them togeather to fit my specific purpose. I'm pulling pictures out of folders and sticking them in an excel file. You'll understand what …

Member Avatar for AndreRet
0
121
Member Avatar for Yamadron

Hello This year I am taking OOP as a core course and I am starting with C#.. So my first code to accomplish is to make an array of information about different types of cars.. In a brief.. It consists of 2 forms, The first form is where the user …

Member Avatar for Fruit Alchemist
0
101
Member Avatar for sonakrish

Hi thr, I'm trying to host a web application from netbeans. I've added app engine server. but i could not start it. can any one give me an idea for it. it is giving me some class path error what should i do now?

Member Avatar for peter_budo
0
95
Member Avatar for Jazerix

Hey there :) So, I'm making a small program for my school, and I need to get the names of the printers on the network. If you go to the control panel in windows, it can list the printers on the network, but how would I do that in my …

Member Avatar for Jazerix
0
127
Member Avatar for Unsated

Working on a simple banking program and it doesn't compile. Worked perfectly when everything was in main, then i was told to divide into methods( where everything went wrong ). The errors im getting are: C:\Users\DJ3\Desktop\School\Minilab5.java:30: illegal start of expression } ^ C:\Users\DJ3\Desktop\School\Minilab5.java:67: illegal start of type switch (userChoice) ^ …

Member Avatar for Unsated
0
425
Member Avatar for TehCPP

Hello everyone, i thought of this question and i would greatly appreciate some pointers on it. I have 2 simple Java Projects which are GUI based. One writes some information to a text file. The other reads the text field and displays it on the GUI. My question: Is it …

Member Avatar for TehCPP
0
171
Member Avatar for shamsidah

[U]Table's name: grandTotal[/U] (have two fields :defect_code and total) defect_code total LM 23 FM 15 DF 5 How this data can be an array like this array("LM" >=23, "FM">=15,"DF">=5) using query? please help me..:S

Member Avatar for shamsidah
0
121
Member Avatar for mundvawala

Hi, I want to append the content of an already defined "old div" tag to the "new div" tag dynamically but as I'm new to javascript i don't have any idea that how to do this. The code i tried is attached below. And one more question, how to remove …

Member Avatar for niranga
0
223
Member Avatar for walid86

Situation: i have a bitmap loadedImage1 which the user is able to resize, and move around inside picturebox1. objective: this loadedImage1 is then to be added to a pdf document (which is working) but needs to be using the current size and location(as the user can move it around) atm: …

Member Avatar for walid86
0
204
Member Avatar for smallrubberfeet

Hello all, I'm having a bit of trouble logically figuring out what to do in this case for my cs150 class. I have to create a linked list from a while loop, but I can't figure out how to link the list successively at the end of each line so …

Member Avatar for Clinton Portis
0
2K
Member Avatar for minghags

Hello! I just made an program, but now i have problem with sorting output in the asc. order (int datum) thats date in our language :) [CODE] #include <iostream.h> #include <stdlib.h> struct datum { char dan [32]; char mesec [13]; char leto [5]; void vnosDatum(); void izpisDatum(); }; void datum::vnosDatum() …

0
118
Member Avatar for mandible

I just want to create a file where I can test code idea's in. Basically I want to save a test.jsp file to my file system then open that up with a browser and have it execute the jsp code contained. Is that possible? Here's a simple test that I'm …

Member Avatar for Sadun89
0
233
Member Avatar for vedro-compota

hi there) guys, please tell me - is it any way to make associative array in php without assignment values to the arrays elements? in my situation i need to read indexes names from txt-file -so i can't immediatly give them values.....what will you advice in this situation? Is there …

Member Avatar for cereal
0
96
Member Avatar for AODfan

Ok, so I am working a project where one of the last parts is to have a hidden field in the form to pass the product id with everything else in the url parameters. As of right now I have it setup to grab product info for an external file …

Member Avatar for urtrivedi
0
311
Member Avatar for Oneryavuz

I want to open some files using my program. and I decided to use a shell command. but when i use shell it gives "file not found error" for example Shell("C:\Documents and Settings\ÖnerYavuz\Desktop\aa.txt") ==> it gives error but Shell("C:\Documents and Settings\ÖnerYavuz\Desktop\warkey.exe")==> its work and i thought it opens only exes. …

Member Avatar for sujimon
0
1K
Member Avatar for nfaezah

i try to run this code but it returned this error : Parse error: syntax error, unexpected T_STRING in C:\xampp\htdocs\removeproducts.php on line 31 could u please help me........ <html> <head> <title>removeproducts</title> <meta http.equiv="Content-Type" content="text/html; charset=iso-8859-5"> </head> <body bgcolor="#FFFFFF" text="#000000"> <p>&nbsp;</p> <table width="37%" border="0" align="center" cellpadding="0" cellspacing="0" height="66"> <tr> <td bgcolor="#000000" …

Member Avatar for pritaeas
0
77
Member Avatar for poojavb

Hello Friends, I need a hint to auto complete the combobox. I have two table SpeciesMaster and BreedMaster (Access Database) In the java code on the action Listener of the Species combo Box the breed details gets populated in the breed combobox. But now I want to filter the breed …

Member Avatar for poojavb
0
1K
Member Avatar for rpv_sen

Hi friends i am having n number check box, if i checked one check box it has to select all the similar values of the check box and the other check box should be disable. can any one help me to solve the issue i am having a java script …

Member Avatar for rpv_sen
0
202
Member Avatar for jefgreen

I have a couple of questions, regarding my program: ----------------------------------------------------------- #1: Is it possible to have my table centered? The table is located towards the bottom of my console output and, as you can see, the data is sort of off center. #2: Instead of having the user input five …

Member Avatar for vijayan121
0
157
Member Avatar for skunkmedia

Hello all, First and foremost I would like to thank anyone who will end up contributing to this thread. I'm relatively new to PHP/MySQL and did a site migration for a client to a different server. The website was working perfectly fine before, however now I am getting these errors. …

Member Avatar for simplypixie
0
304
Member Avatar for thenewbiecoder

[CODE]class Fraction { public: Fraction(); Fraction(int numerator, int denominator); void divide(int& num, int& denom) const; void multiply(int& num, int& denom) const; void add(int& num, int& denom) const; void substract(int& num, int& denom) const; int getNum() const; int getDenom() const; bool operator > (const Fraction& otherFraction) const; bool operator < (const …

Member Avatar for vijayan121
0
3K
Member Avatar for libathos

Is there any way that i can create a gui which contains an excel diagram sheet?not a jtable..

Member Avatar for peter_budo
0
100
Member Avatar for jithusdani

hi freinds,, In my application i have to send email to a specified email, I have done this and its working fine , Now I want to send some word attachment in the same email id. The word attachment will select the user through the application as browse option just …

Member Avatar for dean8710
0
167
Member Avatar for terence193

I am trying to create a program that creates a loop to enter different values in an array. but the program is skipping values of i. I can't understand why.. [CODE] #include<stdio.h> int main (void) { char s[10]; int i; for (i=1;i<=10;i++) { printf("enter %d'th value of the array 's'\n",i); …

Member Avatar for ashlock
0
98
Member Avatar for abathurst

Hello, I am having trouble inserting data from a XML file into a table in a SQL data base. The worst thing is it isn't coming up with an error but nothing is being inserted into the database Here is the condensed version of the XML code I am using …

Member Avatar for abathurst
0
2K
Member Avatar for Mrinal1991

I have one field of the student in database and I have to pass two rules in it i.e Classes 1-9 will only have 1 book for 1 week and Classes 10-12 will have 2 books for 2 weeks. How can I do that?

Member Avatar for lolafuertes
0
150
Member Avatar for bradz1993

On my form I've got a picturebox, radio buttons and check boxes. The check boxes relates to a Square/triangle, in which a square/triangle will be displayed on the picturebox. And the radio boxes relate to rectangle/circle which are displayed when either radio button is selected. I have been told to …

Member Avatar for lolafuertes
0
100
Member Avatar for cka91405

Im still learning C and I have a few questions about making a array of strings. Im doing an assignment for school, and I'm a little stuck with my program. Here is my code so far: [CODE] #include <stdio.h> #include <stdlib.h> int main(int argc, char *argv[]){ FILE* fin; int a; …

Member Avatar for teo236
0
381
Member Avatar for Aardwolf

I don't know how to do this for Javascript, but I can explain in PHP as I have further experience in it. maybe someone can translate. A textbox's value is "username", and it needs a onclick javascript code that makes it 'this.value = ""' When users click the textbox that …

Member Avatar for Aardwolf
0
403
Member Avatar for smallrubberfeet

Hello, I need to sort the following by ID as I enter them into a linked list by while loop. So far I can build through the list, but I'm not sure how to sort by ID as they are entered: Albert 1000 55.5 150 Babs 3000 60 110 Freida …

Member Avatar for mazzica1
0
131
Member Avatar for Nithya.G
Member Avatar for crishlay
0
187
Member Avatar for abathurst

What I am trying to do is have a user enter a word into a text box and retrieve the information from a SQL database where the 'entered word' eqauls that a column. I have this working perfectly but now I would like the user to be able to enter …

Member Avatar for abathurst
0
248
Member Avatar for happyhound

Objective: User enters a score then clicks Add button. Everytime Add button is clicked a Score is added to previous score to display total, averaged,counter. Issue: I enter first scores then click add. The first score displays but the second score overwrites the first. It is not accumulating. I believe …

Member Avatar for happyhound
0
200
Member Avatar for jfunchio

I have the registration form and everything seems to work good except when I try to insert the data into the table from the query in the php code. It will submit, but when i check the database the data is not in there. I tried multiple ways, but none …

Member Avatar for jfunchio
0
882
Member Avatar for narekm

Hello there. I am sooo despared since I cant make this work here is what I have in my logged_in.php file. <html> <?php echo "Welcome: "."<b>".$_SESSION["username"]."<b/>"; ?> <head> <div id="ajax"></div> <script type="text/javascript"> function createXMLHttpRequest(){ var XMLHttpRequestObject=false; if(window.XMLHttpRequest) { XMLHttpRequestObject=new XMLHttpRequest(); return XMLHttpRequestObject; } // else{ if(window.ActiveXObject) { XMLHttpRequestObject=ActiveXObject("Microsoft.XMLHTTP"); return XMLHttpRequestObject; …

Member Avatar for jmichae3
0
247
Member Avatar for coroshea

This has really been frustrating me for hours. I have included useful comments in the program. All the descent examples i've come across were using char instead of string. :icon_cry: [CODE]#include <iostream> #include <string> using namespace std; class Celeb { private: string name; //Name of celebrity folowed by decade they …

Member Avatar for coroshea
0
281
Member Avatar for ebanbury

Hi I have a php page, in which I would like users to be able to 'renew' a product by clicking on a button 'renew' There are no form fields to post though, as information is just shown to the user via a recordset. So basically they see their product …

Member Avatar for jmichae3
0
135
Member Avatar for bawbawbiscuit

I searched all over the net trying to find the reason behind why numbers are illegal as first characters in naming identifiers in C++, they say its illegal but they don't say why its illegal Id be glad if someone could tell me why :) , just curious

Member Avatar for bawbawbiscuit
0
155
Member Avatar for dannyc116

I am trying to use C++ (in Visual Studio 2008) to create a program that I first made using Visual Logic. The program is supposed to check the users input with an external text file. The external text file just has the username's and passwords... https://sites.google.com/site/sharearea404/ I tried using arrays …

Member Avatar for Clinton Portis
0
7K
Member Avatar for JamesPublic

I'm trying to use the Fb PHP SDK to execute different Js document.getElementById innerHTML functions, depending on whether the user is logged in to Fb or not. For some reason the function won't work for me. I know my API connection is successful, and Javascript can be inserted here, as …

Member Avatar for jmichae3
0
218
Member Avatar for Ingska

Hi! I have some forms that i have used to send to my e-mail using the php mail() function. I have had som issues with it because the mailservice i am using is not on the same server as the domain, so now i am forced to change the way …

Member Avatar for NameSet
0
230
Member Avatar for london-G

I need help understanding the following Machine A runs a program in 10s at 400MHZ We want machineB to run the same program in 6s. Machine B will require 1.2 * clock cycle than machine A. Why is it 1.2? I can't figure it out.

Member Avatar for griswolf
0
71
Member Avatar for mmxvoid

[CODE]import java.util.Scanner; public class Sales { private String salespersonName; public Sales( String name ) { salespersonName = name; } public void setSalesPersonName( String name ) { salespersonName = name; } public String getSalesPersonName() { return salespersonName; } public void displayMessage() { System.out.printf( "Welcome to the sales calculator for\n%s\n\n", getSalesPersonName() ); …

Member Avatar for mmxvoid
0
215

The End.