43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for Gagless

I am working on a recursive function that does multiplication so I don't have to use the * operator or loops. What I'm stuck on right now is how to get it to produce negative products. I thought the code for positive products subtracted from 0 would work, but I …

Software Development c++
Member Avatar for Gagless
0
152
Member Avatar for mmx64

Hallo, can someone help me out: I have a stringgrid, where i display hex data of a file( a hexeditor), and i need to change the color of the cell, if i chenge the data inside it. How can i do that?? Thanks.

Software Development pascal
Member Avatar for mmx64
0
3K
Member Avatar for Bitto11

Hello ppl I am new to c++ and especially a noob in graphics. All the functions I have learnt are from Help File in Turbo c++ 3.0. Since this part of c++ is not in my course, I am having difficulties learning it. Now, in the following code the[B] outtext …

Software Development c++
Member Avatar for Bitto11
0
182
Member Avatar for biggz

i need to build a recursive function which calculates the average of specific numbers entered ... so its fine till now but ... it says the number of entries is determined by the user's interest .. so i got some ideas i kinda stopped here i made a function which …

Software Development python
Member Avatar for bumsfeld
0
99
Member Avatar for heshan

Hi, I am having a string like below. What I need to do is to process the string in such a way that I could get the output in a format like below.The problem I am facing here is that some elements have commas(,) within itself , so it is …

Software Development python
Member Avatar for bumsfeld
0
142
Member Avatar for petzoldt01

A some point in my program, it is necessary for me to start a child process (Im on linux, btw, ubuntu gutsy). The process streams DV to stdout, but can be controlled in an "interactive mode" through commands to stdin. How does one establish streams going both ways? If you …

Software Development c++ ubuntu
Member Avatar for Duoas
0
351
Member Avatar for Xokzin

Hi There, I'm a begginer in C++. In the program below the value must be returned to display the appropriate message. I expiriencing problems trying to compile the program. The erro message: [Warning] In function `bool passOrNot(char)': non-lvalue in assignment Can you help. Thanks #include <iostream> using namespace std; int …

Software Development c++
Member Avatar for Xokzin
0
85
Member Avatar for Karkalash

Hi: I made a simple game using java and I would like to know if there's anyway that I can make the file an executable so that my little game runs on the command windows so I can share with my friends?

Software Development java
Member Avatar for unitechy
0
75
Member Avatar for yap

Hi all in here, It is said that system("PAUSE"), automatically generated by dev-c++ for console application, to prevent console window of disappearing instantly would be not standard c++, furthermore it would be consume much of a computers resources. What is a good replacement for it? I have been experimenting with …

Software Development c++
Member Avatar for tesuji
0
2K
Member Avatar for Sky Diploma

Help Me with this code. i JUST installed code::Blocks and am not familiar with the errors , I wanted to know what is going wrong with this? [CODE=CPLUSPLUS] #include <iostream> using namespace std; int f(); class Date{ int d,m,y; static Date default_date; public: void set_default(int dd,int mm,int yy); Date(int,int,int); Date& …

Software Development c++
Member Avatar for Sky Diploma
0
149
Member Avatar for geetajlo

Hi in my country we can phone anyone by only 7 number... Eg 2345897 and sometimes we represent it in this format 234-5897 by a - (negative).. i want to tell the txtPhoneNumber that after 3 numbers ahve been entered a negative should be place and it should comes automatically …

Software Development vb.net
Member Avatar for Pgmer
0
116
Member Avatar for jaasaria

hi guyzz... i have a code here about chatting using winsock, but it is not working and I tried 2 surf in net but the error cant be solvd cleared.. .i have a runtime error 40006(wrong protocol or connection state....) and the error is refer to the senddata properties... plzz …

Software Development visual-basic
Member Avatar for jaasaria
0
291
Member Avatar for vinaya

How we can allow only excel sheet to be uploaded in file uppload functionality.

Software Development
Member Avatar for vinaya
0
92
Member Avatar for Petey211

