199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for leftovas17

Yes, I have looked in the forums for answers and have found plenty, and am asking about what I could not find. And yes, this is homework, but I need help and my professor has not responded thus far... now on to business. Description of Goal: Make a Set Data …

Member Avatar for leftovas17
0
497
Member Avatar for FrancisLazo

Hey there guys I need your help as I do not fully understand the program source code below. This program will multiply two numbers without using the multiplication sign (*). I am confused with the highlighted part, the for loop part. Here it is: [CODE]#include <iostream> #include <string> using namespace …

Member Avatar for FrancisLazo
0
157
Member Avatar for alonewolf23

[CODE]//Created by //Ticket Reservation System of 5 first class and 5 economy tickets import java.util.Scanner; public class Planeticket { public static void main(String args[]) { boolean EconArray[] = new boolean[5]; // boolean array with 5 elements boolean FirstArray[] = new boolean[5]; Scanner input = new Scanner(System.in); int value; for(int i …

Member Avatar for alonewolf23
0
1K
Member Avatar for e-papa

This is a program that can calculate, the GPA of a student on a 5.0 scale,it's written in python 3.x and no modules are required.

Member Avatar for TrustyTony
0
6K
Member Avatar for salmap

Hi, I have two grid views dg1 and dg2 dg1 --------------- Qty ------------- 1 2 3 dg2 -------- Price -------- 1 2 3 I want to display the sum of qty*price in textbox ie, textbox should display the result 14(1*1+2*2+3*3). Please it's urgent.

Member Avatar for salmap
0
130
Member Avatar for shack99

Hey everyone, I've got a problem. Say I've got two xml files, a student file and a class file. The class file displays all the students in a class; eg- [CODE] <Class> <Student> a </Student> <Student> b </Student> <Student> c </Student> </Class> [/CODE] And the student file stores the details …

Member Avatar for ddanbe
0
113
Member Avatar for leo88

hi,I work using window form C#, my problem is as below: output += myArray1[prune]; string ipt = null; while ((ipt=re.ReadLine()) != null) { string ListSplitLineByLine1 = ""; String[] SplitItemLineByLine2 = (ipt).Split(new string[] { "\n\r\t", " " }, StringSplitOptions.None); foreach (string lineByLine1 in SplitItemLineByLine2) { ListSplitLineByLine1 += "\r\n" + lineByLine1; } …

Member Avatar for Mitja Bonca
0
2K
Member Avatar for rbduck09

Can someone either explain this or give me an example of what it is asking for. Heres my code if you need it In the attached picture [CODE] /////////////////////////////////////////////////////////////////////////////// // // Name: GCD.cpp // Author: Jeffrey A. Stone // Course: CMPSC 101/121 // Purpose: Computes the GCD of two integers. …

Member Avatar for WaltP
0
141
Member Avatar for chalasesha

hi friends i want to develop a site which uses the google search results and modifies them on some conditions. now i need to know which API to use to get google search response. is there any way to get XML/JSON response from the google for user search. please guide …

Member Avatar for edith135
0
105
Member Avatar for tricket_7

I am working on a rainfall program that will ask the user to enter the total rainfall for each month, then will calculate the total rainfall for the year, the average monthly rainfall and is supposed to display the month names for the highest and lowest month. I have everything …

Member Avatar for tricket_7
0
653
Member Avatar for Kath_Fish

Hey....I face some problem in counting the repeated times of items...hope somebody can helps me.. For example: I have a list of data that store in string array 1 2 1 2 3 1 2 3 2 2 3 4 2 4 5 2 3 ......... (maybe have different numbers) …

Member Avatar for Mitja Bonca
0
134
Member Avatar for sidnei

Hey, guys (and girls...)! I'm in trouble with (like it seems to me) a little bug on Hierarchical FlexGrid control... Let me explain: I want to merge some content between cells. I made it many times before, but in the FlexGrid control, not the Hierarchical Flexgrid conrol - for sure, …

0
234
Member Avatar for woody0114

