132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for joshmo

I am studying stacks, queues, and heaps at the moment but i dont know how i can apply this in real life. Well my question is how can these may i say operations helpful and when are they really needed as opposed to others. I hope you can get my …

Software Development c++ queue
Member Avatar for Alex Edwards
0
140
Member Avatar for theOneCalledJef

I am working on making my own chat server and client, but have reached a little hiccup. The first line of text that the client send is not displayed by the server. Everything else is, just not the first line. Client [code=python] import socket uname = raw_input('username:> ') uname = …

Software Development client-server python
Member Avatar for tac
0
164
Member Avatar for preyan

Am trying out the eric ide for python Am not sure how to enable the "." function in the editor i.e when i do >>> import os >>> os. It must list me the contents that can be used against the os module I tried the autocomplete calluptips nothing worked …

Software Development ide python
Member Avatar for preyan
0
96
Member Avatar for ahmbil

Hello please can somebody help me to display a listview item to a textbox.

Software Development listview visual-basic
Member Avatar for cometburn
0
104
Member Avatar for zoner7

I have a function inside another function that is called by main(). Inside the innermost function a vector is created, which I would like to return to the first function, which I would further like to return to main(). I suppose that I could create the vector in main and …

Software Development c++
Member Avatar for zoner7
0
117
Member Avatar for zoner7

I am having a compiling issue because of some syntax errors while trying to return an array. You can probably ignore most of the code below; I am only concerned with the call and return of the CreateBoard[][] array. As I understand a pointer might be necessary to do this. …

Software Development c++ puzzle
Member Avatar for Ancient Dragon
0
109
Member Avatar for Pikachumanson

Hello everyone. This is my first post here. I am only posting here under the most extreme circumstances because I cannot for the life of me figure out how to make my save function for RPG game to work. So for it will only save in the first room. So …

Software Development c++
Member Avatar for Pikachumanson
0
261
Member Avatar for cmatos15

I need help where it say /* write code to withdrawal money from account1 */.. i think the member function is written right but im not sure. Im a true begginer taking this online course and I think i have most of it right, can someone please help guide me.. …

Software Development c++
Member Avatar for Ancient Dragon
0
138
Member Avatar for atsuko

Hi all, I am trying to write float numbers in a file. But it gave me an error "argument 1 must be string or read only character not float" then i change it to xyz = 0.9878 text = f.write(str(xyz)) now the error is .. 'str' object is not callable" …

Software Development python
Member Avatar for atsuko
0
159
Member Avatar for CK01

Hi, I was wondering if anyone could help me. I'm trying to find 2 unicodes so I can display the join ('bow-tie')and semi-join (like half a bow tie!) operators in java (used in relational algebra for databases). Anything I find on Google doesn't work (I just get a square!) I've …

Software Development java
Member Avatar for CK01
0
108
Member Avatar for daviddoria

I have a function Scan.MakeLinearGrid() which returns a vector<vector<Vector3> > I have another function that is made to accept this type of thing: Scan.setAngleList(vector<vector<Vector3> >); But if I call it like this: [code] Scan.setAngleList(Scan.MakeLinearGrid()); [/code] it says [code] error: initial value of reference to non-const must be an lvalue Scan.setAngleList(Scan.MakeLinearGrid()); …

Software Development c++
Member Avatar for Duoas
0
1K
Member Avatar for Adz52

Hi there i have the task of making a progam that sorts out a list of words from a text file, i need to take the text file and then take the words and but then in a binary search tree, then i need to display them on screen in …

Software Development pascal
Member Avatar for Duoas
0
332
Member Avatar for nathan.petrelli

hi guys, im having a problem with my homework regarding assembly, to be more precise, programming for the microchip pic16 series. heres the thing, im really a noob and i dont figure it out at all, i have this homework so please if someone knows to solve it or if …

Software Development assembly
Member Avatar for Colin Mac
0
182
Member Avatar for GallantAlex

