199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for 360anish

Hi, i have two input box input box 1 : name is first input box 2 : name is second suppose if i enter "fresh" should be transliterated using google and the output in french should be displayed in the second input box. does anyone have any idea how to …

Member Avatar for 360anish
0
283
Member Avatar for slychronic

hie guys have a textbook that am reading there is a code that i need some help understanding better....can anyone explain to me line by line whats really going on.... No need to explain the main function though.......its a program that calculates permutation of whole numbers...Cheers! [CODE] #include<iostream> #include<conio.h> #include<string.h> …

Member Avatar for jonsca
0
122
Member Avatar for madval88

Yeah this is a simple question and pretty popular. And this is what I did. There is a segmentation fault when we copy characters from [ICODE]src [/ICODE]into [ICODE]dest[/ICODE]. Now, I can understand the source of this fault - when we iterate over the [ICODE]dest [/ICODE]string we reach the end and …

Member Avatar for Ancient Dragon
0
303
Member Avatar for nehru1947

Hey Im having trouble building a hangman game and I cant get it to build here is my code if anyone can help [CODE]#include<conio> #include<string> using namespace std; main(){ char word[30],getit[30],*found; int score,loop,len,num,lup,om,luptimes,times,fitimes,ondtimes,antimes; luptimes=0; fitimes=0; ondtimes=0; clrscr(); printf("\n ENTER THE WORD: "); gets(word); score=0; num=0; om=0; len=strlen(word); clrscr(); char gname[70]; …

Member Avatar for WaltP
0
119
Member Avatar for dotbat

Hey everyone, I have a quick (and hopefully simple question). I'm writing a simple program that will ask the user for two different inputs(IP address and message), save those as strings, then run a command in command prompt adding those strings on the end as arguments. I'm using it to …

Member Avatar for dotbat
0
311
Member Avatar for gameon

hello... i am creating a video library using asp.net. i am new with asp.net with c#. in it i use datalist for images and hyperlink of video. now i want to play video in other page by click on image which have hyperlink of video. so what to do? if …

Member Avatar for kvprajapati
0
404
Member Avatar for rebellion346

Hey guys, I'm getting a few errors I can't seem to figure out solutions for: (SalesEmployee Line 21) error C2248: 'SalariedEmployee::salary' : cannot access private member declared in class 'SalariedEmployee' (SalesEmployee Line 17) error C2664: 'SalariedEmployee:: SalariedEmployee(const SalariedEmployee &)' : cannot convert parameter 1 from 'std::string' to 'const SalariedEmployee &' …

Member Avatar for rebellion346
0
92
Member Avatar for vbx_wx

How can i right shift a binary number and display all of the positions in java ?

Member Avatar for Taywin
0
110
Member Avatar for .waterboy

Problem: [url]http://contest.mff.cuni.cz/old/archive/asia1997/problemF.html[/url] I need the code..Help me c++ Masters

Member Avatar for Taywin
0
101
Member Avatar for mike42intn

im making this hangman game for a class assignment i was just hoping for some suggestions its a work in progress [CODE]#include "stdafx.h" #include <iostream> #include <iomanip> #include <string> #include <array> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { string response; int w; const int WORDS(4); do//outer do loop …

Member Avatar for group256
0
67
Member Avatar for rajesh4u2u

////////////////////////////////////////////////////////////////////////////// <!-- To change this template, choose Tools | Templates and open the template in the editor. --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript"> // 3 constructor functions of Person, Book, and Library function Person(fname,lname) { this.firstName = fname; this.lastName …

Member Avatar for hielo
0
123
Member Avatar for achava

Another total Nuby collection. I have an xml file from which I wish to eliminate all elements that have any attributes at all. All I really need to do is eliminate the contents of the attribute. How do I do this? My plan is to start with <xsl:template match="Contains an …

Member Avatar for fpmurphy
0
135
Member Avatar for someguyjbb

I have to make a copy constructor for a queue class and decided to use enqueue to put the files in, but for some reason it gives a runtime error. so I really need some help in figuring out what is wrong. Thanks in advanced [CODE] #include <cstddef> #include <string> …

Member Avatar for Ancient Dragon
0
118
Member Avatar for nilbernator

Does anyone know a simple way to display a powerpoint presentation in a WPF application. I am new to using WPF so please explain any examples you might give clearly.

Member Avatar for Momerath
0
89
Member Avatar for mphan228

Hey guys, I have a soda machine program assignment that requires the user to insert an amount that has to equal to dollars, quarters, dimes, or nickels. Any other input will be displayed in the "Coin Return". The display should loop showing the current amount deposited until the user's deposit …

Member Avatar for mphan228
0
213
Member Avatar for smartmedia

hello everyone Richard here i have a script that im having some issues with and was hoping to find someone here who can help me figure out the problem ok the script in php i get a notice when tryng to create an admin passowrd "User not verified" im using …

Member Avatar for smartmedia
0
330
Member Avatar for Chalandria

