43,549 Solved Topics
Remove Filter ![]() | |
Write a complete function: DNA represented as a list of the alphabet letters A, C, G and T. How many times the sequence ACG occurs in a specific DNA string. (An example: If the list is CACGTTGCGTACGAA, then the number of occurrences of ACG will be 2.) Write function nrACGOccur. … Software Development c++ | |
I am trying to embed an image into an rtf file using VB. Well, I tried using the clipboard method but it doesn't wield any good results, I have to embed it and align it and copy it so that the images form a border. Ideas anyone? Software Development visual-basic | |
What dose it means at Dice.rollDice(Dice.java:30) java.lang.IllegalArgumentException: n must be positive at java.util.Random.nextInt(Random.java:250) at Dice.rollDice(Dice.java:30) my code is : [code=jva] import java.util.Random; public class Dice { // instance variables. private Random mRandom; private int mSides; /** * Constructor for objects of class Dice */ public Dice(int sides) { sides = … Software Development java | |
Hi, I was hoping that someone could give me some direction with how to solve this probem. The only info in this problem is word has N digits[only digits] and the numbers (output) should be in increasing order example 1469 or 468 The output should give all combinations in the … Software Development c++ | |
Hello everyone, I am having a really difficult time getting this program off of the ground. I need to use a while loop to read data from a file and then read tonnage numbers corresponding to names read in from that file. The assignment looks something like this: [I]After watching … Software Development c++ file-stream file-system | |
What is suppose to happen is that I am suppose to take a string like "Micheal Jordan" and reverse it and return it with a comma after the last name. like "Jordan, Micheal" but that is not what i am getting can you help please. I have also included the … Software Development c++ | |
I created menu for mobile phone, where after you make move screen should be repainted and after that a sound should be played. However at present stage sound is played first and just after that Canvas view is repainted. Bellow is skeleton of the class [code=Java] public class ContactMenu extends … Software Development java | |
I know how to declare a 1D vector like below but how do you declare a 2D vector ? [code] List<String^>^ Vec1 = gcnew List<String^>(); [/code] Software Development c++ | |
hi, we have this assignment in our computer subject in school. we need to create a c program that converts decimals to base(2-9) and vice versa. i know how the coversion works but i cant perfect my program. here's my program... i know the output for the 1st case is … Software Development c | |
Hello there, I just would like to ask what are the basic needs in order for me to develop a mail library using C#. I've been googling around for good tutorials in developing mail libraries but haven't found any decent one. Thanks! | |
Hi guys, I'm not really sure how to ask this or what to even search for. I want to write a Java program that can feed data into another program. If the other program had command line parameters then I'd know what to do, but suppose the program I want … | |
Can anyone help me by telling me where to find twofish source code other than from scheinier website?? I just want to find a sample source code of encrytion and decrytion using twofish algorithm. Thx a lot for the help.. | |
Ok I'm doing my final project for my Data Structures class and have a quick question. This hasn't come up in any of my programming classes yet (which now that I think about it, is kind of odd but oh well). What I'm having to do is write an interactive … Software Development c++ data-structure | |
hello, i am here again with my strange question.. I have an image (a logo ), however i need to insert this image in the title bar of the project... i MEAN to say where the form name appears i want the image there instead of ne where on the … | |
How do I get the data from file into the Insert function? Or more general how do you get data from a file and put it into a linked list? [CODE]#include <iostream> #include <fstream> using namespace std; class List { public: void Insert(); void Print(); }; struct node { int … Software Development c++ linked-list | |
Hi, I'm wondering how I can accomplish this. Suppose I have the following array [CODE]String[] randomText = {"hi", "hello", "hey there"}[/CODE]; If I want to print the array I only know how to do so line by line. [CODE]for (int num = 0; num < randomText.length; num++){ System.out.println(randomText[num]); }[/CODE] Can … Software Development java | |
Hi, I found this sudoku solver online and it works good but I was wondering how I could get the answer that's in matrix form, to also print out in a single comma-delimited line, instead of 9 rows of 9? [code] from copy import deepcopy class DeadEnd(Exception): pass class Matrix: … Software Development python | |
i need help programming pascal's triangle in C. i looked at the old threads, and none of them really helped. its a simple program, so no getch() or anything special. i started to create an array and give each element values. when i tried to run it, my output it … | |
I have a software that use command line arguments to create files. You go to the directory, type posidbfw /alt 1 1, it creates the files. I want to call this from one line. I was using subprocess.Popen, but it doesn't see the arguements, any help? Software Development python | |
Im trying to find out if something is in this linked list function and if it is to return true and if not return false. How do you find out if ThingType thing is in the list? [CODE]bool Thelist::Search(ThingType thing) const { Node* current; current=listPtr; while(current->thing != listPtr->thing) { } … Software Development c++ linked-list | |
Trying to create a zip file with yesterdays date. I think I got everything, but I am getting module has no object attrib error. Any ideas? [code] import os import zipfile import datetime today = datetime.date.today() yesterday = (today + datetime.timedelta(days=-1)) file = zipfile.Zipfile("CT" + yesterday.strftime('%m%d%y') +".zip", "w") files = … Software Development python | |
Hello everyone, I need some assistance in finding an error in my Delphi code. (I am new to the Delphi programming). I am using a Delphi application to build an excel spreadsheet. When a part_number is entered for the first time(assuming it exists in db) application always runs , the … | |
I had a hard time understanding the concept of memory in a computer, but something my Instructor told me gave me some hope. He mentioned that memory isn't really created upon invocation of "new" in C++, and stated also that memory isn't really removed upon the invocation of "delete." I … Software Development c++ | |
Hi everyone! How do I make a textBox control to validate a tel nr field? For instance When the user enters 0127748222, It should be displayed as (012) 774-8222 in the textbox. I need this to be done this way since this is the way i'll be storing the fields … Software Development vb.net | |
I can get everything to run perfectly, it is just when I print out the final grade, it will just give me a blank for it. Maybe I'm doing something wrong in my finalgrade function, but i don't know....I need help! [CODE=Cplusplus] #include <iostream> #include <iomanip> using namespace std; const … Software Development c++ | |
I have 2 tables: [B][U]IDM_IDEA_USERS[/U] USER_ID PASSWORD SAP_ID[/B] [B][U]IDM_IDEA_AUTHORIZED_USERS[/U] SAP_ID[/B] I need to retrieve information from table [B]IDM_IDEA_USERS [/B]column name [B]USER_ID [/B]and [B]PASSWORD[/B]. I also need to verify that only [B]SAP_ID[/B] from [B]IDM_IDEA_USERS [/B]table is the same as [B]SAP_ID [/B]from [B]IDM_IDEA_AUTHORIZED_USERS[/B]. Only the users from [B]IDM_IDEA_AUTHORIZED_USERS[/B] can login. This are … Software Development vb.net | |
I am trying to write a recursive function that compute a to the n. here is as far as I have gotten as far as code [code=c] #include "stdafx.h" #include "stdio.h" int power (int n); // function prototype// main() { float a; int n; printf("\n enter values of a an … Software Development c visual-studio | |
Wrote this script to send a zip file that gets created every day and sent to a FTP server. In line 16, getting a windows 183 error cannot create file that already exists. I am using os.rename, and it works if I run it stand alone. Any ideas? [code=python] import … Software Development python windows-server | |
hi, I'm a Computer Engineering student from Portugal in the 2ºterm. Last class' job was for us to use class and sub-class systems, creating a info system for vehicle types. I thought I was finished, but when I did the main file, the compiler shouted loads of errors that didn't … Software Development c++ engineering | |
hello,I would like to create a class for basic file operations-just reading and writing a line.There seems no error in my program but it doesn't output anything.I think there is a problem with the functions for reading and writing.Please help... [code=C++] #ifndef HANDLER_H_ #define HANDLER_H_ #include <iostream> #include <fstream> #include … Software Development c++ file-system ios | |
This problem has been driving me crazy, I just can't seem to find anything in the Python docs. I've been working on a script, It connects to a remote server and downloads multiple RAR files as a "job", it then extracts them to the correct place. It works, but I … Software Development python | |
i'm trying to control four separate lighting arrays using a timer overflow interrupt to control four pulse width modulations. at the same time i want to be able to control the pwm frequencies using serial communication. i'm using a version of pic lite for my compiling and can compile my … Software Development c | |
Sorry for asking the topic that asked before... but im still dont know how to use that.. Below is an example create by me.. I hope that someone can tell me which part have to fix ... This is the header file: [CODE] int check_SkipCard (string input) { int SkipCard=0; … Software Development c++ | |
I am using a List where I wonder how it is possible to find the MaxValue searching trough Value1[0] until Value1[3]. In this case it should return: 12 I have found a ::Max function but this will only consider the 2 values inside the paranthes wich then will return: 100. … Software Development c++ | |
I am using this in the std:: to check for the first occurance of " " backwards (rfind). If I go managed .NET, I wonder if there is any simular method for this using str-> [code] std::string::size_type index2 = str.rfind(" ", index - 1); [/code] Software Development c++ | |
Hello, I'm a beginner VB 6.0 user, and I would like to know something about it. Is there any difference in coding (for the same purpose) between a database oriented VB projects using the Data Control and ADO? How much are the differences, if you plz could explain it briefly. … Software Development visual-basic | |
Hi, Badly need help again. I have completed one project and have tried making a setup file using Microsoft Visual Studio Package and Deployment Wizard. It showed no error. I ran the setup file but could not as I saw a message(Error?) and after completing the setup I tried running … Software Development visual-basic visual-studio | |
pl.help me out on this : i need to calculate balance amount....however...i am not able to calculate it. C i have coursefees then when i click on installment 1 and enter the amount my balance amount textbox should reflect the coursefees- installment1 total similarly when i click on installment 2 … Software Development vb.net | |
Hello Friends... I am completely newbie to XML..And I am a php developer... I heard that XML can be used in the replacement of our databases...Is it right??? What is the purpose of XML to be used in our project....What are the advantages and disadavantages of XML...And How to use … Software Development xml | |
I'm working on an application that simulated process of writing text message on mobile phone. On the canvas I first draw already typed message. If any and on button pressed I retrieve correct set of characters. Here I'm able to loop through them and highlight currently active/selected character. However I … Software Development java | |
Hey guys, the program has to wait until send button in jframe clicked then to get the text and put it in to queue and then send it to server using doInBackground method, also in line 65 i get a compile error which says that ther is nothin to override … | |
Hi, I have a structure in a library that defines various parameters for wireless transmission. I want to create an array of these structures, which each element in the array containing the required parameters for a particular wireless channel. The structure: [CODE]typedef struct S_RF_RXTXPAIR_SETTINGS { byte modem0; // Baudrate, xosc_freq, … Software Development c | |
Can somebody tell me how to do bolding and Italicizing plus underlining I have just started getting serious after long time "milk drinking", now I want to eat solid food. Thanks all, Steve [ICODE] import wx ID_EXIT =100 ID_BOLD = 101 ID_ITALIC = 102 ID_UNDERLINE = 103 ID_TEXT = 104 … Software Development python | |
I have a routine that, at one step, calls a form and shows it modal. When the user closes the form the routine continues. However, upon closing the form I want to know if it performed its assigned function- if it failed then I need to stop the routine. However, … Software Development visual-basic | |
Hi! Just signed up and can't help to notice what a good forum you got going here!! congratulations! I am working on a project of educational software concerning sound editing and audio-video synchronization. I am researching the Java Sound API and it's been working pretty well but now I got … | |
I can't figure out why I am recieving error messages from the compiler that tells me that I have an illegal start of the expression for the code that is in red. I have also put the product class that goes with the main class; I'm not sure if the … Software Development java | |
Hi everyone! How do I format the layout of the datagridview to display header titles the way I want? and how do I format the layout to display the rows in multiple color mode. Any type of help wil be appreciated Lets do what we do best! Software Development vb.net | |
Here is my situation. Im trying to learn how to take full advantage of multithreading but am at a rump. I have one listbox of usernames and it checks them on a website to see if they exist or not. If they exist it puts the username into listbox2. Now … Software Development multithreading os-x | |
I want to change the format of Dt Picker. I write in format property dd/mm/yyyy. But it show 30/00/2008. why the month didn't show. any body help me to change the format of Dt Picker. Software Development visual-basic |
The End.