132,726 Archived Topics
Remove Filter ![]() | |
Helo all, I wanted to parse EMBL format like file to fasta. i cannot use bioperl because this is not complete EMBL format. so please suggest me how to get this done.. [CODE] ID 013789-0068 PS TBD OO huringiensis OS ringiensis OX SI 68 RA RL 2010. OKAYAMA UNIVERSITY,JAPAN LAMB … Software Development perl shell-scripting | |
I have had an issue with getline(cin,string) in several of my programs. The program does not allow the user to input information after the cout statement preceding getline(cin,string). Below is an example code of the issue I am having(Btw I am using code::blocks with GNU compiler): [CODE]#include <iostream> #include <cstring> … Software Development c++ | |
I converted old C++ project to VS.Net 2010 with 4.0 Framework. error C2440: 'static_cast' : cannot convert from 'void (__thiscall CChatView:: * )(LPARAM,WPARAM)' to 'LRESULT (__thiscall CWnd:: * )(WPARAM,LPARAM)' [CODE] // .cpp File ON_MESSAGE(WM_ChatAddSize, OnChatAddSize) void CChatView::OnChatAddSize(LPARAM lParam, WPARAM wParam) // .h file afx_msg void OnChatAddSize(LPARAM lParam, WPARAM wParam); [/CODE] … Software Development c++ | |
I am having some problems with simulating POisson arrivals and departures in Java. I want to simulate 400 cars/hour as arrival rate and 20 cars/hour as departure rate. I have a parking capacity of 500 cars where these cars enter/exit. When I am checking occupancy values, even after a couple … Software Development java multithreading | |
Hi everyone I have a question and I need your help I want to sort an array but I dont want to change the index I mean if I have an array F[6,5,4,3,2,1] it will be like this 0 6 1 5 2 4 3 3 4 2 5 1 … Software Development java | |
Hello , i had decided to make my academic project in digital signer ,so i surf net for it and got a sample. its main aims is ti sign only one pdf..so i decided to make the application to sign all pdf which r there in a folder,i had done … | |
Hello, I did not find what I was needing with a search, so here goes. I am having problems getting my calendar to work, passing a start and end date for a rental car and displaying on the form the number of days chosen and the amount for the total. … Software Development vb.net | |
To check file present in FTP server everytime file is kept if yes then send automatic mail to be send to the respective user Software Development | |
I have a file, "multi.ico" which has four images of different sizes (16x16, 24x24, 32x32, 48x48). Each sized image is a different color, to make it easy to tell which size we are dealing with. This file has been inserted into a resource file "Multi.resources" using Lutz Roeder's .NET Resourcer. … Software Development file-system image | |
Hi everyone, I'm trying sort a C++ struct and print the result as output file. I don't know how to sort the structure. Did anyone develop this before? Thanks a lot, [CODE] #include <stdio.h> #include <stdlib.h> #include <iostream> #include <fstream> #include <string> #include <vector> #include <sstream> #include <algorithm> #include <cstdlib> … | |
Hi, can someone point me in the right way? I'm running linux and I'm looking for the right include files and commands that would enable me to configure my wifi card. ie create a ad-hoc with another computer, or connect to a wifi router. I don't want to do through … Software Development c++ | |
I want to start a method whose name is in a string. My server program will be receiving commands from the client, perform those commands, and send the information back to the client. So instead of using a switch with many cases that only execute a method, I thought it … Software Development client-server | |
First of all, sorry if my title is not all that descrptive and if this has already been answered, I looked around but did not find it so I decided to make my first post/thread. I am working on a little offline game right now and what I'm trying to … Software Development c++ | |
I would like to make a LUDICROUSLY high number calculator in Python. I am thinking 60 numbers and a decimal point. So numbers could be in a format like these: 60 numbers, 30 numbers decimal point 30 numbers (30nums.30nums), or decimal point 60 numbers (.60nums). E.g. 999,999,999,999,999,999,999,999,999,999.999999999999999999999999999999 But, I am … Software Development python | |
OK I have yet another homework problem. Again, help me by teaching, not writing my code for me. I have looked through the pages of threads on collision detection and found nothing to answer my question. My issue is that I have a collision detection method that should (in theory) … Software Development java java-swing | |
I am new to java and have been working on a project. The project involves two files: One with student ID numbers and their answers for 10 different questions. The second file contains a bunch of ID numbers from the first file. The second file has id numbers for a … Software Development java | |
Start Main( ) or btnRun_Click( ) Create a RaceCar object Set the car name to “Fast One” Set the x coordinate to 200 Set the y coordinate to 100 Call the car’s Move( ) method and show the resulting message Display a blank line to separate the two object results … Software Development | |
Hi, I would like to ask about sorting lines in C++, (4 columns = 3 columns of integers and the last one a string): 3 56 3 NA 7 50 5 NA 2 100 1 OK I tried the function sort() using a vector of strings, but failed in cases … Software Development c++ | |
Hi :) i am new in C# and i am a little confused with the abstruct, virtual and override terms in C#... why they are good for? i tried to google it but i got more confused... for example - i am making a chess program and i made a … Software Development legal | |
I have a 3x3 array of [ICODE]MSTextField[/ICODE] which is a class I created which extends [ICODE]JTextField[/ICODE]. I'm trying to set all of the text fields to display the empty string ([ICODE]""[/ICODE]). My problem is I'm getting a nullPointerException at the end of the method which is supposed to do this. … Software Development java | |
Hi, I need help with some small exercises. I'll try my best to provide my code but these are ones that I don't know how. So... maybe you can help me with yours! Thanks 1. Question 1: A program contains the following method definition: [CODE] public static int cube(int num) … Software Development java | |
Hey! I'm new to the forum and also a new developer. I'm trying to build an numerical solution for an equoation and my parameters are in an ascii file where I already know their position The file is structured like the example: #Parameter 1 parameter value #Parameter 2 parameter value … Software Development c | |
Hey guys, I am making a calculator program and don't want the user to type directly into the Entry, so I made the Entry 'readonly'. But that makes it to dark for my liking, so I am trying to set the readonlybackground='white', but it gives me an error saying that … Software Development python | |
I would like to display blank value when the value is equal to zero, but when it is a non-decimal number to be displayed with preceeding zeros, example: when it's equal to two, i want it to be presented as 2.00. I tried with '0.00' but it shows literaly 0.00 … Software Development pascal | |
Is there a decent IDE for Java? Meaning, one that you don't think will end up making me rage and have annoying features that get in the way all the time making it unsuitable for development? What is the best IDE performance wise? | |
how could i read a text(character by character) from a file then store it in an array,using assembly(TASM only) for 8086 processor Software Development assembly | |
I was trying to create a simple Python GUI with a label on a frame. I can't get the label's position and size to work: [code]# a simple wxPython GUI program # showing a label with color text # however, label position and size do not work! import wx class … | |
Hi, I just received a project in my class where i have to write my own turtle class in python which I will have to use to draw a Koch snowflake. Currently I have no idea on how to get started on the turtle class? If anyone knows or has … Software Development python | |
I can't get rid this error IntelliSense: cannot open source file "stdafx.h" error C1083: Cannot open include file: 'stdafx.h': No such file or directory [CODE]#include "stdafx.h" #include <iostream> #include <cstdlib> using namespace std; //class BinarySearch Tree class BinarySearchTree { private: struct BST { BST* left; BST* right; int data; }; … Software Development c++ open-source | |
Hi, I am trying to use some C# code I have written in C++ - its worked fine in the past (without inheritance) so I'm totally stumped by this problem I'm getting. I have made a really simple version, which demonstrates the problem, specifically when it goes into any COM … Software Development c++ visual-studio | |
I have two projects in Microsoft Visual Studio 2008, but I can't access the objects/namespace from one with the other. here is an example from my GCController project: [CODE]using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; namespace GCController { [Guid("9949f4f1-92e6-4709-85a8-12c816b6ceb4")] public interface IGCController { // ... // } … Software Development microsoft-access visual-studio | |
guys here is the question elow is the main function that creates the object of Mile and Kilometer classes. Write the definition of Mile and Kilometer classes such that each statement in the main function is executed without any error. Both classes must have default constructor that initialize the private … Software Development c++ | |
Hey; I am trying to handle the SIGCHLD and therefore prevent zombie processes walking around .) The program does not work the way it should however. I am counting how many times the ZombieHandler is called and at the end of the program it says zero. What might be causing … Software Development c++ | |
i dont know how to get the image and how to store the image in the database plzz give me the complete example so i can complete my project plzz help me my project external submission date is near plzzz plzzz help me anyone | |
I'm trying to write a program which reads in a string of defined size from the keyboard and displays how many times each letter appears and also displays how many non-alphabetical characters appear. So far, it successfully counts the number of letters. However, I'm really struggling with getting the string … Software Development c | |
Im looking to play a sound from a folder which is in my debug directory. I got this working for a PictureBox: [CODE]PictureBox1.ImageLocation() = ("Resources\picture.png")[/CODE] But I cant find something to play a sound. This is what I had before: [CODE]My.Computer.Audio.Play("C:\Users\......\Sounds\beep-2.wav")[/CODE] I dont really want to be writing the location … | |
(C++)I need to create a program that would input year and month in number. Display the year and the number of days in that month. The hard part is I need to include the leap year e.g. if the input year is 2000 and the input month is 2 (which … Software Development c++ | |
Guys, can u tell me a good programming practice to stop iteration inside a for loop based on a condition, that is, something equivalent to a break in a while loop suppose i am iterating inside a for loop, looking for the first number divisible by 2, i would do … Software Development c | |
hello everyone umm I'm having trouble in printing a structure in c... is a program to calculate benefits of employees in a company when they are fired.. getting trouble when printing the hired date of an employee here its the code [CODE]#include <stdio.h> #include <conio.h> #include <stdlib.h> void menu(); struct … Software Development c | |
[code]textPane = new JTextPane(); textPane.setBounds(337, 33, 290, 198); textPane.setBackground(Color.LIGHT_GRAY); textPane.setEditable(false); textPane.setLayout(new GridLayout()); JScrollPane scrollPane = new JScrollPane(textPane); scrollPane.setBounds(337, 33, 290, 198); add(scrollPane); searchButton.addActionListener(new ActionListener() { public void actionPerformed(ActionEvent e) { List<MainManagement> sList = new ArrayList<MainManagement>(); MainMngDao mmd = new MainMngDao(); sList = mmd.search(); for(int i = 0; i < sList.size(); … Software Development java | |
We've started learning about arrays, but our lecture notes are really not helpful at all and we don't have a book. I'm struggling to understand this question and I honestly have no idea what to do or where to start. I've tried to read tutorials and things but I'm just … Software Development c | |
[CODE]cmd.ActiveConnection = cn cmd.CommandType = ADODB.CommandTypeEnum.adCmdStoredProc cmd.CommandText = "sp_login" cmd.Parameters.Append( _ cmd.CreateParameter("result", ADODB.DataTypeEnum.adInteger, ADODB.ParameterDirectionEnum.adParamOutput)) cmd.Parameters.Append( _ cmd.CreateParameter("user", ADODB.DataTypeEnum.adVarChar, ADODB.ParameterDirectionEnum.adParamInput, 15, TextBox1.Text)) cmd.Parameters.Append( _ cmd.CreateParameter("passuser", ADODB.DataTypeEnum.adVarChar, ADODB.ParameterDirectionEnum.adParamInput, 15, TextBox2.Text)) rs.Open(cmd, , ADODB.CursorTypeEnum.adOpenStatic, ADODB.LockTypeEnum.adLockOptimistic) If rs.Fields!result.Value = 1 Then AddProduct.Show() Else MsgBox("Your Username or Password is Incorrect", MsgBoxStyle.Information, "AEB Gasul System") Exit … Software Development vb.net | |
when connecting to sql server i get getting this error . please help how to resolve this problem TITLE: Connect to Server ------------------------------ Cannot connect to SOFTCITY\EIMPRESSION. ------------------------------ ADDITIONAL INFORMATION: An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may … Software Development vb.net | |
Hello All, As the title.. Does any one know how to find how many specific character in a text? Best Regard Eko. Software Development visual-basic | |
Hello :) for a chess program, i made a 8x8 array of square:PictureBox objects and i set variables inside them for the row & col there is a way to dont use those row & col variables and just "take" the index of the square from the 8x8 array when … Software Development | |
Hello everyone. I feel quite silly posting this as I know my way around C++ decently and am writing an application in VB however I am getting quite frustrated with this problem. [CODE] Dim FileNo As Integer FileNo = FreeFile() Dim FILE_NAME As String = "C:\test.txt" FileOpen(FileNo, FILE_NAME, OpenMode.Input) FileClose(FileNo) … Software Development vb.net | |
Hi all, Recently I've run into a problem where a string I am reading from a file is being read in with a nonprinting character appended to the end. The character being appended is U+0020. I'm just unsure how to get rid of this. I know that I could just … Software Development c++ | |
Hw do i reverse the mod function. That is: 6 mod 2 is 0. Nw hvn my result 0, dnt knw wat 2 is cald in dis case bt i got it as wel. Hw do i get bak to 6. 6%2 = 0. Hw do i reverse dat. I … Software Development java | |
I wrote a program which finds the next palindrome. First, it takes an input specifying the number of test cases. The code runs fine in Visual C++, but am not able to run it in GCC. I have never used GCC before so unaware with its functioning. But am expecting … Software Development c++ | |
I wrote this python script (part of a bigger program) to launch a php script and wait for the output. The PHP script takes almost 15 minutes to run, as it is spawning several perl & C programs of its own. When I launch the php script by itself, it … |
The End.