Having trouble stopping my do,while loop. It asks the right questions, and I thought I had the right qualifier, while blah>0, do such and such, but it continues in the loop and keeps asking the questions Here's what i've got: cout<<"Now let's subtract the door and window area."<<"How many doors …

Member Avatar for woody0114
0
96
Member Avatar for zeeshan_kust

Hello all, i have two arrays i.e [CODE]$ar1=array("Mobile","shop","software","hardware");[/CODE] and [CODE]$arr2=arry("shop","Mobile","shop","software","shop")[/CODE] i want to compare the elements of arr2 to arr1 i.e [CODE]foreach($arr2 as $val) { if(in_array($val, $arr1)) { //mycode to insert data into mysql table variable++; // here there should be a variable that must be increamented when ever match …

Member Avatar for kekkaishi
0
162
Member Avatar for Jaseem Ahmed

i am having some problem in navigating records... when i am moving any record next, it moves record by record nect,and also it moves previous,but when i either press last or first, then these both next and previous button do not work.. here is a code. [CODE] Private Sub movefirst1_Click()'it …

Member Avatar for Jaseem Ahmed
0
1K
Member Avatar for begueradj

Hi people, I get an error when performing the following request: [CODE] $query=" SELECT * FROM vessel,cargo,customer ORDER BY ladate DESC WHERE vessel.id=cargo.id AND vessel.id=customer.id LIMIT $eu, $limit";[/CODE] it is about the ORDER BY ladate DESC Can you you show me where I should write ORDER BY in the correct …

Member Avatar for begueradj
0
115
Member Avatar for tokenjoker187

I am having trouble making a Windows Form Application. I want to proceed to a second form while closing the first (Going from Main menu to Level 1) but I cant seem to figure out why after the 2nd form loads, both forms close out. Here is the code I …

Member Avatar for vivekagrawal
0
104
Member Avatar for Amillia89

Hai, I just want to ask, How to run java program without opening the code? I mean when we click on an icon, the program will automatically run... Thank you.

Member Avatar for Amillia89
0
203
Member Avatar for flowerpixie

I am using darkGDK to complete an asignment where I am to create a sprite with a moon background and to make a rocket ship move up with the spacebar pressed and come back down agian when it is released. I can't figure out what I don't have in my …

Member Avatar for chrjs
0
267
Member Avatar for slygoth

Im writing a code to generate invoice numbers. Im using a file now that increment to number each time but i was just wondering if there is a way to use time so that it can generate a invoice using time or date. Like the first 4 digit would give …

Member Avatar for fpsasm
0
168
Member Avatar for lsvife

I am trying to connect myphpadmin.. when i use 'localhost' i can connect easily to myphpadmin but when i replace localhost to my ip address i got an error it says Forbidden You don't have permission to access /phpmyadmin/ on this server. I've already change the privileges but still i …

Member Avatar for lsvife
0
432
Member Avatar for doremon89

Can anyone help me show how to upload file into database which is ms access. The file can be document,picture or video..Anyone???

Member Avatar for doremon89
0
49
Member Avatar for chester1908

Hey all.I got a question about the use of action listeners.Actually its more about actionEvents.Anyway,my question is: Supposing i have a frame with four buttons,say "A","B","C","D". I want each time i press a different button something different to appear on TextField.I know i can make 4 different button subclasses,each with …

Member Avatar for chester1908
0
416
Member Avatar for Taibah

hi all I want to start now with C++ windows.h libary. I already know now the basics i only programmed in CMD command line programming now i want to program further are there some tutorials or something that i can go further i dont want to stay only at a …

Member Avatar for mytich
0
182
Member Avatar for jatri

I would like to match a pattern from the following data set and print the line containing that pattern plus the immediate next line. Say I am interested in matching the pattern- [B]FrNum: 1[/B]. If my program runs correctly for the following data set, the output should be : [I]GOP: …

Member Avatar for jatri
0
1K
Member Avatar for GlenRogers

Hi, I'm new to Java and programming. I have an assignment I'm trying to do and I'm pretty stumped on this question. I have a TreeMap where the keys are Strings (of musical artists) and the values are Lists (of artist name, album title, album genre and album year). I …

Member Avatar for JamesCherrill
0
588
Member Avatar for ukfreak

Hi i have been trying to get the results for the code below and i can't seem toget myself around it. I need to get the results according to the myKad and Student Name on How many times the student has answered Excellent, Satisfaction and Poor for each question, each …

Member Avatar for BitBlt
0
718
Member Avatar for brynFlew

I have some code that adds and removes rows from html tables, the problem is that it does not save the rows if the page is submitted or refreshed. I also cannot see the added attributes in the source(how can i use them)what their ids and names are, so i …

Member Avatar for brynFlew
0
105
Member Avatar for ashrafu1

hello i need to fix the problems in this program. can some one please fix them for me or give me a hint how to fix them cause i really do not know how to fix them. i also added the errors if you do not have C++ program at …

Member Avatar for Ancient Dragon
0
603
Member Avatar for zachattack05

Does anyone know if you can use the comparison operators like ==, >=, <=, >, < etc... on two different System.Version objects to detect different versions and in what direction (like which of the two is a newer version vs older?)

Member Avatar for zachattack05
0
80
Member Avatar for narendera22

Hi, Currently i have requirement to i have to connect C# applicaton to DB2. I dont know much about DB2 and i dont know how to connect this and which tool i need to use for this. please suggest me how to connect this and which type of tool i …

Member Avatar for Mitja Bonca
0
116
Member Avatar for woody0114

simple question that baffles me. attempting to get multiple data from a user, but cannot get the program to "wait" for the data. It spits out all the questions at once. here's what I have written //woody0114 #include <iostream> #include<cmath> using namespace std; double HSF(double ft_height, double ft_width, double s_height, …

Member Avatar for Derek Elensar
0
105
Member Avatar for Jaseem Ahmed

can u pass an idea... is this is possible to plus all that items(Integer) that are in listbox or listview... e.g a list box have 4 items... 1)-20 2)-40 3)-80 4)-100 is this possible to plus these items,??? items also can b infinite, depends upon user...i dont have any idea, …