I am using a status bar in a program that i am working on for VB.net 2003, i am trying to have some text scroll or marquee across the screen from right to left, can someone please help me with the code.

Software Development vb.net
Member Avatar for Jx_Man
0
216
Member Avatar for Kob0724

I keep getting this error: [QUOTE] debug/moc_funccntrlparams.o: In function `qt_noop()': /home/f07/xxx/QT/include/QtCore/qglobal.h:1425: multiple definition of `FuncCntrlParams::type_pairPotList' debug/interpotcntrlparams.o:/net/home/f07/xxx/workspace/tramontoGUI/interpotcntrlparams.cpp:95: first defined here [/QUOTE] But I'm not defining type_pairPotList any where in the interpotcntrlparams.cpp file. This is what my code looks like at line 95 in interpotcntrlparams.cpp. [CODE] #include "funccntrlparams.h" . . //line 91 …

Software Development c++ qt
Member Avatar for Kob0724
0
2K
Member Avatar for lllllIllIlllI

HI I was having a look into classes and i noticed i saw a lot of things like [code] class fruitcake(object): pass [/code] my question is what is the point of the "object" being in the class arguments as it is a Built In Function and i couldn't work out …

Software Development python
Member Avatar for bvdet
0
106
Member Avatar for Ravenn

mm.., hello. First, i'm kinda new to this... kinda, anyway, i'm supposed to write a prog that handles large numbers, like 200 digits long, by storing them in a string of characters. it's supposed to have a class with functions for all the mathematical operations, reading, and writing, maybe into …

Software Development c++
Member Avatar for Ravenn
0
107
Member Avatar for savinki

How can I convert char* to a char value? can someone reply me asap

Software Development c++
Member Avatar for ithelp
0
129
Member Avatar for swapna7999

1.Dim d As String 2.d = Format(Now(), "dddd, yyyy mmmm dd") 3. MsgBox (d) 4.If Dir("c:/", Photos & d) = "" Then 5.rspCreate = MsgBox("Directory doesn't exist, do you wish to create it?", vbYesNo) 6.If rspCreate = vbYes Then 7. MkDir "My Documents/swapna" 8. End If i want to create …

Software Development visual-basic
Member Avatar for Jx_Man
0
115
Member Avatar for veledrom

Hi, [code]Label6.Caption = rcsetFran.Fields("franchiseid")[/code] generates an error"Method item of object Fields failed". If i do [code]Label6.Caption = rcsetFran(0)[/code] then doesn't accept '0', i need to give '1'. In this case i can't return first column in the table. 1 returns second column. How can i solve this problem. Thanks

Software Development visual-basic
Member Avatar for veledrom
0
100
Member Avatar for guest7

Hi, Following is my code : i=3 j=3 while [ $i -le $count1 ] do i=`expr $i + 3` head -n 60 file1.imp >> s27.txt [COLOR="Red"]while [ $j -le 60 ] [/COLOR] do head -n 3 file2.imp >> s27.imp ./prog1 s27.txt > result.txt if grep OUT result.txt then head -n …

Software Development shell-scripting
Member Avatar for eggi
0
370
Member Avatar for TeCNoYoTTa

Hello all I am beginner in C++ and i have some questions In many languages there are included libraries for many uses such as libraries for downloading files / uploading files using ftp connection ...etc but in C++ i cant find these libraries my question ....... must I use libraries …

Software Development c++
Member Avatar for TeCNoYoTTa
0
156
Member Avatar for Grub