Hi everyone, I am a just beginning Win32 Application Programming for C++. I really couldnt find any site that didnt confuse the heck out of me. Alrighty, I'm not here to ask you questions about acutally learning Win32, but i would like to know if you could recommned me a …

Software Development c++ visual-studio
Member Avatar for William Hemsworth
0
487
Member Avatar for AceChandra

Need help! supposed to take in 6 project grades and 2 test grades... multiply each by %50 and add together for final average. however, i cant figure out how to add the integers in the array much less compute the average... any help is highly appreciated!!! heres the code: #include …

Software Development c++
Member Avatar for William Hemsworth
0
176
Member Avatar for Software guy

hi , i am tryin to put all the upper case alphabets in an array list and , then i want it to print on screen , but for some particular reason i am getting no result but a strange output. here is the code and result: [code] void buildAlphabet() …

Software Development java
Member Avatar for Ezzaral
0
130
Member Avatar for awi123

program to display 10 multiples of a number [code=c] #include<stdio.h> main() { int m,n,o; m=5; for(n=0;n<11;n=n+1) o=m*n; printf("Multiples are %d",o); }[/code]

Software Development c
Member Avatar for Aia
0
113
Member Avatar for azualin

THIS IS MY QUESTION........PLEASE SOLVE IT........... Write a complete program to read 15 numbers type of integer and calculate the number of the same number. (Use : loop, array, function) Example: Please enter 15 numbers : 2 4 5 6 2 2 7 5 5 2 2 2 4 4 …

Software Development c++
Member Avatar for Radical Edward
0
65
Member Avatar for chickenlord500

I am working on this code and everything is working but for some reason when i go and do case 3 for remove it removes the code but continually asks for me to remmove and no matter what i type it will not go back to default options for me …

Software Development c++
Member Avatar for zoner7
0
196
Member Avatar for witternb

Hello Everyone, I am very new to VB and currently using VB Express 2008 to create a simple program. However, I am running into a syntax error on my update code. I have done some research on the web but cannot find a common thread. I am hoping some of …

Software Development vb.net
Member Avatar for witternb
0
146
Member Avatar for ice661666

Hi, I have been asked to write C++ program to calculate the factorial for numbers from 1 until 255, the problem is that no variable exist as far as I know that can handle the result for calculating 140! And greater “I am not sure about the number but it …

Software Development c++
Member Avatar for tesuji
0
139
Member Avatar for thirtan

can anyone please help me write a program to find the size of primitve datatypes in a particular complier and display the same on the screen.

Software Development c
Member Avatar for thirtan
0
92
Member Avatar for nelson13

I'm writing a program were I have to give the user the option of starting again.........so I ask 'Would you like to add more votes (y/n)?' then I scan for the answer using the line : 'another = scan.nextLine();' The program compiles ok but when i run it. the program …

Software Development java
Member Avatar for Ezzaral
0
86
Member Avatar for linux

Is there any way for someone to, using PyGame or SDL, to do, say: [code]00000000 01222100 01112110 01112110 01111110 00000000[/code] And have it display the 0's as a water tile (10x10), the 1's as a grass tile (10x10), and the 2's as a rock tile (10x10)? As to make maps …

Software Development python
Member Avatar for linux
0
144
Member Avatar for ms_melagiri

Hi all, I'm trying to run 'svn update' on a given directory as a subprocess in python. I need to redirect the output of this process (svn update) to a file called updste.txt. And if 'svn update' fails, I'm trying to send out a mail to myself with the file …

Software Development python
Member Avatar for woooee
0
499
Member Avatar for Phan

I posted here about 2 weeks ago discussing what library I should use for my text based RPG game in c++ console development. I talked to my teacher about it, and he said that plagiarism was a huge concern, so I have to document nearly every aspect of my program …

Software Development c++ open-source storage
Member Avatar for mitrmkar
0
132
Member Avatar for ChuksPierr

