199,114 Archived Topics
Remove Filter ![]() | |
So I did the first part of my assisgnment like this * ** *** **** ***** ****** ******* ******** ********* using this code [CODE]public class starForTest { public static void main(String [] args) { for (int i=1; i<=9; i++) { System.out.println(); for (int j=9; j>=i; j--) { System.out.print(" "); } … | |
Hi, does anyone knows why after exposing my web service and it works(displaying all my data), why another pc can't seem to get access to my data after keying in my port no of my service? Must i type anything in the web.config or ? | |
Hi, I want to create a matrix containing 20 rows and 2 cols. I know how to do this, but I have these two files; number and amount (each file contains 1 col and 20 rows) and I don't know how to add these files into this matrix that I'm … | |
Hi everybody, may i know how do i expose the web service in order for my friend to excess my data in my service ? What do i have to type in the web.config file and is there any other things i should add or do ? Thanks. (: | |
Hello everyone, I have this little for loop that I want to convert to a while loop. It accepts unknown number from the command line parameters and then add them all up and display the sum, here is the for loop: [CODE]sum=0 for x in $* do sum=`expr $sum + … | |
I have been able to write functions but cannot get them to work. Many sites show you how to write them but not how to call them in your web programming. Can someone explain why this call does not work for me ? the function is: [CODE] <? php function … | |
hello i have thread that according timer it open form. if im not close the first form when the time is came again that open form - and i have two forms and etc... how to know if the form is open or close -> to know if i need … | |
Not able to upload files on server. It is working fine in local. I want to upload some files. In my previous server it was uploading without any error.. not in new server. I set folder permission to 777, still it is not uploading. I delete existing and create new … | |
hi i'm having some trouble with web2py models: [CODE]# -*- coding: utf-8 -*- db = DAL("sqlite://storage.sqlite") from gluon.tools import Crud crud = Crud(db) db.define_table("shout", Field("author", "string"), Field("shout","text")) db.shout.shout.requires = IS_NOT_EMPTY [/CODE] (there is more but it is for the admin interface) It is all correct but I get this error: … | |
This is a program to extract/compile car NAV .KWI extensions. Unfortunately, I do not know anything about Python though I will love to learn some time very soon. Could you help me compile this into an executable file for windows 7? Will be reatly appreciated. [CODE]#!/usr/bin/env python # # kiwi … | |
This is a piece of code from some book. According to book, this code must not have worked and should have given a error message saying "cannot convert parameter 1 from 'const char[15]' to 'char*'" but this code is running on turbo C giving just a error message of const … | |
char experiment = 'Q' is what I got, however if I were to type in "AAA" or simply more letters than one then it will bug out a bit for me. Is there some kind of similar text to this but for char: [CODE] int mainval; while(true){ cout<<"1. Start game"; … | |
hello! i have no knowledge of PHP at this time when i m writing this thread.my vacation are coming and i am eager to learn the PHP on my own means without any coaching institute.please help me by telling books for me and websites from where i can have a … | |
I am trying to call a C++ program for a Windows Forms App and to subsequently wait until the exe finishes. So far here is what I have: [CODE] Dim ProcessID As Integer Dim ProcessHandle As Integer ProcessID = Shell(filepath_exe, AppWinStyle.NormalFocus) ' Check the Shell command worked If ProcessID <> … | |
I have a hw problem that has me baffled. Im sure It is not a big deal, i just am not that familiar with c++ yet. I am tasked with assigning a char value to rate an employee if I enter certain char's i should display a specified string. and … | |
[B]I have created a static Main class called ProductButtonTestDriver, that will run my class ProductButton.java- the prof wants a picture of each coffee shop item, with the name and price to appear in a button, then a check box if the customer selects that item- I am only on the … | |
pls help i am beginner and i am trying to create a simple Guestbook but i got error "Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /index.php on line 43" here is the code i use : <?php require ($_SERVER["DOCUMENT_ROOT"]."/komara/config/db_config.php"); $connection = @mysql_connect($db_host, $db_user, $db_password) or die … | |
Hello! Currently I have a form where the user can submit emails in a comma separated format to the $row in database $contacts. How can I set this up correctly so the user can email their contacts? As of right now the script emails everybody but just not in the … | |
I am making a invoice program and I tried multiplying the number of times clicked which is in a text box and the price of the item which is is my resources. I already have the code to count how many times the button is clicked. Please Help!! Thank you … | |
So I'm asked to write a program that outputs the first N number of frugal numbers. A frugal number is a number that has more digits than the digits in its prime factorization (including the number of digits in the powers) Ex: 1024 = 210 1024 is frugal since it … | |
Hi, I'm very new to Python and programing in general and wanted to learn how to use the py2exe module. I think I've done the setup alright but I get an error message. Everything runs along smoothly until it start to make the dist folder. When it begins to make … | |
I want to make a program that when receive 10MB from internet (IE browser) show a message . can anybody help me? | |
Hi, I have a value which I don't know which column this belongs to in the table. So is there a way I get get those rows that contain this value using query? Thanks | |
Can someone tell me how to fix this please? [CODE]public class NestedNumber { public static void main(String[] args) { for (int i=1; i<=5; i++) { System.out.println(); for (int j=1; j<=i; j++) { System.out.print(j); } } System.out.println(); } } [/CODE] | |
I'm trying to make it where I can draw an square with the values in the global array. I made it work without vertex array before but now I need to save it in array so I can possibly delete a square with just a mouse click. However I can't … | |
A spindle is formed by revolving the region bounded by the graphs of y= (1/4)*[1+2e^(-x/8) *sin^(2) *((Pi*x)/4)], y=0,x=0,x=8. About the x-axis. Determine the volume of the spindle. Please show me how to do this? | |
cant figure out why i'm getting this error: Warning: implode() [function.implode]: Invalid arguments passed in C:\Users\Travis\Documents\choicegrid\dam_spp.php on line 67 [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"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Untitled Document</title> </head> <body> <?php require_once('dom/simple_html_dom.php'); $url = "http://www.ercot.com/content/cdr/html/"; // The simple url $name = … | |
I am having hard time understanding what the problem is with my code here. Basically I have a map that contains Key objects as the key, and Block* as the value. The point of this for loop is to print out the values that the key contains on to the … | |
I am working with an array of 10 numbers and I have already read them in and printed them out. The two functions below are the ones I am having trouble with. This is what the input looks like: 3 7 9 3 8 2 10 11 4 14 Write … | |
I need help creating a form that accepts a conversion type and that value to be converted from the user and then calculates the converted value. The user selects the conversion to be performed from the combo box list and the application modifies the labels that indicate the "from" and … | |
[code]//This is the coding that I have done in delete item private void jButton2ActionPerformed(java.awt.event.ActionEvent evt) { // TODO add your handling code here int selectedIndex = jList1.getSelectedIndex(); jList1.remove(selectedIndex); }[/code] its throwing following Exception [code=text]xception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1 at java.awt.Container.remove(Container.java:1132) at musicplayer.jButton2ActionPerformed(musicplayer.java:144) at musicplayer.access$100(musicplayer.java:23) … | |
hi i seem to have run into a problem when adding records to a Typed file that already exists. I have used ReWrite method to create the file in the first place. [CODE] // Open the file for writing To AssignFile(F, ExtractFilePath(Application.ExeName) + 'bin\drivers' + (frm_vars.Driver1.Caption) + '\card.digi'); Rewrite(F); // … | |
The error is: class, interface, or enum expected. I've never seen or heard of this error before surprisingly, and I've written all of my code the same way, so I'm not too sure what's wrong with. I've put red arrows around the lines in question. Thanks in advance! [CODE]/* Hangman … | |
Hi, i am working on a script that will filter out the unique trace of error logs from a log file. The log file might contain different types of exception traces(like Null Pointer Exception, Illegal Argument Exception etc.) and i want to retrieve each such exception trace and also count … | |
[B]can anyone help me to draw clock cycle in java using swing when i give 5 clock then it will show me 5 clock cycles[/B] | |
Hi guys... Is it possible to stop opening multiple instance of a jar file... I just want to open my application only one (only one instance) at a time. | |
i try to understand how it works. its supposed to work but isnt. the following code shouldnt be working?what i do wrong? i receive the constructor values. [CODE]#include "Person.h" #include <iostream> #include "fstream" #include "cstdlib" using namespace std; int main() { fstream file("malakia.dat", ios::out | ios::in | ios::binary); Person data; … | |
I am looking to design a program in Microsoft Visual Studio 2008 in C# obviously in Windows that will read an iPhone backup folder and display some of the main contents, for example the SMS's and the call history. The main problem I face I think is interpreting the file … | |
Hello........ I have my my own localhost link.. [url]http://localhost:3965/Survey/SurveyPreview/105[/url] But it can not work in all computers... How to make this link general...that from all computers it can be opened... | |
Hello, I'm developing an application that reads a text file, and then replaces what's in the text file with an array (alphabet) It all works ok until I try and change the position of the inputted character and it returns: [b]Segmentation fault: 11[/b] It's really confusing! Here is my code: … | |
This is the assignment: Write a class named Employee that has the following member variables: name. A string that holds the employee’s name. idNumber. An int variable that holds the employee’s ID number. department. A string that holds the name of the department where the employee works. position. A string … | |
Can any one say for an Android application which software is needed? Please reply. | |
hi.. I want to develop a simple mobile application for Java based mobile.. But I am completely unknown about the same. Can anybody tell what will be the requirements to do it? such as softwares, IDEs, books to be referred.. | |
Hi Guys, I am developing an windows application in that contain the crystal report which displays the name of the candidate but i have two fields like lastname and firstname i want to concate these fields with space in between is their is any property or method. e.g currently my … | |
This code is done using C. Whole point of it is to remove the name just before the first hyphen. Its blindly written so I haven't improved it and it has extra variables and no reuse of variables to save space. If anyone can just locate the error why the … | |
Hi, I hope you can help. I'm creating a simple C# (VS2010) form which starts with one list box lBModel and upon selection dynamically creates another lBFirmware which is populated with items and then added to a panel. When this is selected I need to use the SelectedItem value to … | |
i got an assignment regarding testing, i have to write a c code and compile in linux. the question is as found at: [url]http://www.cs.ucr.edu/~linc/cs206/project/index.html[/url] please suggest, i have no idea to start | |
Write a Java program to demonstrate the use of inheritance, polymorphism, interfaces and transaction processing. This program will also use the Vector class. Class Definitions: You are to begin with the following class (Account.java): *bottom of post* [CODE] public class Account implements AccountAction { protected String accountNo, institution, name; protected … | |
Dear visitors, I found a site, they collect jobs from other jobs sites through rss feeds. How to collect records to MySQL database from rss feeds by using Php? . How to develop rss feeds by using Php and how to convert rss feeds into records of MySQL database? I … | |
Hi guys, I’m a new to web programming. I am learning ASP.NET in VS2010 and PHP in Netbeans, using XAMP. I’m having problems debugging my tutorials because they both use [url]http://localhost[/url]. When I try to run VS2010 code, I get some error, apparently because [url]http://localhost[/url] is assigned to XAMP. I’m … |
The End.