132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for jascase901

Hello python is my first language, and i have read 1 book on it and gone through a tutorial, but i still don't feel like i have a firm grasp on python. I hear the best way to master a programing language is to actually program. So i want to …

Software Development open-source python
Member Avatar for lllllIllIlllI
0
161
Member Avatar for wookinhung

Good day, I am currently facing a problem with my VB6 program. I would like to send a form activated from the program of one pc to another pc linked together which doesn't have the same program. How can I do that? I only need to send the form to …

Software Development display visual-basic
Member Avatar for koolsid
0
142
Member Avatar for delphi89

-------------------------------------------------------------------------- Hi people. I have a little problem. How can I use bluetooth libs with Delphi 7 or where I can download them (if they exist)? -------------------------------------------------------------------------- Please help me.... :cheesy:

Software Development delphi pascal
Member Avatar for bluedevices
0
250
Member Avatar for manjusaharan

hi all, i have an c# GUI apps with i provide on CD but i dont want them to install Whole setup again and again. So i just want to give them the new datafiles as patch sothat they can update only the new and updated portion. But i dont …

Software Development c# gui
Member Avatar for manjusaharan
0
109
Member Avatar for docaholic

[ICODE]def selsort(l): if len(l)<=1: return l else: for i in range(len(l)): selsort(l[1:]) [/ICODE] Hey guys, this is what I have so far. I have trouble understanding recursion. Anyone know how to use it to do selection sort?

Software Development python
Member Avatar for Dhaneshnm
0
294
Member Avatar for kenji

Hey Guys, I need some help figuring something out for an assignment. The assignment is basically about creating a editing program to edit a single char string on the console, everything has been coded and works without a hitch except for one part. I can only display a certain number …

Software Development c
Member Avatar for John A
0
113
Member Avatar for jahkevin

three stand A,B,and C as a capacity of 20 each array should show 0 or seats occupied method should show capacity and state of each stand before accepting user input accept age,stand,and index as input output total amount collect by each stand,total classification of the patrans in each stands when …

Software Development c
Member Avatar for WaltP
0
72
Member Avatar for homeryansta

csci>g++ -c queue.cpp csci>g++ queue.o project6.cpp Undefined first referenced symbol in file Queue<int>::return_index() /var/tmp//ccHbZwrM.o Queue<int>::enqueue(int) /var/tmp//ccHbZwrM.o Queue<int>::dequeue() /var/tmp//ccHbZwrM.o ld: fatal: Symbol referencing errors. No output written to a.out collect2: ld returned 1 exit status These are my errors. As you can see, my implementation file compiles, but does not compile …

Software Development c++ client-server queue
Member Avatar for homeryansta
0
132
Member Avatar for shamila08

Hello..... i got a problem where my output are repeated..... how to solve this problem.... [code=cplusplus] #include <stdio.h> #include <stdlib.h> #include <iostream> #define MAX 100 int num[MAX]; int n; int nrows = 0; int temp =2; using namespace std; void print() { if (num != 0) { for (int i …

Software Development c++
Member Avatar for WaltP
0
85
Member Avatar for joshmo

I have recently encoutered an error that I have failed to figure out while trying to implement something in MVC. I have used a similar code on another program which seems to work but I cant figure out why this one is not working. I get the error code "cannot …

Software Development java
0
86
Member Avatar for CPPRULZ

I have recently learned about virtual functions and it is to my understanding that they are a keyword that goes in front of the return type when defining a function. They go in a base class, and make it so that if a member function of the base class is …

Software Development c++
Member Avatar for nucleon
0
110
Member Avatar for gamodg