I understand that i'm mingling with the gurus of this language. I'm into computer hardware and I want to start programming too(you know no knowledge is lost)I've done a little bit of C and C++, I'm new in Java programming and i want someone to guide me through in this, …

Software Development java
Member Avatar for Ezzaral
0
146
Member Avatar for zourlas

Hi mates So i have a big project for my school...and the bad news are that i am a noob in C++.. In VCL enviroment i try to take an AnsiString Text from a listbox or EditBox and convert it into a integer array in order to do some calculatos …

Software Development c++
Member Avatar for zourlas
0
188
Member Avatar for elhallouf

hey all. I am trying to assign unique IDs to a list of strings I get from a file Let's say my list (list.txt) is: [CODE] Shoes from Italy 1 Shirts made in Japan Shoes from Italy 2 Shirts made in France Boots made in United Kingdom Socks [/CODE] I …

Software Development python
Member Avatar for slate
0
248
Member Avatar for amarhp

Hi all, I have one question regarding pointers.. suppose..I've one pointer tht points to block of data[RAW data - may be sound file]. and i want to copy this data to another location which pointed by another pointer. so plz show me the way ..how to do tht.

Software Development c
Member Avatar for Radical Edward
0
84
Member Avatar for dan_e6

hey guys. here is a scenario: i have a form named frm1 and a variable in it [CODE] private x as integer = 0[/CODE] and another form called frm2 that needs to be able to make a local copy of "x" from frm1 and any changes made to "x" on …

Software Development vb.net
Member Avatar for Jx_Man
0
190
Member Avatar for Aigini

Part of my code for an Update/Save button in a Binding Navigator is as below : [B]dsInventory.inv_itemsubcategory.Addinv_itemsubcategoryRow(Trim(CatCodeTextBox1.Text), CatItemDescTextBox1.Text)[/B] When I move my mouse to that line of code, there is a message that says : Overload resolution failed because no accesible 'Addinv_itemsubcategoryRow' accepts this number of arguments. Why is this …

Software Development vb.net
Member Avatar for Jx_Man
0
94
Member Avatar for gerhardjl

I am using Delphi 5 I wish to do date/time calcs I have noticed now that I require the 'DateUtils' unit in order to use Functions such as IncMinute What are my options to get a copy of 'DateUtils' unit for Delphi 5 Is it downloaded, free, or what? Please …

Software Development delphi pascal
Member Avatar for gerhardjl
0
1K
Member Avatar for somename

Hi guys. I cannot figure out how to do next thing. for example i have a little progie like this: [CODE]int myfunction(int argc, char *argv[]){ int i; for(i=0;i<argc;i++) unlink(argv[i]); } int main(int argc, char *argv[]){ myfunction(argc,argv); }[/CODE] works fine, but i'm trying to do that: [CODE]int myfunction(int argc, char *argv[]){ …

Software Development c
Member Avatar for LouPascalou
0
100
Member Avatar for a3sheikh

please if yuo have graphics.h for microsoft visual.net 2003 c++ can you send it to me thanks

Software Development c++
Member Avatar for Tigran
0
71
Member Avatar for inkcoder

Hello Everyone! I am new to Python, this is my second project. I am trying to make a program that will take a users input and then output the words into the format where A = 1, B = 2, C =3 ... and so on. I want to start …

Software Development python
Member Avatar for a1eio
0
140
Member Avatar for Dannyo329

What i'm trying to do is, basically, link one C++ File, to another. For example, first i have a cpp file, like, main. And I want to have a part where the user chooses something then the other cpp file opens.

Software Development c++
Member Avatar for mitrmkar
0
122
Member Avatar for eng.N

hello, I need to register a new Employee's Car , In my database , there are two tables ( Car_info , Emp_Info ) and I created a relation between them : (Car_info table) Column [B]Car_no [/B]As [B]Primary Key [/B] and (Emp_info table) Column [B] Car_no [/B]As [B]Foreign Key [/B]. [COLOR="Green"]This …

