132,726 Archived Topics
Remove Filter ![]() | |
hi, I have a problem with implementation of a quicksort algorithm. I have pseudo-code which helping me understand this, but I still can't make this program to work. Does anybody can help me figur out what is wrong in my code? Thanks My code : [CODE] #include <iostream> #include <ctime> … | |
Hi i'm new to using c++ and i would like to ask if you could help me out. I have to somehow get a working c++ program that will allow me to convert any one, two or three digit positive integer into words using string/array method. Say, 111 will be … Software Development c++ | |
Hi everybody! I am currently working on a low level console/text based python phonebook. I have a working program and i can add and search entries just fine, but what I want to know is...can I remove entries? I am using the OS package...so i 'import os' at the beginning, … Software Development python | |
How do i search all the lines in a richtextbox for a specific string in the line and then return the line number the string correspondents in. [edit]using Visual c++ windows form CLR Software Development c++ | |
Basically, after the user inputs a cvs file which is formatted like (unmod.cvs that is attached is complete file): Source, Native ID, Index, Charge, Cluster ID, FDR, Precursor Mass, Calculated Mass, Mass Error, Peptide, Mods, Search Scores /tumor/set2/mam_082208o_individualsamples_747T_set2_082008_A01,scan=771,770,2,46,0,1162.436,1162.438,0.001953125,NDDDEEEAAR,,(mvh 52.0926)(mzFidelity 69.9226) /tumor/set2/mam_082208o_individualsamples_747T_set2_082008_A01,scan=1147,1146,2,93,0,1436.543,1436.506,-0.0369873,AAEDDEDDDVDTQ,,(mvh 68.8836)(mzFidelity 92.7468) *note that the mods value is a … Software Development c++ file-system open-source | |
I wrote this function to compare two strings and find their similarity. It returns the percent of their letters in common in place. ie "hello" and "yellow" share the "ello" (8 of 11 characters) and thus are 72.72 % similar. I feel like there is a better way to write … Software Development python | |
Helo, I need calculete Spaces in file. Maybe can write this function. Thank you P.S Sory for may english Software Development c | |
Hello, I need a code in C# that converts a word document file (.doc) to a text file (.txt) :) thanks its urgent Software Development | |
I am making a shoot function with my game and my dad ( being the geinous programmer that he is ) suggested that i should generate an imaginary line from the gun to whatever it's aiming at and then, if the user clicks then put a bulet hole at what … Software Development c++ | |
My process involves: - Run Make on a c++ file and generate a binary file - Run readelf on binary file generated and dump contents in HEX form into NEW_File *- Import data from generated file into c++ file vector as 8 bit hex words *- other VLSI related sections … Software Development c++ data-structure | |
The code is too big to paste the entire when i am having one error at Line 20 that says: "cannot make static reference to non-static Integer" I'm use to C but so I'm not use to having to putting the word static in places. [CODE]private static void createTree(){ ArrayList … Software Development java | |
Can anybody please tell me how I can make my code an install file? I know how to make the code into an executable, but once I transfer the executable onto another computer (obviously) it doesnt work. Software Development c++ | |
Hi, I have to do search engine for shop (my course assessment) it have to search produckts by code and description. I dont really know how to do it. Can someone help me? that what i have: [CODE]Private Sub Command1_Click() Dim code(6) As String Dim description(6) As String Dim price(6) … Software Development visual-basic | |
I have created a hotel booking system programme. However, I am puzzled as to how when the booking button is clicked it can search a database and find the best suited room (RoomType) and make sure that it is available (Date of Departure < system.date). This data is held in … Software Development vb.net | |
Whilst having 20+yrs in IT I'm brand new to Python programming... I'm trying to reference an object in a different class as a lookup... I have a class which describes items and their prices I have a class which describes a currency code and a conversion rate I'm trying to … Software Development python | |
I am having a problem with getting my program to compile. This is a sample of my code but it an error comes up and says " binary '||' : no global operator found which takes type 'std::string' (or there is no acceptable conversion)". Is there anyway around this or … Software Development c++ | |
Below is a code that i have created to seperate a string statement. There are no errors but the code will not display the micron or the idustry statement. what do i need to do so that everything will show [CODE] #include <iostream> #include <string> #include <fstream> #include <cstdio> #include … Software Development c++ | |
I want to chane the backColor of particular date.Mine code is only just bold the particular date,but not changing the BackColor. I have searched on internet,But none of them provide me the Solution. I Found the Below code thru net- [code] Private Sub Calendar1_DayRender(ByVal sender As Object, ByVal e As … Software Development vb.net | |
![]() | Hi, I am using [icode]setw[/icode] from [icode]#include <iomanip>[/icode] library to format the output and it works just fine... Par exemple. [code] cout<<std::setiosflags ( std::ios_base::right ) << std::setw ( 20 ) << "---------025125222" << std::endl; [/code] However, I wish to format the same output as a STRING. So instead of doing … Software Development c++ ![]() |
Hi guys, I'm taking an engineering class and i'm not familiar with Matlab at all. I've been trying to generate a square matrix from an input with a pattern. For example: 1 0 0 1 1 0 1 0 1 0 1 0 1 1 0 1 0 0 1 … Software Development engineering | |
hi i have a problem, trying to set a form to open a new window, this is what ive got ... private void newWindowToolStripMenuItem_Click(object sender, EventArgs e) { this.browser.NewWindow(); } any ideas why it isn't working? Software Development c c# c++ visual-studio | |
I am using visual studio 2008 with C# developing an window application, I want to displsy blinking text with marquee on label using [B]thread[/B].But it generates error :--Cross thread error. What is this and pls solve my problem. Software Development visual-studio | |
new to this form guys need some help When opening a button and opening a new form as soon as it opens it close for some reason but its not giving any errors as to why its doing this now i've checked the linked linking it to the next form … Software Development vb.net | |
Hi, I'm working on a shared library with a various of dependency libraries. They are all currently linked dynamically (shared object). I'd like a few of the libraries linked statically TO the main shared object. When I go ahead and try to link these libraries (.a) I get an error … Software Development c++ | |
When I try run my appliction on a client machine I keep getting the following error: Run-Time Error '20532 Cannot find database dll I know I need to install the 'database dll' on the clients machine ... but ... what is the database dll? I am using MS Access 2000 … Software Development visual-basic | |
i have 10 data notepad files (with column x= 1 to 5 and column y = some random number) x y 1 12 2 13 3 8 4 6 5 2 i want to multiply the 1st file's second column with 3, and save it as new data file Increase … Software Development file-system perl | |
Hello, I have a question, if you please. I have been trying to fill an array with values from a text file for hours. I has been 12 years since I have used any C code, and I thought I would be able to remember this. I have an opportunity … Software Development c | |
I am making a server-client application in c++. In this i am also using shared memory & file read-write operations. my program is completely ready & i now wants to make a gui for it. someone suggested me to go for QT4, but when i tried it, i found i … Software Development c++ client-server gui qt ![]() | |
Hi all, My code is giving the desired o/p, but at the end its producing segmentation fault. (I know this is very column and also I have checked other posts, but couldn't understand the solution) Here is my code[CODE]#include <stdio.h> #include <stdlib.h> #include <string.h> #include <ctype.h> #include "blake.h" int genShortMsg(int … Software Development c | |
Is there a way to determine which shift key is pressed? I am writing a program that shows an image and I want the user to say which side of the screen it is showing up on.... I thought of using the mousekeys but realized that not all computers have … Software Development python | |
Hello all, sorry for this being my first post. I have been dealing with this Nqueen program, and I cannot get it to work properly. I feel like I have been just staring at my computer screen for hours and my brain is starting to hurt. After entering n, the … | |
Help I need to download MinGW Offline Installer Software Development c++ | |
Hi! This is actually not a question, but I want to share what I realized when I was doing some projects using DataGridView. I was a bit confused on what I should use for the cells whenever I check the value of a DataGridCell (e.g. [inlinecode]String.IsNullOrEmpty()[/inlinecode]). Before I usually do … Software Development vb.net | |
In windows based programming there is some confusion about the data grid and data binding. What to do first and where to do in code? Software Development | |
Hai frds, I am a final year B.E student.As i have to start my final year project by now,can you give me some valuable ideas regarding what topic to choose and in which platform that would score me high marks. Thanks in advance. Software Development vb.net | |
I'm trying to import all data from an Access DB using Visual Basic 2005. I'm new to Access and so far I can only import one record at a time. Any help would be appreciated!! Here is the code I have so far (obviously to bring one record at a … Software Development dataset microsoft-access open-source vb.net visual-basic | |
So far, here's my code. It is running after I built it but it runs differently that I typically supposed to play tic tac toe with a partner ( two players only). Where do I go wrong on this code? [icode] //Timing. #include<iostream> using namespace std; int check( char g[3][3], … Software Development c++ | |
Hi. I have created an application wherein I am showing a large image inside a JScrollPane . As I move my mouse over the image within the jscrollpane i want to display the RGB values of the pixel under the mouse pointer on a status bar. I am able to … Software Development java | |
Dear All, I want to connect to SAP and call RFC from VB.Net 2008. I have done it with VB 6.0 But not getting success in VB.Net I used following code in VB 6.0 ------------------------------------------------ Set ctlLogon = CreateObject("SAP.LogonControl.1") Set oConnection = ctlLogon.NewConnection oConnection.User = "SIILRFC" oConnection.Client = "777" oConnection.Password … Software Development vb.net | |
I am working on this project for my class, and I am getting an error when im trying to compile. I dont understand what the problem is. can some one help me out. The error is "Exception in thread "main" java.lang.RuntimeException: Uncompilable source code - cannot find symbol symbol: class … Software Development java open-source | |
Hi, Please advise how to bind std::sort with boost::thread. I'm trying to do: [code=c++] boost::thread_group thg; thg.create_thread(boost::bind(sort<vector<int>::iterator>, mass.begin(), mass.end())); [/code] and get: ThreadSort/main.cpp:40:0 /Users/Maxim/Documents/Projects/SW/C++/ThreadSort/main.cpp:40: error: no matching function for call to 'bind(<unresolved overloaded function type>, __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >, __gnu_cxx::__normal_iterator<int*, std::vector<int, std::allocator<int> > >)' Please HELP!!! Software Development c++ | |
Hi, im working on basic macro program. I want to select applications by window name and sending keys(f5 f1 etc.) to them basically. The problem is, sendkeys dont work on non-active windows. I search for this problem internet. I can get window names to combobox with; [CODE=cs]foreach (Process FFget in … Software Development delphi | |
I am having a terrible time separating this code into a header file and source file. I am running this on cygwin and it keeps giving me error messages I do not know how to solve... any help would be greatly appreciated [code] #include <fstream> #include <vector> #include <string> #include … Software Development c++ open-source | |
In C#.net Application, When i change the resolution, the application won't adjust its windows Size corresponding to Borders of Monitor,.. Even though we change the resolution, the whole application should visible,.. Please help me with ideas,...! Software Development | |
Hi , I am trying to create an image-viewing application , wherein the user chooses an image file using a file chooser . I have created a Jpanel ,inside a jframe with a menu bar, which gives the user a variety of options to select from , using combo boxes … Software Development java | |
I have design a window application form in 1440X900pixel resolution(which I dont aware of this could cause a problem). When I move this application to other PC with different resolution(or shows on a projector that only support low resolution), thing change nasty, all the control is out of shape. Any … Software Development vb.net | |
This is a newbie question. I am creating a simple one-table Movie tracking program. I have dragged a db table onto the simple form creating a dataGridView. I am using a List box and some Text boxes to enter new data. For the life of me, I cannot get the … | |
I have to create a word counter function which counts the words of a string. When I run the program, it doesn't end. This is what I have created so far: [code] //-------------Start of Program-------------> #include <iostream> #include <cstdlib> using namespace std; //Function Prototype void stringLength(char *); void reverseString(char *); … Software Development c++ |
The End.