199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for javamum

I am trying to write a C++ program that finds the root of the following function: `x{(1 + [(k*n)/(1 + k*x)]} - L` using newton's method and this is the code I have and I cannot figure out what is going wrong, no matter how many iterations I put in, …

Member Avatar for Dani
0
605
Member Avatar for PillFORM

I am currently working on a Store for my website [B]funkinfamily.com[/B]. My store will be selling MP3 music downloads (Digital Releases) of music from my label. I am programming my store with PHP so I thought I would ask the PHP-heads here. The question i have right now is, how …

Member Avatar for PillFORM
0
214
Member Avatar for mixsir

Dear All members. I'm a very freshy member and just register today. Programming is very new for me. Please advice how to how to put the random integer between 1-100 into the 2 dimensions array (5x5 metrix). What me just know the function rand() can be used to generate a …

Member Avatar for siu05rr
0
161
Member Avatar for degamer106

This problem is asking me to convert an infix expression to a postfix expression using recursion. I did the exact same problem using stacks (w/o recursion), which was much easier, but on this one, I get stumped constantly when I try to come up with a line of code to …

Member Avatar for Lerner
0
332
Member Avatar for swapnamishra

Hi, I have a file named demo.py.The contents of the file are: [code] class a: name="swapna" def show(self): print a.name s=a() s.show() [/code] When I execute the file it gives me the following error: "<bound method a.show of <__main__.a instance at 0x009D58C8>>" Kindly advice on how to proceed with it.

Member Avatar for bumsfeld
0
151
Member Avatar for gatormike53

New to Linux and need the credit for my class to ensure a good grade but not sure on the cmd line to finish I have created a data file called ".addr_book" in home directory plus a 'bin" directory . NOW this is what I am unsure of I need …

Member Avatar for ranj@chn
0
339
Member Avatar for stackOverflow

Hi, I've got a module where i search for a candidate with his Id and display his name, age..etc.. I've put the details like name , age etc.. in the datagrid. The search module is working fine.. when a valid candidate Id is entered. But when an invalid ID is …

0
101
Member Avatar for sargorath

Hi, Can anyone help with a project I'm working on I'm new to classes and I got really confused while trying to convert a simple console application in to a class file. I would appreciate some help if anyone willing to. Following is the code I am trying to convert …

Member Avatar for dude543
0
157
Member Avatar for KimJack

Hello all, I am wondering if anyone has any or know where I can get examples of source code using linked list implementation of stacks. It needs to use a class that stores ints that can be retrieved. Anything you all can provide would be great!!!:-|

Member Avatar for MIGSoft
0
356
Member Avatar for axiss

Hi I was just wondering how you change the text colour of only some of the text in a console when you are using cout to display your text. I tried using [CODE]system("Color XY");[/CODE] obviously where X and Y are hex numbers and X sets the background color and Y …

Member Avatar for Ancient Dragon
0
240
Member Avatar for Acidburn

How can i display a dialog window with adding a class to it and using the following to invoke it: CClasX dlg(this); dlg.DoModal(); I know you can do it without a class but im not sure how. And second why would you want to invoke a dialog without a class …

Member Avatar for Ancient Dragon
0
99
Member Avatar for Phaelax

I'm using a JEditorPane and StyledDocument, which automatically wraps text to the window. I cannot have this, I need the window to allow horizontal scrolling of the text. I've been all over yahoo and google and cannot find an answer on how to disable word wrapping. And before anyone tells …

Member Avatar for server_crash
0
208
Member Avatar for smart girl

