199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for biotic.computer

Hi everybody :) i opened a freshly new blog about python and simulation in bioinformatics and i started by programming a DNA Replication,Transcription andTranslation simulator with very simple python commands so is there any improvement to the code source? the Vpython is needed for graphs the blog:[URL="http://bioticcomputer.blogspot.com/"]http://bioticcomputer.blogspot.com/[/URL] the code source:[URL="http://www.slingfile.com/file/ENAI9lK4FM"]http://www.slingfile.com/file/ENAI9lK4FM[/URL] …

Member Avatar for Gribouillis
0
112
Member Avatar for Darth Vader

I have two processes where the First process sometimes is writing to a file and the second process is reading this file. For the second process I wonder if it is possible to only read the file if the First process does not use the file. How would it be …

Member Avatar for Darth Vader
0
147
Member Avatar for saharh89

I've been lost in this class for weeks and I have no idea how to even do this assignment. [ATTACH]12667[/ATTACH] please help! It's in the attachment

Member Avatar for Narue
0
167
Member Avatar for marcux

Hi all! I want to make a subclass of dict and I have read about subclassing and the super method. The problem that I do not get is how I override the following method: [CODE]dict[key] = value[/CODE] This creates a new key with the specified value. I want to override …

Member Avatar for Gribouillis
0
195
Member Avatar for kavourdoukos

I would like to open from a file and then store the strings stored in the txt filed to an array.The txt file i want to open has 1 string on each line.So each line will be 1 string.What should i change here? [CODE]// reading a text file #include <iostream> …

Member Avatar for kavourdoukos
0
122
Member Avatar for sneekula

I was trying to create a 3x3 list of lists, and came up with this surprising behaviour: [code]# creating a 2D list with an overloaded * operator mlist3 = [[0]*3]*3 print mlist3 # [[0, 0, 0], [0, 0, 0], [0, 0, 0]] mlist3[0][0] = 1 print mlist3 # [[1, 0, …

Member Avatar for Mathhax0r
0
1K
Member Avatar for mimsc

Database records are returning strings as follows: "Washington%20Report%3A%20Good%20Faith%20Estimate%20Mortgage%20Disclosures" Is there a method that automatically translates those characters...or do I need to set it up? Apparently the %20 is equal to a space and the %3A is equal to ":" thanx in advance

Member Avatar for mimsc
0
280
Member Avatar for Musafir