I have a structure [code=c] struct Info { char *name; char **value; }; [/code] and a function [code=c] void addValue(struct Info *info,char *value ,int posVal) { int size=strlen(value)+1; info->value[posVal]= (char *)malloc(size); strcpy(info->value[posVal],value); info->value[posVal+1]=NULL; } Main struct Info info[10] ....... ....... initValArrSize(&info[0],1); /* Make size+1 single dimension arrays of size char …

Software Development c
Member Avatar for gamodg
0
107
Member Avatar for cruisx

Hi, i was wondering if it is possible to launch a .exe file using c++? say i want to write a simple program which will ask the user if the would like to install the following.:(i am just making it up) Please pick the number beside the program to launch …

Software Development c++
Member Avatar for nucleon
0
15K
Member Avatar for jimjohnson123

I am testing a program that I am trying to run and having some difficulties with it. If you run this program I am able to compille it fine but will not return anything and stalls on me...Here are the instructions..... There are 25 digits split into five groups of …

Software Development c++
Member Avatar for WaltP
0
1K
Member Avatar for BestJewSinceJC

In netbeans I added a scroll pane + bar inside one of my JPanels. When I drag enough items into the JPanel, the size of the JPanel increases in netbeans. How do I get it so that it stays at a fixed size, so I can use the scroll bar?

Software Development java
Member Avatar for BestJewSinceJC
0
2K
Member Avatar for Trekker182

Hi everyone, I just had a quick question on how to go about getting data populated from a data grid view to an array of structures? I have a data grid view with 6 fields and 10 records that match elements in my array. I declared a list of songs …

Software Development data-structure vb.net
Member Avatar for Trekker182
0
114
Member Avatar for ItecKid

Ok, I'm not sure if the above title made sense, here is what I am trying to do: Suppose I am writing a module that looks something like this: [code=Perl] package Whatever; use strict; use warnings; #constructor--will take one argument when called sub new { my $class = shift; my …

Software Development perl
Member Avatar for KevinADC
0
89
Member Avatar for shea279

ok so i have some code that works perfectly with visual studio 2003, but when i move it into my project which is using visual studio 2008, the compiler spits out 9 errors. compiler output: [CODE]1>Compiling... 1>main.cpp 1>.\main.cpp(3) : error C2011: '_STORAGE_QUERY_TYPE' : 'enum' type redefinition 1> C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winioctl.h(641) …

Software Development c++ data-structure visual-studio
Member Avatar for greg022549
0
469
Member Avatar for shea279

ok, so i essentially have a .c file from anubis' process injection code, that i need converted to c++, which is the format of the rest of my product. on compiling, i am getting one annoying error error (when i compile as a .cpp file): [CODE]1>.\inject.cpp(27) : error C2440: '=' …

Software Development c++
Member Avatar for shea279
0
259
Member Avatar for FREEZX

[CODE]#include <iostream> #include <fstream> #include <string> #include <sstream> #include <math.h> #include <windows.h> using namespace std; int main() { int l, pos, pos1; unsigned long int currnum; string str0, str1; stringstream out; string::iterator x1, x2; float koren; bool find = 0; ifstream fin("koren.in"); ofstream fout("koren.out"); if(fin.is_open()) { fin>>l; fin>>str0; fin.close(); currnum=159; …

Software Development c++
Member Avatar for FREEZX
0
152
Member Avatar for FengG

I tried really hard on this one, finally came up with this, however, there's space between every number in my result because of the code 'print xxx,' , I want to find a way to delete those spaces. Program: let user enter say 555-GET-FOOD, convert it to 555-438-3663 [CODE]alph = …

Software Development python
Member Avatar for FengG
0
6K
Member Avatar for sid78669

ok. Heres the thing. I need to make cases for keydowns. I am catching the keycodes and them pass them on to switches. the un-understandable part for me is this: I have the same case for 'TAB' and 'DOWN' keys. Now, I was wondering if instead of repeating the same …

Software Development c++
Member Avatar for Ancient Dragon
0
132
Member Avatar for TobbeK

I have a small problem passing values between classes while a textbox is used. I can reach the public variable (field) for the textbox that belongs to the Form class from my other class, but no values in textbox1.text can be passed from the Form class to my other class. …

Software Development
Member Avatar for TobbeK
0
278
Member Avatar for vinitt88

Hi, I am trying to develop a DOS-like system which will be able to do all minor functions like cd.. cd/ and changing to sub directories. Guys I am stuck in how to find a single path for many files..... Thanx in ADVANCE

Software Development c
Member Avatar for Ancient Dragon
0
146
Member Avatar for Aristophanes

Hello, I just joined, so if I infringe upon any of the forum rules, then I apologize. Anyway, I have a code for approximating integrals via the Simpson's Method. The problem with the code is that somewhere within the mere 52 lines, I have divided my entire sum by 2. …

Software Development algorithm c++
Member Avatar for Aristophanes
0
334
Member Avatar for toucan

I want to able to search for multiple words on the same line. For example, consider the file with the following contents: .... 11. 15 18 40 53 => 16 19 41 54 12. 03 15 27 64 => 04 15 28 65 13. 25 46 47 91 => 26 …

Software Development c
Member Avatar for toucan
0
138
Member Avatar for evbaseball6

have to write a program to rotate the elements of an array a specified number of places input by the user, with these specifications: 1. A positive number indicates a rotation to the right 2. A negative number indicates a rotation to the left 3. Use only pointer notation (not …

Software Development c++
Member Avatar for tux4life
0
73
Member Avatar for JameB

Can this program be shortened any further? I basicallly need to write a program that reads in two numbers and a char. eg. 10 + 10 then outputs its value.... The char can either be + or - or *. The number will always be less than 100. and you …

Software Development c++
Member Avatar for nucleon
0
151
Member Avatar for mjump54

I have a perl script that works fine on my windows XP and a vmware W2003 server... but when I install it on the customer hardware, i get the following errors. Use of uninitialized value $setpub in substitution iterator at C:\scsinput\SaxoOTF.pl line 133. Use of uninitialized value $setpub in substitution …

Software Development open-source perl windows-server
Member Avatar for KevinADC
0
255
Member Avatar for gaspan

I have a problem about the code that skip the ID Number can you analyze the problem just enter 2 for adding and you can see the result

Software Development c++
Member Avatar for tux4life
0
129
Member Avatar for Moe

hello! I like to define the Distance class and overload binary + operator to add the two distances using friend function. my program is here. But it does not work. The error message said that "undefined symbol feet". What is the problem? [code] #include<iostream.h> class Distance { int feet; float …

Software Development c++
Member Avatar for Moe
0
115
Member Avatar for perumar

You operate several hot dog stands distributed throughout town. Define a class named HotDogStand that has a member variable for the hot dog stand's ID number and a member variable for how many hot dogs the stand has sold that day. Create a constructor that allows a user of the …

Software Development c++
Member Avatar for tux4life
0
723
Member Avatar for turbomen

Please help me again. I have 2 questions in this time. Question 1. Write a program that asks for a start and stop letter and then produces the following: Question one: This time create an array of 7 numbers. Fill each slot with a randomly generated number between 1 and …

Software Development pascal
Member Avatar for FlamingClaw
0
183
Member Avatar for m_sam6

i want to replace a word in string by other word how do this simply ?

Software Development java
Member Avatar for m_sam6
0
94
Member Avatar for denniskhor

How to print Tokenizer and Split out put in Text Area? Normally is use System.out.print() to print them. I wan it print in Text Area or something like text area, anyone can help me out? Thanks.

Software Development java
Member Avatar for verruckt24
0
95
Member Avatar for neutralfox

Hello everyone, I am in big trouble, actually, I am developing a chat in Java. I am still on the server part, but the problem is that when i am clicking on a button to instantiates a class, the whole program freeze, please help me to figure out this problem. …

Software Development java java-netbeans java-swing
Member Avatar for neutralfox
0
2K
Member Avatar for badboizEnt

am a beginner in C++; am writing a program on C++ and i have bin trying to make a user enter his username and to enter a password and If correct the program will output a message such as: "Welcome Name of User” If incorrect my program should allow at …

Software Development c++
Member Avatar for badboizEnt
0
223
Member Avatar for zahraj

Hi everybody ..... i write this code to select rundom from list box(1)[have decimal number ] and but in the listbox(2) in list box 2 select the max value and but in the listbox(3) ((for examble i but 4 number in listbox(1)the function find 4 random number and find th …

Software Development vb.net
Member Avatar for ddanbe
0
87
Member Avatar for cipherbeale

Hello, I am a newbie to programing but I seem to be getting the hang of things. I am trying to create an plain text encription program that inputs the cipher key and encription text to be accepted via either comma deliminated txt or excel file. I have my program …

Software Development c++ encryption
Member Avatar for shea279
0
109
Member Avatar for kahaj

Before the sum is given, the program closes. What's causing this? [code] #include <iostream> //function main int main() { //var declarations int number1; int number2; int sum; std::cout << "Enter first number: "; std::cin >> number1; //read first integer from user into number1 std::cout << "Enter second number: "; std::cin …

Software Development c++
Member Avatar for PRATS 1990
0
101
Member Avatar for rizrash

Hey friends i just want some help....well got a simple task this weekend to make a rings of different colors using circles....like i want an output in which a circle appear on top left and after little delay another one appear near to the first one...and so on......and all should …

Software Development c++
Member Avatar for rsashwinkumar
0
628
Member Avatar for shailev

hi! i want to write a ftp server. i started writing: [CODE] from socket import * server= socket(AF_INET, SOCK_STREAM) server.bind(("0.0.0.0", 21)) server.listen(5) while(1): (client_s,client_addr)=server.accept() command=client_s.recv(1000) print command client_s.close() [/CODE] i run it and wrote in the internet explorer: [url]ftp://localhost[/url] but nothing happen.. it doesnt print the recieved command. what can …

Software Development python
Member Avatar for Gribouillis
0
57
Member Avatar for fidelinho

is it possible to attach a combo box to an input box ( or maybe a label or textbox) ? be more precised, i would like to know how to get codes for combo box thanks for advance

Software Development visual-basic
Member Avatar for cguan_77
0
90
Member Avatar for joejoe55

Can I use this function to read a percent Value from an ini? For example it would be something like this if (Life drops below X percent) (cDrinkaPotion) The code I have so far only reads key values and such, I dont know how to read a number value.. [CODE]bool …

Software Development c++
Member Avatar for mitrmkar
0
1K
Member Avatar for thacravedawg

I have an application that accepts around 20 fields of data (string/int) from the user. Then allows the user to edit a dataset in a datagrid, and sort this dataset to display the updated dataset. I now need to take the fields of user input (textboxes) and the applicable dataset …

Software Development dataset xml
Member Avatar for ddanbe
0
122
Member Avatar for msalman

hey, I've two classes and one class inherit the first class. I'm trying to add objects to vector (could be parent or child) and then call the overriding function (print) to display values passed in their respective constructors. But for some reasons only parent class' function (print) is invoked. I …

Software Development c++
Member Avatar for msalman
0
166
Member Avatar for launic

I'm trying to recursively search through directories and pull out any files or subdirectories. This is the code I have: [code=cplusplus] int readDir(string directory, vector<string> &fileList) //directory is the name of a direcotry //fileList is an empty vector DIR *dir; struct dirent *ent; if((dir = opendir(director.c_str()) == NULL){ cout<<"Invalid Directory"<<endl; …

Software Development c++
Member Avatar for zamp
0
579
Member Avatar for wzseow

Hi there. I've written a program to sort a few numbers. However, I get an error missing function header. Can you please guide me where did it go wrong? Thanks [CODE]// #include "stdio.h" int sort(double top, double middle, double bottom); int main() { double x[20]; x[1]=0; x[2]=-0.07; x[3]=0.08; x[4]=-0.01; printf("%.1d,%.1d",x[1],x[2]); …

Software Development c
Member Avatar for wzseow
0
116
Member Avatar for Ken JS

How do I find the Parity Check Matrix, when I’m given the generator matrix? e.g. | 1 0 0 1 1 | G = | 0 1 0 1 2 | | 0 0 1 1 3 | Can anybody teach me how to find the Parity Check Matrix or …

Software Development c++
Member Avatar for SITI HARYANTI
0
400
Member Avatar for winrawr

I'm unsure of how declaring **x (a pointer to a pointer of x) is the same as declaring x[][] (a two-dimensional array of x's)... The theory I have is this: int *x = {whatever}; (x is a pointer to the first int value) *x (first array item, value pointed to …

Software Development c++
Member Avatar for NicAx64
0
175

The End.