[COLOR=#000000]hi all I am trying to be much familier with pipes I tried to write a c program that generates the following output [B]from child: I want to print this line twice [/B] [B]from parent: I want to print this line twice [/B] what I get is [B]from child: I …

Member Avatar for smart girl
0
120
Member Avatar for problems

[COLOR=black]i would like to find files that have been modified during a month. lets say i am type in 2004 06 it will find files in the month of june. i know using l -la lista all the files and thier attrbutes. and one of thier attributtes is last modified …

Member Avatar for ranj@chn
0
89
Member Avatar for butterflyTee

THIS WINDCHILL TABLE PROGRAM IS RUNNING, BUT THE NUMBERS IS STILL NOT LINING UP STRAIGHT..WHY, CAN YOU PLEASE HELP ME..THANKS HERE IS THE PROGRAM BEFORE I RUN IT.. [CODE]def windchill( vel, temp): wc = 35.74 + .6215*temp - 35.75*(vel**.16) + .4275*temp*(vel**.16) return wc def main(): print (" __ __ __ …

Member Avatar for bucodi
0
2K
Member Avatar for avalloc

I am having problems with a program I am writing. Write a program to read 2 integers. Then call a function to add them together and return the result. Display the result from the "main" program. How would I go on doing this?

Member Avatar for avalloc
0
86
Member Avatar for some one

hi every1 i have this code which is delete a node in the graph but there is 5 errors and 1 warning I need u to help me with this errors [CODE]#include<iostream> using namespace std; template<class TYPE> struct Vertex; template<class TYPE> struct Arc; template<class TYPE> struct Vertex { Vertex<TYPE> *pNextVertex; …

Member Avatar for Bench
0
267
Member Avatar for Viji

Hello everyone, One of my friend got the mini project in college.She is expected to do the project in VB.net. She want to be sure that what are all the software required. Is these software enough to learn the VB.net as a starter 1. Microsoft .NET Framework 1.1 Redistributable. 2. …

Member Avatar for Bharati Krishna
0
149
Member Avatar for bhupendra

Hi all, How to create a model less dialog box using python 2.3 tkinter? Thanks in advance, Bhupendra

Member Avatar for bhupendra
0
178
Member Avatar for TiagoDias

Hi there, I was trying to get a [B]Scheduled Job[/B] (in SQL Server 2000) to [B]run every second[/B] or two. I had three T-Sql blocks I needed to execute every two seconds, and you know you can just schedule recurring times to every minute. I started out by introducing multiple …

Member Avatar for TiagoDias
0
228
Member Avatar for StandardsDT

hey everyone im posting this in here cause its the only place that seems some what relevant to GeSHI as it uses php5. anyways heres my issue our forum is IPB 2.1.X if you visit the following link youll clearly see that my responce is wrapped in the quote box …

Member Avatar for Phaelax
0
223
Member Avatar for cindy_16051988

Hello, everybody. Sorry to disturb you all. Currently, I have a speech recording and playback software developed by Microsoft Visual C++ 6.0. The software is used to train children with speech problem and scores will be calculated and showed at the end of each practice session. The software is able …

Member Avatar for cindy_16051988
0
2K
Member Avatar for rockwell

Hi all, i am new to shell scripting and know very few basics, i have a shell script program written by some other guy and i am trying to understand it. I am unable to understand a few parts of the program, hope some one cud help me with this …

Member Avatar for kamitsin
0
214
Member Avatar for crizzio

so basically, i think i have the basic idea written down but am not really understanding the errors i recieve like for example one of the errors were, "error: invalid conversion from `int' to `double*'" but ya...code if below....id appriciate the help, thanks [code]/** * CS-11 Asn 9 * gradebook.cpp …

Member Avatar for Dave Sinkula
0
200
Member Avatar for qljolly

some one told me to repost this with code tags so here it is again I have been working on this for the past week and i am almost done but i dont know why my program keeps crashing at the end game check and also it doesnt realize that …

Member Avatar for Ancient Dragon
0
445
Member Avatar for riscphree

In case anyone has this book, I'll mention it. I'm trying to complete Exercise 8-2 from Oreilly's Practical C++ Programming. The problem is to total the resistance of n resistors in parallel. The forumla for this is 1/R = 1/R1 + 1/R2+ ... 1/Rn For example, say you have one …

Member Avatar for riscphree
0
335
Member Avatar for avalloc

I am working on a C++ program where you enter 6 integers and then use an array to store them. It then asks you to enter another integer and then reports if the last one is in the array. I have been working on it a while and I can't …

Member Avatar for Ancient Dragon
0
126
Member Avatar for peter_budo

I'm trying to create a login for clients to server based on three way handshake. Client send his username in synchrinization to server, server acknowledge and send random encryption string to client with request for password, client encrypt password and send over to server. If password ok connection established. I'm …

Member Avatar for Phaelax
0
196
Member Avatar for mani84

I am trying to update two related tables, so I created the code below. However, when the program runs the information is not updated to the DB and a message saying update unsucessful appears. Please could you help me, what am I doing wrong? [code] private [COLOR=#000000] [/COLOR][COLOR=#0000ff]void[/COLOR][COLOR=#000000] saveToolStripButton_Click([/COLOR][COLOR=#0000ff]object[/COLOR][COLOR=#000000] sender, …

0
153
Member Avatar for qljolly

I have been working on this for the past week and i am almost done but i dont know why my program keeps crashing at the end game check and also it doesnt realize that there is a piece that interrupts the connect four if it were like XXXOX it …

Member Avatar for Rashakil Fol
0
164
Member Avatar for elidio

Hello, good afternoon. Im a newby user writing my first shell script, and i trying to make it run with the cron utility. If i run this code manually, the code was sucefull runned, but, when i put in this task in the crontab, the mail dont cant sended. When …

Member Avatar for elidio
0
473
Member Avatar for Blujacker

How can i do full screen? How can i get size of monitor? Is that possible? Thanks

Member Avatar for bumsfeld
0
114
Member Avatar for Fenerbahce

Hi, How can i get this on screen ? sql= new sqlcommand("select count(*) from datas", database123) ... ... persons=sql.executereader() ... ... label1.text= [B]????[/B] [B]Thanks[/B]

Member Avatar for Fenerbahce
0
186
Member Avatar for tgreer

Does anyone have a good example of how to use this method? All of the MSDN examples I could find are useless because: [LIST=1] [*]they show a hard-coded size for the byte array [*]they show writing the output to the Console[/LIST] Ridiculous. I have a file that contains some binary …

Member Avatar for _r0ckbaer
0
208
Member Avatar for qgirl

I am suppose to write a c++ program that show 1. shows the different breakfadt items offered 2. allow the customer to make more than one selection 3.allow the user to select multiple orders of a particular type 4. calculate and display the bill This is what i've got so …

Member Avatar for Lerner
0
138
Member Avatar for rabidpanda

Well, I'm working on the hangman program. We were told to do it with three classes, a hangman class, an interface class and a tester class. I got the program working at school last night, but when I loaded it at home, it doesnt compile right. The hangman class will …

Member Avatar for rabidpanda
0
188
Member Avatar for regbrz

Heloo! I found codigo well very interesting, but the same it considers that all the processes arrive in instant zero, as I can make to consider arrivals in aleaórios instants. [code]* Scheduling Simulation*/ #include <stdio.h> #include <stdlib.h> /* Process Data Structure */ struct process { int pid; /* Process ID …

0
311
Member Avatar for Gurps

[COLOR=#000000]Hi All,[/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]I have been searching for asp paging code on the net and I have managed to find loads of it. I have a database with just one column which contains loads of pictures and I would like to display 6 pictures at a time on a page …

Member Avatar for Gurps
0
113
Member Avatar for Sona

I have an input file coming, based on what is there in the starting from the third character (which is the table name starting from 3rd character in the first line).I have to set the parameter x. like If the table name='employee'(sarted from the third character) then x=1 if table …

Member Avatar for Sona
0
104
Member Avatar for PeterMoris

I’m currently working on a distributed application that requires cluster wide caching support for its operation. Since ASP.NET Cache does not work in clustered environment, I was thinking to code my own custom caching solution and confronted some issues. As we all know that a unique instance of Cache runs …

Member Avatar for ScottSimpson
0
218
Member Avatar for bondito

Hi Everyone, i am trying to use an encryption class to encrypt pasword characters, i have modified the encryption class correctly, but i am getting an unreachable statement error and a missing return statement error. Pls could any one tell me what the problem might be with the code. Thanks …

Member Avatar for server_crash
0
171
Member Avatar for Vedavyas

How to load an image (say a JPG file into Turbo C or C++)? If can't can it be done only in VC++? :-|

Member Avatar for Vathanak
0
824
Member Avatar for vader

Hi, I have a simple program that ask for a four digit number and then multple questions and writes the input to a text file, so I have a text file with multple lines of information and each line starts with a four digit number. I now want to check …

Member Avatar for KevinADC
0
246
Member Avatar for robertlees

I would like to create a spell check facility. I have a huge flat file of words. This file has no cr/lf. How should I do this ? I think I want to read this file say 500 characters at a time. I'll store this data in a variable, adding …

Member Avatar for robertlees
0
265
Member Avatar for stallion88

The first three people to complete this program will be entered into the annual contest for Top Coder! The grand prize is the chance to become one of TopCoders independent programmer. This is a special opportunity to get paid for programing projects that you create. Below is the program to …

Member Avatar for Rashakil Fol
0
553
Member Avatar for DotNetUser

I'm coding in VC++.NET 2003. I have a class that needs a log file to log info and errors for debugging. The problem I have is that FileStream and StreamWriter can not be global. I get compiler error C3145 : cannot declare a global or static managed type object or …

Member Avatar for Ancient Dragon
0
134
Member Avatar for tydruk

i have a xml document from which i must get the following things, [B]Riigi_nimi[/B], [B]pindala[/B] of it and [B]rahvaarv [/B] with the [B]riigi_nimi[/B] and [B]pindala[/B] i have no problems, but i can't get the program to print [B]rahvaarv[/B], i just can't find a way to copy it into a new …

Member Avatar for tydruk
0
525
Member Avatar for butterflyTee

# sum.py # tpm # A program that accepts an indeterminate (any number) of integers entered by # the user, calculates and their sum, using loop [CODE]from math import * def calc_sum(): n = input("Enter any number: ") sum = 0.0 for i in range(n): x = input("Enter a number …

Member Avatar for bumsfeld
0
130
Member Avatar for muthu

hai friends, i want to access the asp.net variable in the javascript. ie i want to access the field that was displayed in the asp.net pages will be accessed in javascript. real problem is, my project is online examination there i am using duration for the exam which is stored …

Member Avatar for muthu
0
125
Member Avatar for Stewie

Hello, I am very new to java so my question might seem stupid :p anyway I am in a class where we are makeing a patron loading system for a library (every one else in the class is new to java also :) ) we have our basic form built …

Member Avatar for iamthwee
0
327

The End.