132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for naveen19

no matching function for call to `getline(std::string&, char&)' Why is this error occuring? HELP ME SOLVE THIS My Aim is to copy each character or integer to an array A.S.A.P MY PROGRAM:- #include <fstream> #include <iostream> #include<conio.h> #include<string.h> using namespace std; int main () { char a[50]; ifstream someStream( "txt.txt" …

Software Development c++
Member Avatar for Ancient Dragon
0
357
Member Avatar for pwolf

I have no idea why the program isnt working, its practically the same code I used in the last project so why wont the database update? The code for the program is as follows: using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms; …

Software Development dataset microsoft-access open-source
Member Avatar for pwolf
0
189
Member Avatar for Jasonfran

Hello, I am making an IRC application and I was wondering how I could make a simple event that gets called like onMessage() every time a IRC message comes through so I can then do something like this in my main class: public void onMessage(String message){ System.out.println(message); //or Handle commands …

Software Development java
Member Avatar for JamesCherrill
0
210
Member Avatar for Aurax

Hi boards, I managed to read text file into MSHFlexgrid. Now i want to search a word in textbox and higlight it in flexgrid. Anyone know how to do this? Thank you

Software Development seo visual-basic
Member Avatar for Aurax
0
619
Member Avatar for timi_ca

Im new to java swing, and Ive got a little problem. So I've got a class Flight.java. In there I have a method displaySeat2D(). First I had this done with the scanner. Now I have to use swing. So basically I made text fields to take in number of rows …

Software Development display java java-swing user-interface
Member Avatar for timi_ca
0
2K
Member Avatar for malathim

Hi. I planned to develop a product software as a execution file. The aim is ti calculate the efficiency of battery, Solar panels,etc. merely it should act as a calculator. i need to maintain a databse for product details.when each product is selected,the calculation should be calculated. what software can …

Software Development
Member Avatar for pritaeas
0
79
Member Avatar for Mr.UNOwen

Is there a preprocessor that can check if a header exists before trying to #include it?

Software Development c++
Member Avatar for mike_2000_17
0
187
Member Avatar for jamunadevi

hi to all.. i am using mshflexgrid to display records in vb6.0.. i used **like** query to find the text in database.. i finished everything.. my problem is whatever i give in search textbox that should get highlighed in mshflex grid. example: to search telephone ill type phone in flexgrid …

Software Development seo visual-basic
Member Avatar for Jx_Man
0
350
Member Avatar for Stefano Mtangoo

Hi, I know how to make C++ plugin based application with C++ plugins. I need to add ability to code plugins in Python. I want users to be able to write Plugins in any language (C++ or Python). What are fundamentals of writting app in C++ but support plugins in …

Software Development c++ python
Member Avatar for Stefano Mtangoo
0
2K
Member Avatar for fatalaccidents

Hello everyone, I'm trying to basically get a cmd variable to pass into commands.getstatusoutput. The problem is that the command has a lot of single and double quotes in it and I can't seem to get it to store as a variable. When I print the cmd it comes out …

Software Development python
Member Avatar for fatalaccidents
0
390
Member Avatar for Mr.UNOwen

Hello, So windows has PPL for multithreading for loops, what's the linux equivalent to that?

Software Development c++ multithreading
Member Avatar for mike_2000_17
0
199
Member Avatar for HelpWanted2115

Hey guys... I keep getting an error(Error 26: Type Mismatch) in line 19(Until num='';) and I don't know how to fix it... Can you guys please assist me.....Thanks.... program sequence; uses wincrt; var num,count_zero,count_non_zero:integer; Begin count_non_zero:=0; Repeat writeln('Enter a number'); readln(num); IF num=0 then count_zero:=count_zero+1 Else count_non_zero:=count_non_zero+1; writeln('Non Zero Count: …

Software Development pascal
Member Avatar for kalo150
0
214
Member Avatar for somjit{}

can the members suggest some books/links that takes advantage of what i already know about oop (the basics , from java) and utilises it to make learning C# a faster process? perhaps i should have posted this on the C# forums , felt i should keep it here as my …

Software Development c# java oop
Member Avatar for somjit{}
0
251
Member Avatar for naveen19

Hi, I want to know how to read multiple text files in this program... I have 5 text files(order1,order2,...order5) Can anyone pls help me with this? I use DevC++. #include<iostream.h> #include<fstream.h> #include<conio.h> #include<windows.h> using namespace std; class{ public: void menu() { ifstream menu; menu.open("menu.txt"); string STRING; string inFile_contents; string previousLine=""; …

Software Development c++
Member Avatar for Lerner
0
962
Member Avatar for schroaus

Is there any way to change all of the text inside a label to another character? It would still be the same length, but all of the text within the label would be the new character.

Software Development vb.net
Member Avatar for schroaus
0
705
Member Avatar for ajike

Hello, I am new to python programming, and was attempting to get my feet wet by trying the popular telnet program on the web; here is the program. The problem is; I am trying to telnet to a switch, and execute some programs, but I am getting no where: Please …

Software Development python
Member Avatar for Schol-R-LEA
0
4K
Member Avatar for sirlink99

I am just starting out with c++, but I have a goal in mid. I have already programmed the logical portion of what I wish to acomplish in Java, but it doesn't work, because I can't set a usb to read only for the whole system in Java (if I …

Software Development c++ file-system
Member Avatar for sirlink99
0
392
Member Avatar for salomonsk8

Hello all, So I have been scouring the internet trying to find an answer to my question. I usually never have to post a question because someone somewhere has asked it, but I guess there is a first for everything. I am a VERY intro level, brand spankin new 'programmer' …

Software Development java java-swing open-source
Member Avatar for salomonsk8
0
521
Member Avatar for UKnod

I am in this position again with warning that I cant get rid of, Here is the code: Public Function POPErrors(ByVal strMsg As String) MsgBox("POP3 ERROR - " & vbNewLine & strMsg, MsgBoxStyle.Critical) End Function Here is the warning: Function 'POPErrors' doesn't return a value on all code paths. A …

Software Development vb.net
Member Avatar for UKnod
0
93
Member Avatar for abra_ka_dabra

In the code below, I am trying to convert the target[] strings to a given format in target1[] and then sorting them using bubble sort and store it in target2[] which is a date object array.. However, when the desirable format is "EEE MMM dd kk:mm:ss z yyyy", it is …

Software Development algorithm java
Member Avatar for JamesCherrill
0
256
Member Avatar for poopuh

Hey guys, I'm planning to develop a java web text editor which stores its entries on a MySQL database and is then private for every user. This is a learning curve for me and I will share all of my findings and such on here. Can anyone give me any …

Software Development java mysql
Member Avatar for stultuske
0
257
Member Avatar for grubby

Hi,I am a c++ beginner. I am using vs,and I got a problem in my code which check a sentence whether a palindrome or not. #include <iostream> #include <stack> #include <queue> using namespace std; int main () { bool palindrome = true; char character; StackType stack; Queue queue; char stackChar; …

Software Development c++ queue
Member Avatar for Lucaci Andrew
0
3K
Member Avatar for Mr.M

Hi DW I'm a VB.Net user and I have a project which I'm doing and the problem is that I didn't find the answer to my problem in VB.Net I found it in Java so now I'm forced to complete this project in java, I must say this is a …

Software Development ide java java-netbeans
Member Avatar for stultuske
0
226
Member Avatar for overwraith

Hello, I am working on a program, and I noticed that all my threads are starting and stopping in exactly the same order I put them in, and they are not trading places in the output, or mixing output like concurrent objects should. Here is my code: public class RaceHorseAppII …

Software Development java
Member Avatar for JamesCherrill
0
134
Member Avatar for rexdon

I want to add a zip file into installation setup in c sharp. I am using visual studio 2010.

Software Development visual-studio
Member Avatar for rexdon
0
273
Member Avatar for wolf29

I am seeing some solutions using re, out there on the Interwebs, but not what I want. I want to match several strings with partial content of a list item. # as an example of one of the rows in a csv file hostlist=[192.168.10.17, postgres12, "Red Hat 4.3", "broken"] #pseudocode …

Software Development debian github python windows-server
Member Avatar for wolf29
0
276
Member Avatar for kamald123

Hi, I want to get the file owner on windows machine using python script. Is there is any way to do that . Please help Thanks, Kamal

Software Development python
Member Avatar for AlexWong
0
6K
Member Avatar for samica

I'm actually running a system using visual studio 2006 professional edition but i can't load it because of the po up erro activeX component can't create the object? What will I do? I'm using a windows 7 64 bit OS..

Software Development visual-basic visual-studio
Member Avatar for tinstaafl
0
121
Member Avatar for hg_fs2002

I am writing a program that needs to know the type of constants. I am wondering if there is any way of getting this in java? Like for constant "2" type is int and for "2.0" type is double.

Software Development java
Member Avatar for JamesCherrill
0
185
Member Avatar for gobiking

Hello, I am trying to start implementing functions from a class into my Calculator just to get used to the idea of it. when I tried calling for my min max functions into my calculations function it is spitting out an error arguement of type "float" is not compatable with …

Software Development c c# c++
Member Avatar for gobiking
0
1K
Member Avatar for toniann.midori

well first of all i cant figure out how to move the first letter to the end but before i fix that i need help figuring out why the else branch is being totally ignored. even when the conditions are met for else It still gives me the result in …

Software Development python
Member Avatar for vegaseat
0
158
Member Avatar for Anine

I need a voice of experience. I am working on a project for school. My project is a small B&M store. I am coding in VB .net I have an Access database with 3 tables - Inventory, SoldInventory and Sales. I need to create a simple POS. I would like …

Software Development asp.net dataset vb.net
Member Avatar for carlbutler7
0
2K
Member Avatar for sirlink99

I am attempting to encrypt and string and then decrypt it. I have the encryption part working, but when I try to decrypt it gives me an InvalidKeyException and says that it is missing parameters. Here is the code import javax.crypto.*; import java.security.*; public class Cryption { private Cipher c; …

Software Development encryption java
Member Avatar for sirlink99
0
1K
Member Avatar for Mononucleosis

I have created the Colour Dialog as much as I can and have been told that might be helpful but everytime I try to use it in my program I have, which is a basic version of MS Paint, it crashes. Private Sub butCColor_Click(ByVal sender As System.Object, _ ByVal e …

Software Development vb.net
Member Avatar for Begginnerdev
0
107
Member Avatar for Lethugs

hi we have an office chat messenger in our office, it is executable, and ofcourse cannot modify the codes already. i dont know exactly how this messenger save history, looking from its root folder, i cant see something related from its conversation or message history. I just need to save …

Software Development client-server lan-wan sql vb.net
Member Avatar for Begginnerdev
0
586
Member Avatar for boiishuvo

the data file contains: 1908,Souths,Easts,Souths,Cumberland,Y,14,12,4000 1909,Souths,Balmain,Souths,Wests,N 1910,Newtown,Souths,Newtown,Wests,Y,4,4,14000 1911,Easts,Glebe,Glebe,Balmain,Y,11,8,20000 Each line represents a season of premiership and has the following format: year, premiers, runners up, minor premiers, wooden spooners, Grand Final held, winning score, losing score, crowd What I need is to display a list of Grand Final held as 'Y'. …

Software Development display java
Member Avatar for stultuske
0
384
Member Avatar for ShivaRJ

In interview i faced the problem with this program finally i lost that oportunity,i am trying for that code to solve almost for a month ,i can't get get that one, plz help me i can't solve the program upto now. the program was........... he gave me a big String …

Software Development java
Member Avatar for stultuske
0
345
Member Avatar for Gobroski

This works in C++ Builder: int chcolor; for(int d, d < 5, d++); { String name = "d" + IntToStr(i+1); TLMDSpeedButton* button = dynamic_cast<TLMDSpeedButton*>(this->FindComponent(name)); chcolor = random(6)+1; switch (chcolor) { case 1: button->Color = clRed; break; case 2: button->Color = clSilver; break; case 3: button->Color = clBlue; break; case 4: …

Software Development c++ delphi pascal
Member Avatar for Gobroski
0
592
Member Avatar for Beancounter5

Hi , i would like to include a normal conventiional function in to my obcetive c project. I have tried putting the body of the function outside the implementation section , inside the @implemenation section. I know it wont be part of the class i'm defining , but do i …

Software Development ide objective-c
Member Avatar for adams161
0
400
Member Avatar for lucas.coleman.35

so I've been looking for a good forum to post to frequently that would help with me problems in my programming if I come across them. Well, this looks like as good a place as any, so I figured I'd let you guys know that I'm a beginner programmer and …

Software Development c++
Member Avatar for lucas.coleman.35
0
120
Member Avatar for Neokyuubi

Hello everyone I'm using VB.Net and I have a database contains two tables "Personne" and "PersonneCopy" ( Same schema as Personne [4 columns = N°, FirstName, LastName, B_Day]) I load the first table in a Datagridview all it's fine with that, here's the code: Dim Connection As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data …

Software Development dataset vb.net
Member Avatar for Neokyuubi
0
1K
Member Avatar for axitya

Yes, I know what I'm talking about. which is Creating my own compiler to compile a language say C++,Java,Ruby, Python ..(Any one of them ofcourse -.- ) Actually, if I can just get the source code for an existing one that would be much better. [example] Say there's Turbo C …

Software Development c++ java pascal python
Member Avatar for felceyboy
0
359
Member Avatar for godzab

I am trying make a linkedlist remove() method. It only works half way. When I try to remove a number, it removes the whole right side. For example here is the output: ` before remove: 8,7,3,5,2, after remove: 8,7,` How do I get it so only the three is removed? …

Software Development java
Member Avatar for godzab
0
237
Member Avatar for shark101

hey guys I need help with this I have no idea how to work this out please help me with like atleast the starting coding i am trying to google too but i cannot find any info on this. ***"char * copyString( const char * s ); copyString returns a …

Software Development c
Member Avatar for raptr_dflo
0
279
Member Avatar for Landoro

Hey guys! It's been a long time since I visited daniweb,but I need some help understanding something.A friend of mine gave me problem to solve, but the assignment is strange,I can't seem to find the actually meaning of what I need to generate as an answer.Here goes: By a given …

Software Development c
Member Avatar for raptr_dflo
0
282
Member Avatar for alice.ng.3344

I am doing code for CAESAR CIPHER. I need to built a histogram or frequency distribution for the output. I thought that finding out the frequency of the ASCII code, then print the frequency with * by using loop. But my code din't have array, can't do ++freq[c[i]]. I have …

Software Development c encryption
Member Avatar for DeanMSands3
0
350
Member Avatar for vishalonne

Dear All I have 7 columns of yes/no data type I want to show them in datagridview in checkbox form. I have written this code where I am showing some values from database to datagridview with a column having check box. I just want to show databse value in Under …

Software Development dataset
Member Avatar for 26bm
0
283
Member Avatar for kortneycoles

I'm making a word descramble program for http://www.hackthissite.org/missions/prog/1/ . I think I have a lot of this code correct but I dont know how to read each indivdual character in the scrambled string and compare it to the letters in the unscrabled string from the word list. #include <iostream> #include …

Software Development c++ ios
Member Avatar for iamthwee
0
491
Member Avatar for poopuh

Hey guys, I recently completed a program for my boss which simulates a brute force hacker in that it hacks a password by trying every possible combination of ascii characters until it finally discovers the password. I'm new to Java and I drew up a logical, straight forward way of …

Software Development java
Member Avatar for Vesmir
0
756
Member Avatar for Arjun_Sarankulu

I have created a application which connection to sql server database as well as oracle database The application is working fine at my end And to connect to oracle i used following namespace using Oracle.DataAccess; using Oracle.DataAccess.Client; But when i run the application on user end It gives following exception …

Software Development client-server oracle
Member Avatar for AndrewGrinder
0
10K

The End.