Hi, I have the following class and main method: [code=cplusplus] class Employee { vector<string> v; string name; int i; public: Employee(){} Employee(string &n): name(n), i(0){} void read(vector<string *> &vec) { string n; for(int i = 0; i !=3; i++) { cin>>n; Employee e(n); vec.push_back(&n); } } }; int main() { …

Software Development c++
Member Avatar for Grub
0
265
Member Avatar for QuantNeeds

Help - I am having the following errors repeatedly so I know it is a consistent mistake I am making but I just can’t see what it is. I already fixed many other errors and now it’s just this.....so close...... :confused: My errors are the following. I did not put …

Software Development c++
Member Avatar for QuantNeeds
0
198
Member Avatar for lllllIllIlllI

Hi I have the source of a webpage that tells the weather and i want to extract the data and my only hurdle left to jump is to remove all the formatting HTML marks inside and including the <> bracket. I have the web page source stored as a string …

Software Development python
Member Avatar for bumsfeld
0
106
Member Avatar for nickm

Hello All, first. I would like to say this is first time in forums, so if I show bad manners/form, please let me know. I do learn quickly! I have created a small utility that removes software from the system. At the present time, the app will download and install …

Software Development vb.net
0
47
Member Avatar for Jennifer84

I have a code like below that when pressing a button, panel1 and labelText1 should be seen. Then I will put the process to "Sleep". After this, labelText1 should be emty ("") and labelText2 should write "TextMessage2": Then I wil put the process to "Sleep" again. And last put panel1 …

Software Development c++
Member Avatar for Jennifer84
0
133
Member Avatar for savinki

How can I type cast char* to a long value? e.g. char * abc ; long xyz; xyz = abc????

Software Development c++
Member Avatar for Radical Edward
0
231
Member Avatar for Kabooom

Just starting Python and I have a question about how to run it just by double-clicking. With simple things like [ICODE]print "Hello World"[/ICODE] the wait for user input clause can be added and it will run by double clicking and give the desired output, but when I try it with …

Software Development python
Member Avatar for Kabooom
0
3K
Member Avatar for tondeuse34

Hey guys again, but i got another question. With this code here: [CODE]if choice == 'help' or '/help': print "Test"[/CODE] what if you entered anything else besides '/help' or 'help' and you have defined other things in the code you want to go to from input? any ideas/suggestions, Thanks

Software Development python
Member Avatar for jrcagle
0
122
Member Avatar for hazmatt

I have been searching for days to find an Http Client in C++ that I can use. I am assisting in a research group involving camera recording based on sensor detection and am responsible for making the interface with the cameras. I have some work that was done before I …

Software Development api c++
Member Avatar for hazmatt
0
338
Member Avatar for dantastik

Hi everybody - first post. I did look around a bit but couldn't find a relevant answer, if it's a duplicate post apologies! Anyway, using Ubuntu 7.10, NetBeans and MySQL libmysql-java 5.0.4+dfsg-2 installed ( JDBC drivers ) I also downloaded mysql-connector-java-5.1.6.tar.gz but not quite sure what to do with it. …

Software Development java java-netbeans ubuntu
Member Avatar for peter_budo
0
173
Member Avatar for geetajlo

hi i have an mdi form n 3 other form namely patient,about, tips. i do not want the user to access any other form when he/she is using the about ,patient or tips form. the user must close to be able 2 access any other form. i have search a …

Software Development vb.net
Member Avatar for selvaganapathy
0
120
Member Avatar for geetajlo

TextBox1.Text = StrConv(TextBox1.Text, VbStrConv.ProperCase) i have place the code in the textbox1 textchanged event.. bt when i type a name it is writing it backward n it converts the last letter only in Uppercase eg... when i type geeta it show me --> Ateeg Can u plz help me ...

Software Development vb.net
Member Avatar for geetajlo
0
105
Member Avatar for Leil@

[B]I need a program which convert infix to prefix using stack in c[/B]

Software Development c
Member Avatar for jephthah
1
99
Member Avatar for ymf

Hi, I have a cgi script in python that outputs a html table, but i also need to count the number of rows in that specific table. Any ideas on how i can proceed? Thanks in advance, ymf

Software Development html-css python
Member Avatar for ymf
0
90
Member Avatar for Drake

Hi can anyone tell me if global variables are not liked to be used and why, and whether local variables are a preferred or not and why?? thanks if you can help

Software Development c
Member Avatar for jephthah
0
189
Member Avatar for jhaski

I created a webcrawler that holds a lot of data in a list and then outputs this data to a file. When I try to run 50 instances of this program at the same time using a batch file, the programs suddenly all terminate at once, without outputting the text …

Software Development python
Member Avatar for jrcagle
0
104
Member Avatar for Seagull One

In the python script for my robot, I'm searching for a way to detect a variable change. After doing a search, I found this example in VB.NET. [URL="http://www.daniweb.com/forums/post610941.html#post610941"]http://www.daniweb.com/forums/post610941.html#post610941[/URL] I've tried to translate it into a python bit, but with no success. What I want my robot to do is this: …

Software Development python vb.net
Member Avatar for jrcagle
0
102
Member Avatar for edek

Hi, 1) Is it better to create one dataset for the whole project than many smaller (like one for each form)? 2) If I have 2 datasets, both has tableadapters that connects to the same data. Both table adapters load data to tables. Now, data in one of those tables …