Write a Java program to continue creating your own userdefined methods and introduce some do while loops. Write two valuereturning methods called farToCel() and celToFar(). These two methods will convert temperatures from Fahrenheit to Celsius and Celsius to Fahrenheit respectively. They will each take a single int parameter and return …

Member Avatar for Eric Cute
0
273
Member Avatar for someguyjbb

please help It says when creating the object of ArrayCharQueue that I can't because it is abstract and am not understanding why please help [CODE]//array based charqueue // must use abstract base class char queue // must be dynamically allocated #include "charqueue.h" #include <iostream> #include <cstdlib> class ArrayCharQueue : public …

Member Avatar for mike_2000_17
0
114
Member Avatar for havalka

Hello everybody, I am new to this forum. I got a stuck in my work ... I have ASCII file with numerical values, and I need to read them and save them in a matrix of 2 dimensions?.... If anyone can help me please ....!!??? Looking forward to any help …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for bristolspider

hi all im a little new to php code i has searched a lot of site in hope of being able to work this one out and now im stuck. i have a page for a product on it and the php file for it is[CODE]<?php //****************************** //Custom Code for …

Member Avatar for Setvir
0
200
Member Avatar for marf

Ok I have narrowed the problem down, and I'm hoping somebody knows the solution. Basically I have a pyGTK application, using widgets and all of that. I have stripped all of the gtk objects out except the gtk.main() initializer. I basically want to start a threading process, and still have …

Member Avatar for snakerdlk
0
318
Member Avatar for hamza123

My question is that what is the effect if I delete a pointer in a linked list by mistake??? What problems will arise and how will I come to know that is a missing pointer that is causing the trouble?

Member Avatar for hamza123
0
98
Member Avatar for henryford

Am I able to read or write to a file with this code or what is stumping me. The following is what I am suppose to do. Calculate each employee’s pay, and write it out to a sequential file. Be sure to include file I/O error handling logic. Include only …

Member Avatar for slate
0
174
Member Avatar for jp_mastermind

Hi, am currently trying to create a social networking website but I am having problem with the AJAX part... All i want to do is have a form to both insert the data in my database and to add this data dynamically to a table below it, thus each time …

0
102
Member Avatar for Sohelp

Hello All, I can not understood what is function Overloading? Please help me........ Your Regard Sohel Rana Bangladesh

Member Avatar for gerard4143
0
118
Member Avatar for Tumble_weed

I know this probably doesn't make any sense, but I'm going to try. I have a GUI I created for a checkbook balancing program. And I have an account class with a few extended classes (savingsAccount, checkingAccount, etc). I want to use the GUI I created with the account classes …

Member Avatar for Tumble_weed
0
127
Member Avatar for Stefano Mtangoo

Now, heading might be a bit misleading. If that is the case forgive me as I cannot think of best heading! i have database of books, that is e-books. Each table have page number and contents (to simulate true book). The problem is, I have to search for a word …

Member Avatar for Stefano Mtangoo
0
92
Member Avatar for ak_2005

hi! i tried to run the following program in BORLAND C++ version 5.02.. [code] #include<stdio.h> #include<graphics.h> #include<string.h> #include<math.h> #include<conio.h> int const monthcount=12,dataoffset=18; struct indata { float realarray[ 12]; float array[ 12]; }; char getlabel[3]; indata data; int monthplace[ 12]; float interval,chartbottom,radius; struct wcp { float x; float y; } coord[monthcount]; …

Member Avatar for Ancient Dragon
0
2K
Member Avatar for freiheit

Hello all :) I want when a user entres the requested data, the script to insert those data in the prope table depending on the choise the user does from the drop down menu. Below is the code. [CODE]$editFormAction = $_SERVER['PHP_SELF']; if (isset($_SERVER['QUERY_STRING'])) { $editFormAction .= "?" . htmlentities($_SERVER['QUERY_STRING']); } …

Member Avatar for hielo
0
178
Member Avatar for Sohelp

I have a little bit problem,and that is when i use inline function? Another one is advantage and disadvantage of inline function. Anyone help me? Your Regard Sohel Rana Bangladesh

Member Avatar for Sohelp
0
250
Member Avatar for ekkanh

Hi I am fairly new to python. I want to do a seating reservation program containing 32 seats so the users can reserve seats and unreserve seats. I know I need a class that sort of contains the seats, but I dont know how to make it.... I have made …

Member Avatar for slate
0
7K
Member Avatar for MoreBloodWine

Would someone please try & modify this query in a way that it shows the count for how many users have registered for the current day ? So like right now it should display a count of 2 and then come midnight it would show 0 and then incrementally go …

Member Avatar for MoreBloodWine
0
134
Member Avatar for raf08

im using a search form to serach my sql database to return on the requiered infromation but it seems to retive all the info, what i wnat the serach to do is if some1 types in say nokia and n97 for it to return just the results for nokia n97 …

Member Avatar for ryan-t
0
122
Member Avatar for hassin

