132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for gfx

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> …

Software Development algorithm c++
Member Avatar for griswolf
0
106
Member Avatar for 7h3.doctorat3

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++
Member Avatar for mrnutty
0
493
Member Avatar for kurtiskain

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
Member Avatar for griswolf
0
139
Member Avatar for Martje

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++
Member Avatar for jonsca
0
822
Member Avatar for emmonssw

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
Member Avatar for emmonssw
0
192
Member Avatar for ihatehippies

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
Member Avatar for TrustyTony
0
2K
Member Avatar for Xpress2010

Helo, I need calculete Spaces in file. Maybe can write this function. Thank you P.S Sory for may english

Software Development c
Member Avatar for UncleLeroy
0
101
Member Avatar for KathySbeat

Hello, I need a code in C# that converts a word document file (.doc) to a text file (.txt) :) thanks its urgent

Software Development
Member Avatar for sashaa
0
95
Member Avatar for tomtetlaw

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++
Member Avatar for green_frog
0
155
Member Avatar for dansnyderECE

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
Member Avatar for dansnyderECE
0
120
Member Avatar for Apollo12

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
Member Avatar for sunny101
0
329
Member Avatar for MATLAB2007

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++
Member Avatar for Pynolathgeen
0
102
Member Avatar for pytup

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
Member Avatar for pytup
0
182
Member Avatar for Keep

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
Member Avatar for ndeniche
0
99
Member Avatar for i-teq

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
Member Avatar for i-teq
0
4K
Member Avatar for j-green.10

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++
Member Avatar for j-green.10
0
76
Member Avatar for j-green.10

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++
Member Avatar for Nick Evan
0
130
Member Avatar for mansi sharma

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
Member Avatar for dasrata
0
207
Member Avatar for iamthwee

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++
Member Avatar for iamthwee
0
5K
Member Avatar for wblakenc

I am very new to using XML and I have what should be an easy solution but google is failing me. I have one xml document with different data sets in it (see code below). What I want is to only work with one set of data at a time. …

Software Development xml
Member Avatar for kaiLa
0
97
Member Avatar for flposjg

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
Member Avatar for hardmath
0
346
Member Avatar for nozzers

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
Member Avatar for PierlucSS
0
94
Member Avatar for adobe71

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
Member Avatar for PierlucSS
0
105
Member Avatar for Rq Evo

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
Member Avatar for Rq Evo
0
321
Member Avatar for sangha6

i have to make a program in cpp that finds max,min and avg value from a table and the table is to be retrieved from a location.......any ideas how to do it??????

Software Development c++
Member Avatar for iamthwee
0
99
Member Avatar for Excizted

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++
Member Avatar for tarakant_sethy
0
155
Member Avatar for saj_amo

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
Member Avatar for vb5prgrmr
0
1K
Member Avatar for mona_j05

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
Member Avatar for mona_j05
0
179
Member Avatar for hasbeenbad

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
Member Avatar for Adak
0
1K
Member Avatar for sksingh73

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
Member Avatar for iamthwee
0
292
Member Avatar for arpanm

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
Member Avatar for arpanm
0
138
Member Avatar for photoyid

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
Member Avatar for TrustyTony
0
871
Member Avatar for beginnercoder

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 …

Software Development algorithm c++
Member Avatar for JIMITRIS
0
90
Member Avatar for Orion2k

Help I need to download MinGW Offline Installer

Software Development c++
Member Avatar for Aranarth
0
83
Member Avatar for mazel

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
Member Avatar for supriya053
0
329
Member Avatar for shahrukh90

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
Member Avatar for shahrukh90
0
104
Member Avatar for sweetsasthi

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
Member Avatar for alfea
0
416
Member Avatar for AngieK

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 …

Member Avatar for G_Waddell
0
107
Member Avatar for cl2020

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++
Member Avatar for VernonDozier
0
97
Member Avatar for vardhmansk

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
Member Avatar for vardhmansk
0
225
Member Avatar for Girish_AM

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
0
136
Member Avatar for yasaswyg

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
Member Avatar for yasaswyg
0
1K
Member Avatar for MaximNM

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++
Member Avatar for MaximNM
0
351
Member Avatar for wlalth

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
Member Avatar for kvprajapati
0
156
Member Avatar for dmr9215

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
Member Avatar for Ancient Dragon
0
159
Member Avatar for chandruswami

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
Member Avatar for kvprajapati
0
75
Member Avatar for vardhmansk

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
Member Avatar for vardhmansk
0
993
Member Avatar for Anigmalee

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
Member Avatar for Anigmalee
0
104
Member Avatar for gjohnsonjr

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 …

Software Development c c# c++
Member Avatar for finito
0
399
Member Avatar for usafsatwide

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++
Member Avatar for achieve_goals
0
229

The End.