199,114 Archived Topics
Remove Filter ![]() | |
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] … | |
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 … | |
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 | |
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 … | |
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> … | |
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, … | |
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 | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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... | |
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. | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
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 ![]() | |
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. | |
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, … | |
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 … | |
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] … | |
Hello, What permissions should PHP files have on a unix/linux system? Is 655 appropriate? Many thanks in advance. ![]() | |
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__ … | |
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 … | |
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 … | |
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; } … | |
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 … | |
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 … | |
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 … | |
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 = … | |
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 | |
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 … | |
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 … | |
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. … | |
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 … | |
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.. | |
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 … | |
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 … | |
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:) | |
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)); … | |
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 ????? | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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: … | |
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 … |
The End.