Software Development dataset
Member Avatar for edek
0
198
Member Avatar for joshmo

am trying to delete an element from my list but am having a problem..i have managed to position my pointers well but av failed to to the actual element. i.e user enters a number to be deleted from the list..here's the bit of the deleting code that i have been …

Software Development c++ linked-list
Member Avatar for joshmo
0
128
Member Avatar for jmines

I want to change the background color of the output screen in Dev-C++. How can I do that? I searched the Internet but didn't find any. Any help on which function should I use?

Software Development c++
Member Avatar for Salem
0
167
Member Avatar for awi123

the program asks to calculate the power of a number, for eg. if 2 is entered as the base and 3 is th power it should display 8.

Software Development c
Member Avatar for lich
0
120
Member Avatar for computer engW

Here i have problem with ctype.h library .I think i use correctly,but i ahve an error on it. This is the code. [ICODE]#include<iostream> #include <ctype.h> using namespace std; int main(){ char letter; int num; int isdigit(int letter); int isupper (int letter); int islower( int letter); int small=0; int capital=0; int …

Software Development c++
Member Avatar for computer engW
0
182
Member Avatar for sieghart0123

I'm new at C++ programming and am working on an assignment. I've managed to compile my codes alright but got an error while testing the program. The error surfaced halfway through viewing details of a linked list, where suddenly, the program started printing weird characters while the computer emit beeping …

Software Development c++ linked-list
Member Avatar for sieghart0123
0
130
Member Avatar for Pgmer

How can i delete the Combobox Collections programetically?????/

Software Development vb.net
Member Avatar for Jx_Man
0
100
Member Avatar for daniel88

Hi guys! I am currently having trouble in the final stages of an assignment which involves linked lists and dynamic arrays. The assignment involves adding books to a library. This means that each record has a title and one or more authors. I have worked out what I think was …

Software Development c++ linked-list
Member Avatar for daniel88
0
140
Member Avatar for knowledgelover

Hi there, how can I open recent power point presentation and recent access data base from a c# application , in other word the last opened file in both , I could do it with the word using Application.RecentFiles, but it was not for the power point any articles that …

Software Development
Member Avatar for majestic0110
0
98
Member Avatar for TheWhite

I'm trying to add a KeyListener to my JFrame, but it doesn't seem to work when I have a JButton floating around [code=Java]import java.awt.event.KeyEvent; import java.awt.event.KeyListener; import javax.swing.JFrame; import javax.swing.SwingUtilities; public class Testing extends JFrame implements KeyListener{ public static void main(String[] args){ SwingUtilities.invokeLater(new Runnable() { public void run(){ new Testing(); …

Software Development java java-swing
Member Avatar for TheWhite
0
1K
Member Avatar for computer engW

Hi, When i write any code has if else statement , and run it na error appeatrs and say that else doesn't match with if [U]or[/U] illegal else without matching if. I don't know where is the problem exctly ,and you should know that i don't put } in these …

Software Development c++
Member Avatar for computer engW
0
98

The End.