Software Development open-source vb.net
Member Avatar for eng.N
0
89
Member Avatar for n00b3

Hello, Sorry if this is a basic basic question. I am familiar with doing console projects, but I am trying to do a gui project and the rules just don't seem to be the same. I have two basic questions. 1) Why can I not include fstream and/or string headers …

Software Development c++ gui
Member Avatar for mitrmkar
0
162
Member Avatar for bookworm619

I supposed to make in memory linked list. I thought I did it perfectly. My teacher is kind of the teacher that won't teach you but let you figure it out.. I couldn't figure it out!!! I supposed to make one like this but to manipulated the list. I am …

Software Development c++ linked-list
Member Avatar for mitrmkar
0
417
Member Avatar for madhavipoudala

please help me. I need help from you all. I enable to excute the servlet program . the deployment process is also correct , i am doing with the tomcat server, i had set the class path also. the compliation of the java file is also complied, only while excuting …

Software Development java java-netbeans web-server xml
Member Avatar for peter_budo
0
134
Member Avatar for Pgmer

Hi all Im loading list box with availabel datetime formats . but it is loading all the date time formats twice... here is my code: Dim dateTime As DateTime = New _ DateTime(Now.Year, Now.Month, Now.Day, Now.Hour, _ Now.Minute, Now.Second) Dim d() As String = Nothing d = dateTime.GetDateTimeFormats() lstdateandtime.Items.AddRange(d) how …

Software Development vb.net
Member Avatar for Pgmer
0
169
Member Avatar for asda71

hi friends.............. i m new to perl n i hav a doubt. i hav a wordpad file which contains two fields.i hav to do look up in the file such tht whenever the first field is gettin as the output of some program i hav to do a look up …

Software Development perl
Member Avatar for thinkvlsi
0
73
Member Avatar for champnim

Can anybody please give me a link for a program to convert a PDU string to ASCII? Thanks in advance.

Software Development c
Member Avatar for champnim
0
126
Member Avatar for eparse

Hi all, I am facing some error on the database: I declare a field in my database as VARCHAR(50), and i try to modify it to INTEGER(50), However i get this: ERROR 1264 (22003): Out of range value adjusted for column 'MP1T' at row 2 And the field with data …

Software Development vb.net
Member Avatar for ericstenson
0
131
Member Avatar for dlnunez99

I am trying to create a simple command menu that runs in a continious loop untill the user enter the exit option. I am recieving a error report that says error on line 10 syntax and unexpected end of file on line 47. Can anyone please help? I have included …

Software Development shell-scripting user-interface
Member Avatar for Aia
0
119
Member Avatar for paolomontero

Hi, I'm using Turbo C 2.01 and im stuck with this problem. I've reduced it to the following. My code in Turbo C is this: [CODE=C] void f(char *); char h[] = "hello"; void main() { f(h); } void f(char *s) { int n = 0; while (s[n] != 0) …

Software Development c
Member Avatar for paolomontero
0
232
Member Avatar for fujilec

Em, how to convert a blank data to INTEGER? I use the code as shown below: [code] MP1T(hour, 0) = Convert.ToInt16(rs.Fields("MP1T").Value) [/code] but then the field MP1T is previously in VARCHAR format. It runs smoothly until it found out that the field is blank and cannot be converted. How can …

Software Development vb.net
Member Avatar for selvaganapathy
0
170
Member Avatar for champnim

I have a string of the form "abcd\"1234\"efgh". I want to extract 1234 from this string. How should I do this?

Software Development c
Member Avatar for WaltP
0
282
Member Avatar for elhallouf

Hey you all I am starting with python (more familiar with shell in general) I am trying to write a script that replaces a column in a text file with numbers (or IDs) from an other file. Let me rephrase it : I have 2 files: ITEMS.txt and IDs.txt Items.txt: …

Software Development python
Member Avatar for elhallouf
0
163

The End.