program test whether the given integer is perfect or not i dont know why there is some error and how to solve it? [code]class perfect { public static void main(String args[]) { int a=o; int n; for(int i=1;i<=n;i++) { if(a==n) System.out.print("Perfect number"); else System.out.print("Not a Perfect number"); } } }[/code]

Member Avatar for Buffalo101
0
124
Member Avatar for o0oKodako0o

I have a problem about loading/saving ArrayList from/to file. I've searched some thread about this but it's not ok, because the demo used ArrayList<String> but i used ArrayList<Student> with Class Student [ICODE]public class Student { private String id; private String name; private int year; private String genre; private String course; …

Member Avatar for Buffalo101
0
172
Member Avatar for jrp370

i have this code to simulated a walk going either forwards or backwards amd i need to modify it so that it can go either up, down, left or right. only problem is im stuck can you offer any advice? thanks [code] import random filename="walk1.txt" def randWalk(n): steps = 0 …

Member Avatar for group256
0
97
Member Avatar for Armistice

For some reason im getting stuck in a loop after i enter in my "numberinput" i have a mimic case that does the same thing but with characters instead of numbers, and it seems to work perfectly all this is doing is checking to see how many times the user …

Member Avatar for Armistice
0
155
Member Avatar for jerrytouille

I'm sending out AJAX request for a XML file to plot a chart. The problem is everytime the response comes back, the chart refresh itself, even if the XML is exactly the same. I would like to use Javascript to check the content of the reponse XML with the cached …

Member Avatar for jerrytouille
0
106
Member Avatar for svatstika

Hi friends! I'm doing a small project in VC# 2008. In the main form (called myForm) I have a richTextBox (called myRichTextBox) and a button (called myButton). The thing is: when I click on the button, the last line from the richTextBox must be deleted. I'm doing like this: [code] …

Member Avatar for Momerath
0
4K
Member Avatar for lisvonj

I have displayed an array in which I have added numbers in. Numbers 1 through 9, with 9 being a sentinel value. That I cannot figure out how to assign these numbers to the corresponding indicies. Please, please help [CODE] #include <iostream> #include <iomanip> #include <string> #include <fstream> using namespace …

Member Avatar for lisvonj
0
145
Member Avatar for elminster67

hi guys, I have another noob question, I was wondering if anyone can help me with it. the home work assignment I have is "[B]In this assignment we are going to write a phone directory program. The user is asked to input a name and the program looks up the …

Member Avatar for elminster67
0
176
Member Avatar for ljjfb

Hello, all professionals, I used subprocess.Popen to launch a process, right now I am planning to shut it down after a given time. Can I use subprocess.kill() to fulfill that? (I do not know how to do that cuz every time I will receive a error message.) [CODE] import subprocess …

Member Avatar for ljjfb
0
16K
Member Avatar for ACARS

I know this might have came up, but i have a login code and once logged in it would show u your information that u entered in the sql database just for that one person that logged in. Here is my problem when i login it shows another users information, …

Member Avatar for kronald
0
149
Member Avatar for jems5

My attempt to write a recursive method to produce the results of the number of combination where x=13 and y=52 and Combination (y, x) =..... When I use small numbers (e.g.: 2,4) I tend to get a result only when I blank out the 3rd if statement. The formula used …

Member Avatar for JamesCherrill
0
146
Member Avatar for ZozOQ

Well i was wordering how can i do one file for whole site or with includes. Example i see some sites have index.php?page=register etc or index.php?page=portofolio How can i do that without if else because i have problems with it.

Member Avatar for ZozOQ
0
318
Member Avatar for timbad2021

I want to cache the thumbs because the images I am resizing are around 1-3 MBs each and it takes forever to load a page of thumbnails so I want to cache the thumbnails. Is this possible or do I need to take a new approach? Thanks! Below is my …

Member Avatar for arrgh
0
131
Member Avatar for D4rkN3t

I'm new to Vb and I'm just testing some stuff and at the moment im trying something new and im stuck... So here is what i want to do... [URL="http://img441.imageshack.us/img441/9858/hfghdfhg.jpg"]http://img441.imageshack.us/img441/9858/hfghdfhg.jpg[/URL] I want the username and Password fields to be the mail and password in here... [CODE]Dim MyMailMessage As New MailMessage …

Member Avatar for kronald
0
143
Member Avatar for theashman88

[code=c++] #include <iostream> using namespace std; int getNumChild() { int numChildren = 0; cout <<"How many children do you have? "; cin >> numChildren; return numChildren; } int calCredit(int numChildren, double income) { int totCredit = 0; totCredit = numChildren * 1000; if (income < 70,000) { if (totCredit > …

Member Avatar for theashman88
0
1K
Member Avatar for gazzy1
Member Avatar for fuston05

i am retrieving a $_GET variable date: $month= date(m, $date), is there a way to retrieve this and make it convert to its equivalent $month= date(F, $date)?? i need the variable info but i need to get the full textural representation of the month not just the number. And im …

Member Avatar for fuston05
0
82

The End.