i have to write a program that simulates the flipping of a coin. 1. the function should ask the user how many times the coin should be flipped 2. the program should display the poportion of times that the head and tails appeared. (for example if the user enters 10 …

Member Avatar for vegaseat
0
141
Member Avatar for foxwizzy

is it posible to increase a mysql table default value to increase by a number based on another number E.X. i have a default value set to 10 how do i increase it by 1 every 3 minult also if i add a new number "3"(in a box or text …

Member Avatar for diafol
0
98
Member Avatar for robayas

can anyone help me with my problem? i'm trying to set a password in my database using vb.net. here's my codes.. Private Sub btn_ok_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_ok.Click Dim chkpass As Integer Dim strsql As String Dim conDatabase As ADODB.Connection conDatabase = New ADODB.Connection 'Dim …

Member Avatar for SadOldMisterHam
0
174
Member Avatar for PetrQ

Hi all, please, help me with jquery - I'm totally amateur in javascript. I use script to assign the value to item selected from html select box. The second script adds row into my form. The first row works o.k. but if I´m adding another rows, only value from the …

Member Avatar for PetrQ
0
116
Member Avatar for khush9

Hey, anyone can plz help me out!!!!! i hav a tabpage on a form n on its click event i want to call the tabpage of another form (like frmcut.tabcontrl.tabpage1). But i dont know how to do it???? so plzzz help me...

Member Avatar for GeekByChoiCe
0
66
Member Avatar for SoulMazer

Okay, so I am writing a media player and I would like to be able to control the entire thing without the use of a GUI. So...are there any libraries or anything that would allow me to collect keystrokes on any OS (not just Windows)? Thanks in advance.

Member Avatar for Tech B
0
235
Member Avatar for aleezy

For my final project our group is suppose to simulate a game of table tennis this is what we have so far at the bottom. We followed the raquetball game setup for the code but we werent sure how to change this so that when a player scores it doesnt …

Member Avatar for masterofpuppets
0
2K
Member Avatar for Valaraukar

Hi, I'm trying to update an objects information within my linked list but for some reason after attempting to alter the data no changes appear to have taken place. As far as I am aware I'm not updating a copy of the object because I am finding the relevant object …

Member Avatar for Valaraukar
0
183
Member Avatar for samsons17

Hi.. I'm writing a code for the cash receipt program.... before this,i already make this kind of program.. but the program that i've made before is simply doing this task only : [B] //ask the user to enter the product information... Enter the product id : Enter the product name …

Member Avatar for samsons17
0
100
Member Avatar for Dorayaki

Hi Can anyone please check my code ? I'm trying to get today's date from database I tried many ways and I'm stuck now.. at my database access the transdate appears like this [CODE]11/29/2009 2:02:23 AM[/CODE] and this is my query code from VB.NET [CODE]"SELECT TransDate, Deposit, Withdrawal, TotalAmount FROM …

Member Avatar for Dorayaki
0
263
Member Avatar for sam023

i have a data in mysql in this format.. 1,2,3,4,5,6... can i split and show this data in this format in mysql?? 1 2 3 4 5 6 thanks ijn advance

Member Avatar for diafol
0
234
Member Avatar for asmikwen

Hello, Being on Access, I would like to transfer some data onto Mysql. But I cannot. Is there an easy way to transfer data onto Mysql? I am thinking that it should not be that hard to do. Thanks for your help.

Member Avatar for MeSampath
0
92
Member Avatar for hajiakhundov

Hello Everyone. I am creating this Windows Forms Application using Visual Studio. Basically, in order to do what I want to do, I need to use an integer, and that integer needs to be converted into a string in order to change the label text, when pushing the button. However, …

Member Avatar for hajiakhundov
0
2K
Member Avatar for Sky Diploma

Hey Everyone, I have written this Matrix Multiplication program. But The Program seems to crash when during the filling of the first matrix, exactly after the completion of the first row. Here is my implementation [code] #include <iostream> using namespace std; void generate (int ** ,int ,int); void fill (int …

Member Avatar for Sky Diploma
0
155
Member Avatar for Tahseen79

Hi I am taking MIS class and i need help with the EER diagram and i tried making it myself but teacher told me that it is a process diagram not an ER diagram please help me here is what i have tried: please click on this link [U][url]http://yfrog.com/j2mytryj [/url] …

Member Avatar for Ezzaral
0
154
Member Avatar for ryy705

Hello, What permissions should PHP files have on a unix/linux system? Is 655 appropriate? Many thanks in advance.

Member Avatar for diafol
0
84
Member Avatar for lewashby

Please look at the program below as well as my understanding of how it flows and correct me if I'M wrong. Thanks The first line in main - [COLOR="Red"]crit = Critter("Poochie")[/COLOR], creates an object with the string "Poochie" and autmoatically calls [COLOR="Red"]__init__[/COLOR], printing "A new critter has been born!" [COLOR="Red"]__init__ …

Member Avatar for lewashby
0
175
Member Avatar for sateeshbandi

I Have a C header file which has common structures which are used by various modules. Im developing my code using C++, few of the newly written modules are in C++. We have to use the same structures defined in that C header file. What i am thinking of doing …

Member Avatar for vmanes
0
123
Member Avatar for nizbit

I have a dictionary that I would like to load from a file into a class variable. The dictionary holds configuration data. I would have different files for different configurations. I was wondering if there is a way to do this? I found pickle but that saves an existing instance …

Member Avatar for winmic
0
92
Member Avatar for karthik chinta

Hi, I am trying to develop one requirement wherein I need a C++ map having both Key and Value as Structures. The structures are as follows: [code] typedef struct _keyInfo { int Key1; int Key2; } T_KeyInfo, * T_pKeyInfo; typedef struct _valueInfo { int value1; int value2; int value3; } …

Member Avatar for lyle017
0
10K
Member Avatar for unixmonkey

Hi Guys, This isn't really the right place to post this, but there doesn't seem to be a right place, so here it goes! I'm running a bunch of subversion repositories (one repository per project) over http (using apache). One of the repositories is a shared_classes repository that stores shared …

Member Avatar for unixmonkey
0
105
Member Avatar for MxDev

Hi guys, I'm writing a simple text editor with syntax highlighting feature, my code depend on a timer object to update the whole text every 1 sec., I found it's difficult to select all the text due to the regular updating of the text after timer ticks. So, Is there …

Member Avatar for MxDev
0
76
Member Avatar for gianx80

Hi, I'm studying the basis of C, C++ and Assembly languages at my university (I have two exams about these subjects, for now) ... and I have a problem ^^. I wrote a program in C (not so optimized, this isn't our present goal for my professors) that recieves in …

Member Avatar for gianx80
0
132
Member Avatar for Shotty

hey i'm trying to do my homework for a computer science class, and im a bit stuck. When i run the program, the terminal window doesn't even show up, can anyone help me please. Thanks in advance. class: [CODE]public class Grid { public Grid() { rows = 10; columns = …

Member Avatar for javaAddict
0
133
Member Avatar for digikid

I use Delphi 7 and just installed Win 7, 64 bit When I try to set an environment variable, it does not get saved to the OS. In XP, these same functions would save environment variables just fine. Does anyone have any knowledge to this issue? Thanks, Joe

Member Avatar for FlamingClaw
0
174
Member Avatar for saikeraku

I'm just trying to create a program that will remove all the trailing whitespace in a text file. (Like all the whitespace after each sentence for the whole text file.) [CODE] n = raw_input("Enter name of file: ") f = file(n, "r") fr = f.read() for fr in f: fr …

Member Avatar for woooee
0
130
Member Avatar for rati

Hi all, I was going throughthe concept of Polymorphism. Can anyone explain me how the vtable and vptr are created in case of virtual base class and what all values it contains. I have idea about the vTable and Vpt in case of polymorphism that the table contains the address …

Member Avatar for Narue
0
324
Member Avatar for NorthDakota

Hi all, again :) i have another problem with my program. I need to print a textbox that contain some data (of course). The textbox is formatted like this: [CODE] HEADER Data1 Data2 Data3 Data4 Data5 Data6 Etc... FOOTER [/CODE] I managed to print the file using the DocumentPrint object. …

Member Avatar for NorthDakota
0
235
Member Avatar for love_dude1984

hi.. i want to know how we can attach a ext. javascript to server controls like buttons or Imagebuttons. cause in my app. im using few image buttons. i want to change the image of image button on mouseover event, but when i try to write properties in my source …

Member Avatar for chandru7
0
155
Member Avatar for naziatarannum

Hi All, I need to track the number of times a link is clicked/file downloaded & capture this info in the database. please advise urgently..

Member Avatar for chandru7
0
82
Member Avatar for Afupi

Ok what I have currently is the blelow code in a for loop and this works fine it just doesn't format the text. [CODE] outString = outString + " " + i + " " + numArray[i] + "\n";[/CODE] I am trying to format the text of i to right …

Member Avatar for Afupi
0
253
Member Avatar for fjrivash

Hi *, I have some doubts about passing parameters to a method of a class. I am not sure if it is a problem of my design of the app or a problem of the implementation, I mean C++ knowledge. I have a class called MatrixHandler : The idea is …

Member Avatar for fjrivash
0
131
Member Avatar for phpangel

hi guyz, i want to write a program that will find the (sine, cosine and tangent) of adding and subtracting two variables using inheritance and polymorphism concepts. anybody plz help? appreciate the answer:)

Member Avatar for phpangel
0
119
Member Avatar for raigs

I need to generate and reuse a 5 digit random number every time my program is executed. But the following generates random numbers every time the function is called. [CODE]#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/stat.h> #include <string.h> #include <time.h> int RANDOM(void) { int RANDOMNUMBER = 0; srand((unsigned int)time(NULL)); …

Member Avatar for Ancient Dragon
0
119
Member Avatar for virus220

I have to display a picture in a picture box in vb.net form but i donot want to give full path of the pic i want just to specify a relative path how it could be done ?????

Member Avatar for GeekByChoiCe
0
96
Member Avatar for JimD C++ Newb

Good evening, everyone! I'm currently writing a game for a class, and I'm attempting to add a few extra features that aren't required. The one that is giving me difficulty is the high scores. I am saving the score and the name as a string. When a game ends, it …

Member Avatar for JimD C++ Newb
0
132
Member Avatar for gehring

Hi All, I am extremely new to C++ and would greatly appreciate any advice regarding the following question: I am trying to create a 2D array of CStrings, however it needs to be declared dynamically for my application. I have read up on numerous forums but I just cant seem …

Member Avatar for Clinton Portis
0
836
Member Avatar for Stefano Mtangoo

Hi all, please help me connecting exit menu to OnExit event handler Here is what I have coded so far! Also a coding question: What is the best method between these two: 1. Creating instance of JFrame and call its methods like set Size 2. create class that extends JFrame …

Member Avatar for masijade
0
123
Member Avatar for IT21

Hi i have created a search system at the moment i have connected to a MS database and have created select querys (select, from, where) the user enters a forname or searchname and the results show up in the appropriate textboxes and if there is more than one result the …

Member Avatar for TomW
0
100
Member Avatar for J0kerman

So i want to define a variable with the index of a current step, and then print that variable. For example I have a loop with 10 steps, and i want to define 10 variable: x1, x2, x3....x10 and then print them out: x1=something, x2=something, ......, x10=something.Does anyone know how …

Member Avatar for J0kerman
0
23K
Member Avatar for sathya8819

Hi, I have a problem. I have this image with various regions detected and coloured differntly. What I now need to do is, to find the mathematical center of each of these regions. I have the code for this. [CODE] int labelnew = 2,centerx,centery; List<Point> l = new List<Point>(); Point …

Member Avatar for sathya8819
0
73
Member Avatar for Behi Jon

Hi, What is the problem of this program ? It should print intertech systems, but it doesn't do . This program must convert all letters of the string to lowercase character . [code] Page 60 , 132 TITLE A08CASE (COM) Change uppercase to lowercase .MODEL SMALL .CODE ORG 100H BEGIN: …

Member Avatar for Behi Jon
0
212
Member Avatar for scorerecords

Hi Everybody, If someone could help me with this problem, I would really appreciate it. I'm a newbie and trying to finish an assignment. I've gotten stuck on one thing and can't seem to find a way out of it. I've already done the searches and spent at least 5-6 …

Member Avatar for VernonDozier
0
2K

The End.