199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pranay_agg

how can one determine whether a given string can be expressed as a concatenation of palindromes of even length.

Member Avatar for jwenting
0
107
Member Avatar for the_mia_team

I Have this problem and honestly have no idea where or how to start this, can anyone give me an idea or help? [QUOTE]Write a JavaScript program to calculate the statistics of words in a web page. When running the program in a web page, the script should output all …

Member Avatar for jwenting
0
113
Member Avatar for hiz460

Hi, Im trying to input a search box in my forms so that when I type in a customers name it will show there record. I've managed to do it in my transaction form, but not in any other standard forms. In my transaction form I've got this code: [CODE]Private …

Member Avatar for pritesh2010
0
139
Member Avatar for RichardCrickets

So I have my documentbuilder and I'm doing this the DOM way. I've managed to get to the point where I have saved the tag I want into a nodelist NodeList list = doc.getElementsByTagName("myTag"); the xml looks like this <myTag id="1"/> but now I want to grab the id number …

Member Avatar for moutanna
0
95
Member Avatar for Signal_Hill

Hello All... To be honest, this is a bit overwhelming, but I'm hoping that someone might be able to steer me in the right direction. I am currently taking a correspondence course in Computer Programming, and without instructional support, am finding that the material can be somewhat overwhelming. I'm looking …

Member Avatar for Adak
0
93
Member Avatar for cjay175

Hi there, I am in need of help, I would like to know how to create a link that when clicked it will change the order a list is displayed. Specifically in wordpress when using a codex to display posts. [B]How would I create a link or dropmenu that can …

Member Avatar for yahyaayob
0
370
Member Avatar for Hidden_mistakes

Hi i am trying to create a racing game and at the moment i have keyboard input which moves the player around at the same continous speed. I am wanting it to speed the player up however the longer you hold the key down for. Any simple way i can …

Member Avatar for Hidden_mistakes
0
109
Member Avatar for xcarbonx

Hello, i am currently working on a grade program that displays the student name, id #, and 2 grades. I have to read each of these categories off of an input file which should look like the following for at least 20 students.: EX: Jack Smith 450654333 95 89 The …

Member Avatar for xcarbonx
0
128
Member Avatar for Elenaser

Hello, I am currently trying to write a program that will display a chart for the inventory of a car dealer. Here are the major points of the assignment, the ones Im having trouble on: Write a program to be able to display the instock table as instructed below : …

Member Avatar for Elenaser
0
192
Member Avatar for QWaz

Hi, I'm pretty new to php and MySQL. I am trying to use a form to update a the database. However it just doesn't seem to actually work. I also am getting this error from printing out errors: You have an error in your SQL syntax; check the manual that …

Member Avatar for QWaz
0
149
Member Avatar for bachan28

hi community, i really want to improve my ability in programming vb.net so can you help me improve it by giving me a task or a work to do? like teachers on schools?:$ ( though im not saying that im really good in programming and will be able to do …

Member Avatar for P0lT10n
0
81
Member Avatar for crodriguez08

Hey, I'm pretty much almost done with this program, but I'm not sure how to clear a previous file (after opening it) in order to open a new one. My program is supposed to open a file with a maximum of 100 unordered decimals and allow the user to sort …

Member Avatar for crodriguez08
0
106
Member Avatar for djMot

Hey everyone. :) I've been trying to find a goof file upload script for a while. No luck really. I operate an internet radio station, and frequently artists want to send me music for airplay consideration. I've been struggling along giving them FTP login information and letting them send files …

Member Avatar for mudge.steve
0
100
Member Avatar for collinisaac

