199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for drjekil

I am totally new in biopython and its my first program.so may be i am asking stupid question. I am working with a text filelooks like this: #NAME AA TOPO ACCESS DSSP STRIDE Z-COORD 1lghB A i 79.8 H H -24.58 1lghB V i 79.6 H H -22.06 1lghB H …

Member Avatar for drjekil
0
165
Member Avatar for tah

Hi Sir Write a C program to count and print the total number of: upper case letters, i.e. ‘A’ to ‘Z’ lower case letters, i.e. ‘a’ to ‘z’

Member Avatar for jephthah
0
262
Member Avatar for tro

I am passing information between two forms. Up to now, I have passed information from one form to another. Is there another way to do this? [DisplayDie dpDie = new DisplayDie(dp); // Getting constructor error in this line DisplayPanel dp = new DisplayPanel(dpDie,dpDie);] When I swap the lines, error moves …

Member Avatar for tro
0
244
Member Avatar for mortalex

Hey guys, I've heard that you can write php code when its combined with javascript, you just need to echo"" out all the javascript functions. So i've done this and it is working.. to a degree. From using Firebug to test the page, the javascript is coming through and it …

Member Avatar for mortalex
0
140
Member Avatar for tigger0484

using visual studios C++ express 2005 edition this is my code but when I run it I get a bunch of garbage...any suggestions would be greatly appreciated!!!! [code=cplusplus] #include <iostream> #include <fstream> using namespace std; int length(char phrase[]); void concat(char phrase1[], char phrase2[], int measure1); void copy(char phrase1[], char phrase2[]); …

Member Avatar for tigger0484
0
264
Member Avatar for mofoparrot

Hey guys, I'm new here, I looked through the help also searched and couldn't find anything that helped. Although I will be using the Algorithms you guys have on this site. anyways I only took a intro course to C++ about four years ago and don't remember much I wrote …

Member Avatar for mofoparrot
0
132
Member Avatar for ericisshort

This is probably the most frustrating thing in c++ for me. I can handle compile errors just fine, but when I get a core dump, I get so frustrated, because I have no idea where the problem is, especially when I have 300+ lines of code to be looking at. …

Member Avatar for mitrmkar
0
103
Member Avatar for websurfer

hello, all: I need help retrieving records from a catalog-like format I am building. Should be soemthing simple i think, but just cant get it... Here is the thing: I have a mysql "Products" table with each product's info in it, and another "images" table that has all the image/paths …

Member Avatar for phper
0
72
Member Avatar for ITJohn89

hi my name is john i have been trying to learn how to design my own software. i have been told in order to i must learn c++ i have just download Visual C++ Express Edition am not to sure what i am doing so if anyone could give me …

Member Avatar for mitrmkar
0
117
Member Avatar for Black Magic

Hey i've made a simple calculator, but i was thinking about adding a square root option.. But is there a actual way to do this or would i have to create my own?? PLEASE REPLY A.S.A.P

Member Avatar for hammerhead
0
136
Member Avatar for DigitalPackrat

I searched the forums for Windows API tutorials and have found [URL="http://www.winprog.org/tutorial/"]this[/URL]. Is it necessary to do everything manually like in the tutorial and after getting the hang of it move on to QT or should I jump into QT right now?

Member Avatar for eager
0
253
Member Avatar for williams1987

Hi all, I am working on a simple form for work, which has multiple questions (labels) and text boxes and combo boxes (to answer the questions). My issue is that i do not wish to show all the questions right from the start. Some questions will remain non-visible, until a …

Member Avatar for williams1987
0
95
Member Avatar for n8makar

sort of a noob as i have been doing c++ for only a couple months now. my problem is that i am using a function to pass data from a file into an array then into a .out file. the function im using to read the data from the file …

Member Avatar for vmanes
0
518
Member Avatar for wiggles

I have to write a computer program to play connect 4 against a human player by friday. I have no clue even where to start on this. I have already written the game, i just dont know what to do about the computer player. Please Help me!!! p.s. What is …

Member Avatar for Narue
0
2K
Member Avatar for Bobbiegirl

I have written the following code to try and run a report that will list customers names and ytd charter costs whose ytd charter cost are greater than the average charter cost for all customers. There are 4 table involved: customer: PK cus_code, cus_fname, cus_lname|| charter: pk char_trip, char_date, cus_code,char_distance,ac_number|| …

Member Avatar for Bobbiegirl
0
169
Member Avatar for skelly16

HI All I have a script which counts how many times a job has failed. For some reason my echo $list wont work in a variable, it works if i dont put it in a variable, but i need this in a variable so i can do a grep -c …

Member Avatar for eggi
0
163
Member Avatar for daviddoria

I keep getting this error: this application has failed to start because MFC80.dll was not found. In the past, when I've got this error i've played around with "Runtime library", switching it from /MDd to /MD to /MTd......etc etc then I turn off and on the manifest files then I …

Member Avatar for daviddoria
0
105
Member Avatar for Impact4ever

Hey I need some with help this... I'm writing a script that will display, "date and time, how much memory and HD is used, plus display the type of processor info and temperature of the CPU". Then redirect the output back into the script. I found everything what the teacher …

Member Avatar for eggi
0
63
Member Avatar for msnider9

Here is my code package prg420.week5; //Creates the package import java.util.*; class Grades { //Creates the class for the variables private double grade1; private double grade2; private double grade3; private double grade4; private double grade5; public void setGrade1(double val) { grade1 = val; } public void setGrade2(double val) { grade2 …

Member Avatar for KimJack
0
92
Member Avatar for swaret

Hi all! i write because ive a little problem with a c++ binary tree. I wrote all the cose, and the program runs, but i have a dubt: the destructor and the copy constructor. i wrote in 3 files: nodo.h, albero.h and albero.cpp (nodo means node, albero means tree) [code] …

Member Avatar for swaret
0
129
Member Avatar for leroi green

hey all, i've got a new issue with a program that allows the user to enter a number and then that number is checked against a random number that the PC chooses. Here's the code: [code] Private Sub xCalcButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles xCalcButton.Click 'show the …

Member Avatar for Jx_Man
0
69
Member Avatar for vishwajit

Hi Can anyone help on how to add passwords to already created users non-interactively in shell script. Passwords will be stored in one text file. Script should automatically take passwords from file. Thanks in Advance Vishwajit

Member Avatar for eggi
0
92
Member Avatar for macslayer

Hello again, This may or maynot be proper thread for this topic, but here it is. I have a coldfusion 7 serve that I am running a page on, that uses hash(<email>,"MD5") all it well and good makes me a hash string and all. I store this hash and in …

Member Avatar for macslayer
0
152
Member Avatar for Jimbo43

Hey, all. I'm writing a progam that uses Binary search trees to create a game similar to the 20 questions game. Unfortunately, I'm not quite sure how the code works completely. I think it should probably have recursion in it somewhere as we just got done covering that, but I …

Member Avatar for Jimbo43
0
2K
Member Avatar for octavia

what kind of variable is UINT anyway..........? in VC++ Anyone can help me? I still cann't understand it's detail usage. :-/ :icon_question:

Member Avatar for Narue
0
329
Member Avatar for buvnut

hi there i was wondering if any1 could help me with this problem. i am a beginner at c++ and my coursework is asking me to create a program with a hash function and i am lost! could any1 tell me how to implement this? here is my problem - …

Member Avatar for Narue
0
110
Member Avatar for KimJack

Hello All, I really hope that someone can provide some assistance. I have read a XML file into my hashtable. Next I created a second hashtable. If a key is located in my first hashtable, I want that key along with its value to be inserted into the second hashtable. …

Member Avatar for KimJack
0
103
Member Avatar for farifari

can anyone tell me how to make exe file with VB.net, including i hav excel file linked with VB.net????? PLZ plz plz plz send me the whole process to make exe file in VB.net

Member Avatar for Jx_Man
0
69
Member Avatar for kharri5

Hello again, I posted before about reading values from a delimited text file into a class with string properties, and then jamming that class into a dynamic array. It turns out that reading from the text file (which will be updated and contain about 500 lines to start) is a …

Member Avatar for yarfangor
0
547
Member Avatar for RatherBeInVegas

I have a program that provides different responses each time it is ran. I created it via an empty project and the output is simple cout statements to the DOS window. Is there a way to convert a C++ program I created into an Windows application that displays output and …

Member Avatar for William Hemsworth
0
107
Member Avatar for sandip250382

Buddies, While I am trying to open a new website in Visula studio 2005(ASP.NET WEBSITE) where location="HTTP",error message says"Unable to create the web "http://webiste1/website3.Could not find a web server at website1. please check to make sure that the web server name is valid and your proxy setting are set correctly …

Member Avatar for ericstenson
0
78
Member Avatar for kelvin_b

Hello people, I'm new here and new to java also... My only programming experience is in C, but now I have to do some work in java. First, the problem is: My input is an image file that contains different routes from a source to destination. (I have attached the …

Member Avatar for Ezzaral
0
91
Member Avatar for msnider9

I am not sure how to fix this problem. I am trying to pause the display after the first 15 lines until the array ends. /* Week 4 Individual * Programmer: Melissa Snider * Date: 4/6/2008 * Calculate the mortgage payment for 3 loans with an array */ package prg420.week4; …

Member Avatar for Ezzaral
0
97
Member Avatar for Adila

Hi, Could someone point out ways on how I could reload the frame? so far, what I've done : [code]int more = JOptionPane.YES_OPTION; more = JOptionPane.showConfirmDialog(null, "BOOOoooM!!! Would you like to play again?", "", JOptionPane.YES_NO_OPTION); if(more == JOptionPane.YES_OPTION){ myFrame.setVisible(true); } else{ myFrame.setVisible(false); } [/code] I'm not sure what I should …

Member Avatar for Ezzaral
0
156
Member Avatar for daviddoria

I seem to be able to write as many characters as I want into "buffer" even though I declare it as length 1 - why is this? [code] string teststring = "teststring"; cout << teststring << endl; char buffer[1]; itoa(34567,buffer,10); teststring.append(buffer); cout << teststring << endl; [/code] Thanks! Dave

Member Avatar for Narue
0
114
Member Avatar for emilio

hello i am trying to figure out the output of this specific code [CODE]int main() { int i , parent_id , ans ; parent_id = getpid() ; for ( i = 1 ; i <= 5 ; i++ ) { if ( getpid() == parent_id ) { ans = fork() …

Member Avatar for emilio
0
481
Member Avatar for sjgriffiths

Hello char **pOutData; /* Output results */ char *ptoken I have a pointer which contains the following hdjhasdjkhasd;stephenjohnson;647823463;dhasdjhaj I want to work through and get out just stephenjohnson I have the following so far, which does not work....any help? [code=c] for ( size = 0; size < b2b_data_drill_nNoSelect; size++ ) …

Member Avatar for Ancient Dragon
0
147
Member Avatar for alrjr79

I'm trying to create a simple macro that changes header name. Example: header name: vcom#, run macro will change to itemnumber. I want the macro to check the first row for vcom# and change it. The header vcom# will never be in the same cell, it will vary worksheet to …

Member Avatar for alrjr79
0
288
Member Avatar for Slade

Howdy guys! I need help with something (yes, again). What my plan is, is to have two user inputs on a website, one of these inputs will be the header for the html e.g. "DaniWeb TechTalk computer support", the other for the page content, e.g. "Hi, my name is zorba...". …

Member Avatar for mallyajiggs
0
407
Member Avatar for timdog345

I need to use a for loop to print out the odd numbers between 25 - 1. program2 1) I also need to use a for loop to prompt user to input two intergers: firstNumber and secondNumber (firstNumber must be less then secondNumber) 2) Outputs all odd numbers between firstNumber …

Member Avatar for hammerhead
0
126
Member Avatar for lifeworks

Hi, any help would be greatly appreciated on this Ive discovered that if I am using a form, with the 'server[php_self]' action, then variables that i created earlier (such as ones i retrieved from the URL) disappear, or become unuseable... how do i retain these variables, or pass them for …

Member Avatar for lifeworks
0
271
Member Avatar for Sky Diploma

Hi all, I am currently working on a program which tests whether 2 numbers multiplied produces a PALINDROME. An example of a palindrome is 16461 which can be read same from both ways hence i devised a test. [CODE=cplusplus]#include <iostream> #include <string> using namespace std; char pali(char orig[100]); int main() …

Member Avatar for Sky Diploma
0
164
Member Avatar for SonxQ7

Hi all, new here so have 1 question... Am wondering this forum has a section for Windows Programming discussions

Member Avatar for Ancient Dragon
0
88
Member Avatar for GLT

Hey guys! I was wondering if anyone could help me. I am a student on my work placement year and I am developing a web based database. I have been asked to design it so users can if need be add a new table to the database or add a …

Member Avatar for pmpn
0
258
Member Avatar for melystar

Hello, I'm still getting the hang of coding (just started a few weeks ago) so this may seem like a daft question. I keep on getting three errors when I run my code: ode_functions.c f:\ode_functions.c(41) : error C2296: '^' : illegal, left operand has type 'double' f:\ode_functions.c(41) : error C2297: …

Member Avatar for Nick Evan
0
183
Member Avatar for k2k

can anyone tell if it is the right way to connect these tables? What is the query display customerid, b_customer_id, and h_customer_id... thxxx --customers [code=sql]drop table Customers cascade constraint; create table Customers( Customer_id Number(5) primary key not null, Credit varchar2(20), Street varchar2(20), City varchar2(12), State varchar2(2), Zip varchar2(5), Telephone varchar2(14));[/code] …

Member Avatar for debasisdas
0
116
Member Avatar for GLT

I created a user registration page using ASP and Dreamweaver, I tried to create a drop down box filled with options from a database. I only wanted the box to contain one of each option but it contains every one, one for each user when i view this in firefox. …

Member Avatar for pmpn
0
119
Member Avatar for SpnIslander

Hi All, Pls help to correct my code below. how the Else statement work? i can't get the correct answer it's alway the IF statement is evaluated.tks. Private Sub txtPrice_Change() Dim intVal As Integer If Val(txtQty.Text) >= 0 Then lblVal.Caption = Val(txtPrice.Text) Else lblVal.Caption = Val(txtQty.Text) * Val(txtPrice.Text) End If …

Member Avatar for venkatramasamy
0
97
Member Avatar for eng.atia

Hi all, I want a valuable book that illustarte OOP concepts in C#. I hope that the book I'm looking for deep more in OOP concepts.

Member Avatar for seka208
0
80
Member Avatar for allialli

i am having problems with this assignment : Write a program that prints an N by N box on the screen as follows: Please enter a number between 2 and 10: 5 ----- | | | | | | ----- Press any key to continue . . . Note that …

Member Avatar for WonderWomen204
0
101

The End.