Member Avatar for AndreRet
0
139
Member Avatar for ajinkya112

Hello people, I have an application that updates a table. In this application i have a combobox where i load id of record on form load. Let me paste my code to be more clear about my problem. [CODE] Private void comboBox1_SelectedIndexChanged(object sender, EventArgs e) { string q = "Select …

Member Avatar for Mitja Bonca
0
143
Member Avatar for yorro

Anyone can tell my why it keeps saving at My Documents? [CODE] $newfile = 'temp.xls'; $wkb->SaveAs($newfile); [/CODE] If I [B]echo[/B] $newfile, it will display 'http://localhost/test/excel/temps.xls' Its suppose to save it at same level right? wrong, it keeps saving at "My Documents" How is that possible? Thanks

Member Avatar for yorro
0
119
Member Avatar for kalaiselvi.v

i want to encrypt the password and store in the database. i extract character find ascii value of that and changed that value and stored in the database.but when i use this it wont have much security. can anyone help me for password encryption.i m using JSP+HTML

Member Avatar for meprasobh
0
1K
Member Avatar for sheylashy

I want to reverse and array of integer recursively, I think this is the way but I get this error when trying with a 5 integer array: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 5 at name.of.package.ArrayAscDesc.CambioAscDesc(ArrayAscDesc.java:12) at name.of.package.ArrayAscDesc.main(ArrayAscDesc.java:34) Here's the code: [code]import java.util.Scanner; public class ArrayAscDesc { public static int[] CambioAscDesc …

Member Avatar for JamesCherrill
0
414
Member Avatar for suvisoya

hi can anyone explain how to create ascending order datatable in asp.net without sorting method regards suresh.S

Member Avatar for suvisoya
0
60
Member Avatar for kokfui

hi all, im current doing a assignment, i looking for a solution for my problem, now i have a database to store my item information include item name,id,content,price. actually it is a bidding system, if someone bid on the item, the item id will stored into the buyer informatio, and …

Member Avatar for happytogether
0
124
Member Avatar for rupadiyabipin

I am getting the following error.................. [QUOTE]HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 9 in the generated java file Only a …

Member Avatar for javaAddict
0
586
Member Avatar for krii017

i wonder how can i make a search box like this. [ATTACH]20232[/ATTACH] [URL="http://www.youtube.com/watch?v=3cJinHSSkuI&feature=related"]http://www.youtube.com/watch?v=3cJinHSSkuI&feature=related[/URL] i tried to convert the code in the description but it didn't work haha

Member Avatar for krii017
0
160
Member Avatar for darshini.dayal

[code] <% if (this._arr_design.Count > 0) { %> <% foreach (Ameronix.Teeone.Models.Design obj_design in this._arr_design) { %> <tr> <td style="width: 254px; height: 27px;"><%= obj_design.name_design.ToString() %> <div class="thumbnails"> <% foreach (System.Collections.Generic.KeyValuePair<int, Ameronix.Teeone.Models.DesignSection> kvp in obj_design.arr_design_section) { %> <div class="thumbnail"><a href="/snapshots/processed/designs/<%= obj_design.id_design %>_<%= kvp.Value.id_design_section %>.jpg" rel="lightbox"><img src="../resources/get_image.aspx?src=/snapshots/processed/designs/<%= obj_design.id_design %>_<%= kvp.Value.id_design_section %>.jpg&width=50&height=50" /></a></div> C# …

0
108
Member Avatar for Weppies

Hi Can anyone help me. I need to display the username in the lable of the masterpage. But I also have to show the logo of the business of the user. How should I do this! Regards Weppies

Member Avatar for agileswaran
0
813
Member Avatar for shruwin

Hi, I have to insert data into a database table using jsp and jdbc, query the table data and convert it into an xml file. I am using NetBeans IDE. I'm really stuck and i have a project due. Please do help:'(. Thanks in advance.

Member Avatar for Dean_Grobler
0
266
Member Avatar for jogieglenmait

hey. i had a question regarding activating and making command buttons control visible in a form by manipulating it from another form. ex. form 2 command button will be activated by manipulating it in form 1. i had this syntax for form 1 cmdActivate [CODE] form2.cmdAdd.Enabled=false [/CODE] will form 2's …

Member Avatar for jogieglenmait
0
105
Member Avatar for serkan sendur

Copy a table from one database to another database in another ms sql server using sql server management studio : If your table was in the same ms sql server but in another database, you would copy it using t-sql like this : SELECT * INTO NewTable FROM existingdb.dbo.existingtable; However, …

Member Avatar for mrroad
0
843
Member Avatar for cyberbemon

hey guys i came across a tutorial online that shows how to make a java media player using JMF..the problem is when i run the program and open the file i get the following error..i googled this and found no help can anyone please tell me whats wrong ? T_T …

Member Avatar for cyberbemon
0
950
Member Avatar for SWEngineer

0 down vote favorite I'm new to Qt, and trying to compile and run this Qt program I typed from the [I]Programming with Qt[/I] book: [CODE]#include <qapplication.h> #include <qlabel.h> int main(int argc, char *argv[]) { QApplication myapp(argc, argv); QLabel *mylabel = new QLabel("Hello",0); mylabel->resize(120,30); myapp.setMainWidget(mylabel); mylabel->show(); return myapp.exec(); }[/CODE] When …

Member Avatar for jonsca
0
280
Member Avatar for turt2live

Hello, I was wondering if there is some sort of Java code that can get information from a webite ONLY when it needs to. To better explain (by using an example) let's say I have a slow webpage (minimal traffic) where a user clicks a button and Java opens my …

Member Avatar for turt2live
0
249
Member Avatar for fuaki

Hey, I made this code with the bits and pieces of knowledge i have, but i don't know how to convert it into a while loop. it is currently in a for loop. the program counts how many certain letters there are in a sentence/ word. String word; String letter; …

Member Avatar for turt2live
0
182

The End.