ok heres what i got [CODE]Main.cpp System::Void Form1::button1_Click(System::Object^ sender, System::EventArgs^ e) { SetText("Hello, it's working"); } System::Void Form1::SetText(String^ strText) { this->textBox1->Text = strText;[/CODE] form1.h [CODE]private: System::Void button1_Click(System::Object^ sender, System::EventArgs^ e); private: System::Void SetText(String^ strText); [/CODE] What if I want to display the results of type double variables or int variables …

Member Avatar for jonsca
0
113
Member Avatar for goldstmarc

Hi, I just want to say i've been searching around this forum and have seen things about GMP and precision arithmetic (which im reading now). However, i've seen nothing to the extreme of a number that I need. This is an *extremely* large number. Before I even get into the …

Member Avatar for NathanOliver
0
192
Member Avatar for Hidden_mistakes

I am wondering why the right hand side of my split screen isn't in the middle and also why the game goes off of the background, any help would be much appreciated [code] #include "SDL.h" #include <stdlib.h> #include <stdio.h> #include <stdlib.h> #include <Windows.h> #pragma comment(lib,"Winmm.lib") /* ---------------------------------------------------------------------- */ /* Defines/Enumerations …

Member Avatar for Hidden_mistakes
0
108
Member Avatar for gregarion

Hey guyy , using getline allows us to read a file line by line. but is it possible to use getline to read individual words in a line? For example. Test.txt My name is John. Using getline will read the entire line... [CODE] int main (){ string templine; ifstream myfile("test.txt"); …

Member Avatar for NathanOliver
0
143
Member Avatar for Dinglish

I am new to programming and i am teaching myself. (my teachers are not very good) I am attempting an old assignment that a colleage had completed in school. He told me it was pretty basic in terms of c++ programming. UELS is a company selling bicycles; Customers may opt …

Member Avatar for NathanOliver
0
118
Member Avatar for helpmepassclass

i am writing a program for my java class and have to create a calculator, i got the calculator to work for two numbers but can't get it to do more than two numbers and it needs to. any help will be greatly appreciated. If you take out the tnum …

Member Avatar for BestJewSinceJC
0
98
Member Avatar for mebob

Hey, i was wondering if there was a way to output really large decimals, either to a file or to the output stream? because when i do this: [CODE] file << setiosflags(ios::showpoint) << setiosflags(ios::fixed) << setprecision(50); [/CODE] or do that with cout, the program crashes.

Member Avatar for DinoBA
0
106
Member Avatar for sainiweb

Hi I have problem with span tag padding paroblem can I do fix it with css or javascript here is code which hard coded for left and right padding I have ad &nbsp; and <br /> I want programatic way to fix it with css or java script <!DOCTYPE html …

Member Avatar for fxm
0
260
Member Avatar for squigworm

Hello everyone, I am writing a program that will read data from a txt file and for the life of me I cannot get it to do so ... Seems like no matter what ! I do it keeps telling me it cannot find the file .. I have used …

Member Avatar for BestJewSinceJC
0
134
Member Avatar for kingnebula

Greetings, I am having an issue with calling both winsock and winsock2 libraries but i can't seem to find where i have called winsock from. I have a main.cpp calling a Socket.h main.cpp contains the following includes: [code] #include "stdafx.h" #include <iostream> #include <vector> #include <windows.h> #include <windowsx.h> #include <string> …

Member Avatar for Ancient Dragon
0
277
Member Avatar for kadvar

Hi, I basically have a dictionary with a few key value pairs in it. [CODE] mydict = {} mydict['key1'] = 2000 mydict['key2'] = 3000 mydict['key3'] = 6000[/CODE] I have read that you can check if a particular key is present in a dict with the '[B]in[/B]' statement like: [CODE]if 'key1' …

Member Avatar for kadvar
0
152
Member Avatar for nschessnerd

Hey ppl. I've been working on this forever and cant seem to get it. I am developing a site in jsp using netbeans and i have an applet i want to add to a page.I know i have to use <applet> tags but i dont know what to put to …

Member Avatar for peter_budo
0
126
Member Avatar for charqus

I have a question. Can i select a string from my RichTextBox ? For example: I have this text: English Francais Spaniol And i want to select Francais , but as string , not at int - lenght ... ( richTextBox1.Select(7,15); ) I want something like: richTextBox1.SelectString("Francais") , is there …

Member Avatar for "ICode"
0
114
Member Avatar for MattCurtis!

Hey everyone. New to daniweb. seems like a really good forum. anyhow, im doing some research on mobile phones and PC's. I want to be able to control my mobile phone flawlessly from my computer. By flawlessly, i mean Making and Recieving Calls, Sending and Recieving SMS, and Syncing Phone …

Member Avatar for peter_budo
0
245
Member Avatar for atrum_qss

Hi, im new at coldfusion and i recently pay for a hosting with coldfusion 9, i customize my db,dsn and upload all the site... but when i try to run the site i get this exception : coldfusion.runtime.CustomException: Unable to initialize AssetNow NX at coldfusion.tagext.lang.ThrowTag.doStartTag(ThrowTag.java:142) at coldfusion.runtime.CfJspPage._emptyTcfTag(CfJspPage.java:2722) at cfApplication2ecfc1801135535$funcONAPPLICATIONSTART.runFunction(E:\Domains\rivi eramayarent.com\wwwroot\Application.cfc:35) …

Member Avatar for arrgh
0
174
Member Avatar for Avatar99

My overloaded operator isn't initializing the value passed through it. Please help!!! and yes I am aware that my insert function isn't complete... [CODE=c]#include <iostream> using namespace std; struct Node{ int value; Node * next; }; class linkedList { public: linkedList () {first=0; length=0;} bool operator > (int a) ; …

Member Avatar for Sky Diploma
0
111
Member Avatar for ku95

I'm currently doing a model, however its occurred that I'm getting 1 error that which is saying that the && operator. I don't fully understand why that is. If there is a solution to this that would be great, also with a good explanation why I have made this mistake …

Member Avatar for BestJewSinceJC
0
3K
Member Avatar for fattymuffin

Hello, So my problem is that I am supposed to write code in order to prove whether or not text in a file is topologically sorted correctly. I have the algorithm on how to do this, but the specifications say that I should use an array of lists to keep …

Member Avatar for tcstom
0
107
Member Avatar for summey

The code below is for my assignment it works i just want to make sure i did this correct any advice is wanted. Also one thing that is bugging me see basepay well if the base pay is 133.20 it chops off the 0 and only displays 133.2 why iv …

Member Avatar for summey
0
132
Member Avatar for gregarion

Hey guys i need a bit of help in getting my answer correct. Basically , im trying to get my answer to 2 decimal places when i divide one number by another... [CODE]int main(){ int Totalgpa = 46; int e = 13; int SemesterGpa = Totalgpa / e ; cout …

Member Avatar for Avatar99
0
83
Member Avatar for deeep

Hi we have a buffer say [COLOR="Red"]char array.[1].[/COLOR]so the size will be 1 byte. Now our problem is say we have 8 bits data say 10110101. now this must be assigned to array[0] variable as 1 byte. bit manipulation is not happening.kindly help us in this regard If possible post …

Member Avatar for jephthah
0
171
Member Avatar for gregarion

Hey guys , i am trying to write an array into a textfile. Here is the coding... [CODE]int main() { ofstream myfile("report.txt"); int g = 0; int billy [] = {16, 2, 77, 40, 12071}; for (int n=0 ; n<5 ; n++ ) { g = billy[n]; myfile << g …

Member Avatar for Fbody
0
109
Member Avatar for Scoobydog

I have a page with a nested gridview and within the nested gridview I have a TemplateField and an Imagebutton. What I am trying to accomplish is allow the user to expand the child grid and then click on the Imagebutton to display a panel below. The problem I am …

Member Avatar for Scoobydog
0
299
Member Avatar for jessiko555

Hi I've made a program but for some reason I am getting this error that I can't even begin to decipher because it won't point me to where the error has been made. I am using the PV=ZnRT formula. Here is the error: 1>C:\Users\user\Documents\Visual Studio 2008\Projects\lab24jess\Debug\lab24jess.exe : fatal error LNK1120: …

Member Avatar for jessiko555
0
245
Member Avatar for rlhh

I'm trying to create a maze with a mouse inside moving up down left right in 200 moves. I've got everything working besides the fact that it duplicates the heart on the other side(If it exits on the left, it'll be duplicated at the right end) when the heart shape(mouse) …

Member Avatar for jephthah
0
196
Member Avatar for sanam2010

hello, I want to make a Report in C# Projetc, but I'm not intrested in using Crystal Report, I want to make it by MSReportViewer. PLS Help me, thanx.

Member Avatar for sanam2010
0
63
Member Avatar for pringles08

[code]public String viewByItemCode(String icode) { String search = " "; for( ; x<recordNum ; x++) { if(itemRef[x].getItemCode() == icode) { search = ("\nItem Code: " +itemRef[x].getItemCode()+ "\nItem Description: " +itemRef[x].getItemDesc()+ "\nItem Unit Price: " +itemRef[x].getItemUnitPrice()+ "\nItem Quantity: " +itemRef[x].getItemQty()+ "\nItem Unit Measure: " +itemRef[x].getItemUnitMeasure()+"\n"); } } return search; }[/code] Supposed …

Member Avatar for pringles08
0
106
Member Avatar for RickyG

HI, I am looking a snippet to warn the user before processing with deletion and my ViewEmployees.aspx page.. I am using a Gridview with autogenerated insert, delete statements; how would I do this on my Code Behind File? [CODE]<asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" CellPadding="4" DataKeyNames="EmployeeID" DataSourceID="AccessDataSource1" ForeColor="#333333" GridLines="None"> <RowStyle …

Member Avatar for RickyG
0
99
Member Avatar for Amresh.K

import java.awt.*; import java.awt.event.*; import javax.swing.JApplet; public class CarApplet { private Image carLeft = null; private Image carRight = null; private Image carUp = null; private Image carDown = null; private Image carImage = null; private int direction = -1; privte Point carLocation = new Point(25,25); ? /*Over here this …

Member Avatar for Katana24
0
112
Member Avatar for rohitmanhas_12

Hi, I need help for this problem that i'm trying to solve for a while (i'm Using ASP.net and C#). How do i submit the values from selected checkbox lists into database using c#.... Here's the code: .......................................................................... [code] <asp:CheckBoxList ID="CheckBoxList1" runat="server" Font-Bold="False" Font-Names="Vrinda" Width="338px" style="text-align: left"> <asp:ListItem>Public Tap</asp:ListItem> <asp:ListItem>Well …

Member Avatar for rohitmanhas_12
0
201
Member Avatar for seaman34

Hello this is my first thread on the forum i tried to search everywhere for a solution but no result...:'( Im trying to figure out some easy pointer use but still get some stupid error... My fault. error C2440: '=' : cannot convert from 'char (*)[100]' to 'char' [CODE] void …

Member Avatar for p.y.
0
157
Member Avatar for sainiweb

Hi I ahve this code which is working on Chrome, Firefox and Safari But Its not working on IE Can any one help me <html> <script type="text/javascript" language="javascript"> function set_padd(){ var tt = document.getElementById("span_padding").innerHTML; var txt = new Array(); txt = tt.split("<br>"); var atxt = ''; for(var i = 1; …

Member Avatar for sainiweb
0
231
Member Avatar for asduae
Member Avatar for jwenting
0
89
Member Avatar for griswolf

I'm re-designing a database that will facilitate registration at various events. One column in the event_person table describes the current status of the registrant. The forces that apply here are: - Various events may have different sets of status values - We may ship this as a framework to various …

0
91
Member Avatar for tianxieng

Plesese help: i have no ideas to do with this problem. Write a program which allows the user to input several real numbers and then prints out the 2nd smallest number. The input sequence starts with a positive integer indicating the number of real numbers. For example, for the input …

Member Avatar for Salem
0
153
Member Avatar for krishnisilva

hi, Question 1 i am developing a project in C#.Net, and when a form loads data from the SQL client database is added to four combo boxes in the form, i need to change the data in the combo box when the check box is ticked. I wrote a code …

Member Avatar for gusano79
0
172
Member Avatar for andydeans

Hi, Fairly new to MYSQL, still learning. I have create basic web databases before but the project i am working on just now is slightly more complex than before and need some advice. i have had some help qith queries which has been great however i need some advice from …

Member Avatar for andydeans
0
141

The End.