199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for tjy92

How would you write this program in Python IDLE? Write a program with a function that accepts a string as an argument and returns (some type of return value) a copy of the string with the first character of each sentence capitalized. For instance, if the argument is "hello. my …

Member Avatar for TrustyTony
0
3K
Member Avatar for dayau89

/** * @(#)dayau_0.java * * dayau_0 application * * @author * @version 1.00 2009/9/28 */ public class dayau_0 { public static void main(String[] args) { int num = 30; String AnsHex = ""; AnsHex = DectoHexDec(num); System.out.println(AnsHex); } public static int DectoHexDec(int x) { String result = ""; int remainder …

Member Avatar for doomsday1216
0
289
Member Avatar for toldav

I'm new in VB programming I did wrote this code so far but for some reason the senior does not calculate. Any help will greatly appreciate. This is what I'm trying to accomplished. "basic monthly cost of a membership is $100 for adults and $75 for seniors. Members must choose …

Member Avatar for Ezzaral
0
352
Member Avatar for triumphost

My problem is at line 54 and line 124.. Not sure how to fix it at all.. I basically just want to store all the values of NameIdx to the vector and print the values of the vector. But instead if shows random/AltKeyCode characters and crashes. I know its probably …

Member Avatar for nezachem
0
143
Member Avatar for Mehnad

i have been asked to create a method that is capable of inserting a "Person" class into an ArrayList of persons. but all it says is that the types are incompatible. starting to think that the add method might not work in this situation. any advise would be greatly appreciated! …

Member Avatar for Ezzaral
0
939
Member Avatar for jdm

Is it possible to check a string that is stored in a dword for spaces? Sincerely yours; jdm

Member Avatar for thines01
0
127
Member Avatar for Zssffssz

well here is something interesting: How many calculations, math, movements, assignments, can I do in the glbal area? EX: [CODE]Header/using blah int vap = 7; int pav =2; int sasd = 0; (sasd=(vap*pav));[/CODE] Would the last line work? Or do I have to declare a vareable to do any math/calculations? …

Member Avatar for mike_2000_17
0
165
Member Avatar for BDan

Okay I am fine tuning my program and would like to have a new JOption Message appear when a particular input is caught and have the exception message thrown. I am trying to get my input to come from my combo box but getting the cannot find symbol message". Am …

Member Avatar for BDan
0
431
Member Avatar for jimbo_cambridge

Hello, I have a text file to read in. It is of the format [CODE] ! this is a comment ! this is another comment 8 3.3 2.2 5.6 6.7 4.4 5.5 4.4 1 3.3 2.3 34.5 5.5 10.3e10 1 3.3 2.3 34.5 5.5 10.3e10 1 3.3 2.3 34.5 5.5 …

Member Avatar for jimbo_cambridge
0
1K
Member Avatar for axiss

does anyone know where I can find some help on integration functions in c++?

Member Avatar for ynikitenko
0
280
Member Avatar for supersuru

hey can some 1 please help me out am new to c++ having multiple errors on this code if you could assist thankx[code]#include<stdio.h> void mainmenu(); void withdrawcash (); void cashtransfer(); void depositcash (); void displaycash(); void normalcash (); void balance (); void username(); //char login[16]=’martin ’; int fcash,famount; int password=12345, …

Member Avatar for supersuru
0
303
Member Avatar for JRDJ12

I'm wondering if someone can help me figure out my getAverageLength method in the following code: [CODE]package com.abc.text; public class StringProcessing { /** * Returns the number of non-null strings in the set. * If null or a zero-length array is passed in, then zero is returned. * If a …

Member Avatar for Ezzaral
0
2K
Member Avatar for dgreene1210

I'm having problems with my code all over. I have to be able to open a command line argument( which i know how to do). create a linked list, and print it backwards. This is what i have but im stuck with errors that i don't know how to fix. …

Member Avatar for dgreene1210
0
190
Member Avatar for dan420

Hello, I am new to javascript. I am trying to get the cell values of a html table in the following way, but I am not able to increase the variable dynamically! Does any one see where is my problem Sorry for my english!! [CODE] function validateRow(frm) { var oTBL …

Member Avatar for dan420
0
151
Member Avatar for fat0ali0ma

heey I need ur help.. how to convert a string (text content) to base 64 ??what are the steps for writing this program thx..

Member Avatar for gusano79
0
278
Member Avatar for Ccuteri60

Hi, i am making a heap sort program using a struct known as Date, anyhow i am getting an error in two lines that i cant figure out how to solve...[CODE]void dahHeap(Date a[], int i){ int n = sizeof(a); int lefty = 2 * i; int righty = 2 * …

Member Avatar for Ccuteri60
0
376
Member Avatar for Danny159

Hey, I have a database of events... and I need to add a row for each day for a year... so there will be 365 rows in the database, but the date format must be as follows: Row 1 Start Date: 2012-01-01T00:00 End Date: 2012-01-01T23:59 Row 2 Start Date: 2012-01-02T00:00 …

Member Avatar for pzuurveen
0
166
Member Avatar for jainpraveen75
Member Avatar for Malaoshi

Hi, I am still new to C# and am working on an annotator: 1. Input some Chinese Text. 2. Click Button. 3. Output some Chinese Text - each word that's found in the dictionary get's a span-html-class around for later implementing it in a website. Here it the code for …

Member Avatar for thines01
0
644
Member Avatar for dmanjunath

[CODE] #include<stdio.h> #include<conio.h> void main() { int i[15],n,q,j; clrscr(); printf("Enter the value of N:"); scanf("%d",&n);//an unsigned value printf("\nBinary Val of %d=",n); q=n;//initialize quotient to n for(j=0;j<16;j++) i[j]=0;//initialize binary vector to zero //calculate the binary Equivalent j=15;//store the Remainder in reverse order if(q!=0) { while(q!=1) { if(j>=0) i[j]=q%2; j--; q=q/2; } …

Member Avatar for WaltP
0
166
Member Avatar for Danny159

Hey, My code epic fails... I get delivery failed when sending an email to the email addess that pipe's to this script: [CODE]#!/usr/bin/php -q <?php ini_set('memory_limit', '256M'); //The concern here is having enough mem for emails with attachments. // read from stdin $fd = fopen("php://stdin", "r"); $email = ""; while …

Member Avatar for Danny159
0
100
Member Avatar for masala_curry

Hello, My application has a simple textbox for user input, a database connection, a button and a label. I will search for the user input in my database and update the label when the user clicks the button. This works fine on the first button click but ceases to function …

Member Avatar for masala_curry
0
126
Member Avatar for programing

hi I want to implement this program correctly about plindrom like ( ara) is plindrom i try to writed code for non-recursivly but i didn't understand method CharAt () IgnorCase() [CODE] import java.util.Scanner; public class Plindrom { public static void main (String[] args) { String str; int left, right; Scanner …

Member Avatar for stultuske
0
190
Member Avatar for suneye

helloo, I want to make a C# application that reads barcode from a scanner and then I want to know how to translate this barcode to the price of the item. Does any body know? Best regards.

Member Avatar for suneye
0
116
Member Avatar for KJBweb

Hi all, been lurking for ages and though I'd join to ask the following: I have created a PHP script which'll automatically carry out a series of actions which'll save a lot of people a lot of time. It's highly configurable and comes in at ~350 lines of code. I …

Member Avatar for KJBweb
0
228
Member Avatar for djjavo

Hi I am doing some coding with the WebBrowser element and was wondering if there was a way to create custom error pages i.e. if something goes wrong it navigates to this page instead of the default IE8 one. I did a quick google but got nowhere. If anyone has …

Member Avatar for djjavo
0
172
Member Avatar for spades0001

I'm trying to create a program on NetBeans that allows me to load an image into an internal frame. Then I can click on the image and a box pops up, basically just like the one on facebook. Im done with the loading and image part. Now, I"m working on …

Member Avatar for NormR1
0
147
Member Avatar for Sadun89

[B][U]1.User.jsp[/U][/B] [CODE]<form action="register" method="post"> First Name : <input type="text" name="firstName" /> <br /> Last Name : <input type="text" name="lastName" /> <br /> Email : <input type="text" name="email" /> <br /> Username : <input type="text" name="uName" /> <br /> Password : <input type="password" name="password" /> <br /> <input type="submit" value="Register" /> …

Member Avatar for Sadun89
0
135
Member Avatar for BoBok2002

I am working on a project and part of the instruction goes like this: "The whole system allows up to 10 processes currently stay in memory, only one of them is running on the CPU, while the others are in either the Ready Queue or blocked in the Disk queue. …

Member Avatar for BoBok2002
0
2K
Member Avatar for haanjae

i want to send a private message to particular client by selecting number in comboBox. but had tried to code it but message still end up receive the message at every clients side that connected to server. i want to send the message using the worker socket object stored in …

Member Avatar for haanjae
0
1K
Member Avatar for GTTravis

Hi Guys, i am looking for a little direction on an issue that is poundering on my mind. I want to prevent a form from loading if the systems regional datetime settings format for the date is not in the form of dd/MM/yyyy. any suggestions will be welcome.

Member Avatar for GTTravis
0
338
Member Avatar for deceivingrakesh

Guys i have a <select id="select1" runat="server" /> control on a web page i have used a javascript to populate the items of the <select> on runtime now i want to know how to access there elements of <select> (selectedIndex or selectedValue) by asp vb.net Thanks in advance :)

Member Avatar for sufyan2011
0
116
Member Avatar for VB 2012

I have a Problem with my Modified Event As you can See ! i know My declarations are Private I tried Some thing still didn't work So what i want to do as you can see is that if the save button was not clicked then it would check if …

Member Avatar for VB 2012
0
122
Member Avatar for jaango123

Hi All, When I am trying to add a device, ibm the Datapower Managementperspective in Eclipse tool getting the below error. Updating version information - Error cause:java.security.NoSuchAlgorithmException:IbmX509 KeyManagerfactory not available Any idea, about this error. We are not getting any clue on this error. We added the certificate to the …

Member Avatar for rajparekh08
0
292
Member Avatar for jhoop2002

I am trying to create a web app using C# 2005 where I can upload an excel document, store it in memory and read the contents. I have my code working if the file is saved on the hard drive, but i don't want to have to save the file …

Member Avatar for ashutoshbajpaij
0
1K
Member Avatar for stevanity

IM new to Ruby and RoR. I have very less prior experience with web techs. I know how web works and worked with pre coded php code (edited em)... and ran websites with template scripts and wordpress cms. But never built em on my own. Now I wanna learn a …

Member Avatar for stevanity
0
129
Member Avatar for staticwave

I recently inherited a website and they have a simple back-end area which was created using phpmaker. The back-end displays various MYSQL database tables. There are two tables which hold registration information related to promotions/contests the company runs online. The client wants to begin archiving the registration data monthly, but …

Member Avatar for smantscheff
0
1K
Member Avatar for daneuchar

[CODE]package aster; import java.util.*; public class master{ public static void main(String[] args) { ArrayList<Object> arl=new ArrayList<Object>(); Integer i1=new Integer(10); Integer i2=new Integer(20); Integer i3=new Integer(30); Integer i4=new Integer(40); String s1="tapan"; System.out.println("The content of arraylist is: " + arl); System.out.println("The size of an arraylist is: " + arl.size()); arl.add(i1); arl.add(i2); arl.add(s1); …

Member Avatar for daneuchar
0
1K
Member Avatar for hannah shrn j

[CODE]import java.io.*; class avlnode { public int data,bf; public avlnode lchild,rchild,parent; } class avl { avlnode root=null; avlnode p=null; avlnode prev=null; public void insert(int ele) { avlnode temp=new avlnode(); temp.data=ele; temp.lchild=null; temp.rchild=null; temp.parent=null; p=new avlnode(); prev=new avlnode(); p=root; if(root==null) { root=temp; } else { while(p!=null) { prev=p; if(p.data>temp.data) { p=p.lchild; …

Member Avatar for JamesCherrill
0
272
Member Avatar for tashiDuks

Hi EveryOne, I have some problem in validating duplicate values while saving & updating my records to SQL database. I have following codes: [B]1. Decalaration Code[/B] [CODE] #Region "Declarations" 'Declaration for Navigation Dim inc As Integer Dim maxRows As Integer Dim ds As DataSet = New DataSet Dim dvEmpDesignation As …

Member Avatar for tashiDuks
0
133
Member Avatar for nikk

Helo Friends, I have 1000s of image files(jpg/png) which I want to get compressed so as to reduce the file size. Quality can be compromised a bit. I want to know, is there any way in java by which I can get the image compressed? I found a code on …

Member Avatar for vkijust4u
0
321
Member Avatar for d1lu5ion

Hi guys, I am working on something that is driving me crazy, I'm just trying to get my php skills better and so the help with this or guide in the right direction will be a greatly appreciated. the script for this looks like this [CODE]<html> <head> </head> <body> <table …

Member Avatar for cereal
0
98
Member Avatar for rahulroshan

Hi I have a phpcode that fetches data from database , I want to lock a row when a user reads that row and want to release it when he exits. Can any one help me plz

Member Avatar for broj1
0
82
Member Avatar for anum zaeii

hello can anyone help me in learning c#...i really want to learn it and start development using it regards anum zaeii beginner

Member Avatar for ChrisHunter
0
75
Member Avatar for Human2.0

Greeting fellow Humans, I'm trying to "[I]comb merge[/I]" (if any thing as such) bunch of Excel files. There are 2 type of Excel workbook: A & B Both has a column called : [I]Location ID[/I] [U]These are the step I think the prog should do [/U]: Promp user to select …

Member Avatar for Human2.0
0
614
Member Avatar for shamsidah

Hi.. I need some help. I have a problem to insert 2 values or variable from drop down list to database at the same time. i want to insert name_relation into db, at the same time want to insert IcNo into db. here my code: [CODE]<?php include ("ConnectDB.php"); ?> <select …

Member Avatar for RCrizt
0
1K
Member Avatar for crc0002

My code is posted below along with it's output of errors. [CODE] #include <iostream> #include <fstream> #include <string> using namespace std; class Node { public: string name; Node* north; Node* south; Node* east; Node* west; }; class MazeConstructor { private: Node nodes[12]; public: Node* ConstructMaze(); }; Node* MazeConstructor::ConstructMaze() { nodes[0] …

Member Avatar for Schol-R-LEA
0
9K
Member Avatar for garwil

Hi All, I have a "Change Password" script I am battling a bit with. At first I could not get the update to recognise the correct user and now that I have that sorted and the update does insert the new hash value for the correct user I cannot login …

Member Avatar for garwil
0
2K
Member Avatar for jacksantho

Hi, In my server, just i have installed XAMPP with the PHP version 5.3.1 and the apache version Apache/2.2.14 (Win32) DAV/2 mod_ssl/2.2.14 OpenSSL/0.9.8l mod_autoindex_color PHP/5.3.1 . Am having a website, its run using http protocol : [B]http:[/B]//www.example.com I wants to make it to [B]https:[/B]//www.example.com I don't how to complete this …

Member Avatar for Buppy
0
117
Member Avatar for cmps

Hello, it's me with oop again, So now I understand what are oop and how to use it, but I have 2 questions: [1] - How to use controllers models views libs [2] - Is there any tutorial on how to create a cms using oop even if I should …

Member Avatar for simplypixie
0
85

The End.