43,549 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for selasedaniweb

I have a simple question and am hoping to gather lots of ideas. Am currently working on a project which consists of just one developer which is me, this project is supposed to be completed by January which is about 3 months from now and there aren't any budgets involved. …

Software Development
Member Avatar for Momerath
0
209
Member Avatar for kafro

I'm trying to build a Tkinter that counts how many times a letter appears in the entry box. I want it so I enter letters A,B, or C into the entry box, and when I click 'Count' it displays how many times each letter appears. I feel like I'm really …

Software Development python tkinter
Member Avatar for TrustyTony
0
1K
Member Avatar for Swedenrock

My project is to create a solitaire game with a different card deck. I have created four lists with three objecs in each off them and I would like to create 81 unique cards out off these objecs. colors = [blue, yellow, red] shapes = [triangel, circle, square] numbers = …

Software Development python
Member Avatar for Gribouillis
0
163
Member Avatar for s0ur

Hi Experts, I was wondering how to do the following: I have three strings that have five numbers assigned to them for instance, 'a' can equal 1, 2, 3; 'b' can only equal 4 and 'c' can only equal 5. some process happens and I get a result of an …

Software Development python
Member Avatar for s0ur
0
190
Member Avatar for ssubnel

Tell me if this makes sense structurally. I have a final this week and this homework will not be graded till after the final. I was just curious if I have as firm a grasp on this as I think I do. [CODE]public class account { private int id = …

Software Development java
Member Avatar for ssubnel
0
132
Member Avatar for The Road To Voi

So basically I want to login to FaceBook and check if I have any notifications. I haven't a clue how to check if I have notifications and I'm not very good at all with HTML so I'm not sure what I'm looking for in the page source to grab the …

Software Development c# social-media web-browser
Member Avatar for alc6379
0
379
Member Avatar for claudiordgz

I guys, i have a problem with binary files A file is opened in the beginning of the main then a case to give the user a choice: 1.- Show the content of the file 2.- Search for a name 3.- Search for a type of crime 4.- Search for …

Software Development c++ file-system ios
Member Avatar for claudiordgz
0
106
Member Avatar for xfreebornx

[CODE]#include <iostream> using namespace std; struct student { int ID; char name[80]; char nationality[80]; char gender[2]; }; void insert(student array[]); void Sort(student array[]); int main() { student array[100]; int answer; cout <<"Welcome to student recording system"<<endl; cout <<"Please choose one of the following option"<<endl; cout <<"1.Insert new record"<<endl; cout <<"2.Delete …

Software Development c++
Member Avatar for A.Ali
0
285
Member Avatar for hueikar

I would like to do a coding to delete the txt.file that i had created before using visual studio..can anyone teach me the coding?thank you.

Software Development vb.net visual-studio
Member Avatar for AndreRet
0
920
Member Avatar for Quazy

Hello I have a bindingNavigator and some textboxes connected to the bindingsource, in a childform, a form inside another form. I have a third form, a search function, and I need to change the bindingNavigator Position, when I choose a number in my "search" form. I have some code in …

Software Development vb.net
Member Avatar for Quazy
0
319
Member Avatar for styleest

I'm an intermediate vb programmer, i need help . I wrote a code that'll fetch a particular employee id (EM_ID) and print the report but its saying this whenever i compile and run. Runtime Error 2147217904 [80040e10] [ODBC Microsoft Access Driver] Too few parameters The code is below rs.Open "SELECT …

Software Development microsoft-access visual-basic
Member Avatar for styleest
0
290
Member Avatar for novice20

hi... I have written a script for FTP upload using python.. It worked fine when i tried on local boards, but is giving me an error when trying with a remote board via VPN. this is the error i get: [B](104, 'Connection reset by peer')[/B] the machine i developed script …

Software Development peer-to-peer python
Member Avatar for novice20
0
1K
Member Avatar for Tsunami49

Hi there. I am currently trying to get my head around using classes across two files. I currently have a super class and a sub class stored in a file and the main function in another. When I try and pass arguments to the class they work fine if the …

Software Development c++ oop
Member Avatar for Tsunami49
0
137
Member Avatar for globberbob

Trying to write to a file with this function in my program, for some reason itl make the file, it'l output the text on screen, it all works as intended, but i go to check on the file, and its blank inside. so im guessing im doin somethin dumb, help/tips …

Software Development c++ file-system
Member Avatar for globberbob
0
137
Member Avatar for whodoes21

Hello members of Daniweb :) I am a frosh IT student and I need little help with this :) ok so the program is basically a simple cashier program. you enter a code for an item. you buy it compute for the change etc. etc. now my problem is with …

Software Development c++ ios
Member Avatar for whodoes21
0
208
Member Avatar for rebellion346

I'm getting weird output from this program, its printing a bunch of huge negative numbers, they're all the same number in fact. I have no idea what's wrong with it. Heres what im trying to do: I'm taking ordered pairs and translating it into a boolean matrix so for example …

Software Development c++
Member Avatar for rebellion346
0
156
Member Avatar for insanely_sane

Been working on this for 2 hours non stop. Can't seem to figure out exactly what's the problem. Perhaps I'm taking a wrong approach to this problem. Right, I need to copy a singly linked list to another new list. Can use any method EXCEPT RECURSION. Here's the code so …

Software Development java linked-list
Member Avatar for Taywin
0
3K
Member Avatar for eikal

Hi, so im having the user pick two separate colors. Now when they pick the 2.... im going to run an event that determines that combination..... for an example if the user picks red and blue the outcome will be +5 points. Now the only way i can think of …

Software Development vb.net
Member Avatar for codeorder
0
112
Member Avatar for LevyDee

How would I setup an event in my class to be automatically called. So, Im using a ChannelFactory object, which has a few events associated with it. Closed, Closing, Faulted, Opened, Opening. I want to do something specific when these events happen, but I guess im lost on how to …

Software Development
Member Avatar for jbrock31
0
165
Member Avatar for ceyesuma

Hello I just started working with JTabbedPane tabs. I have been using the index to navigate the pane. Now I add and remove tabs from the pane so clearly the index navigation is no good. Does anyone know some code for an easy solution for using the title or something …

Software Development java
Member Avatar for ceyesuma
0
99
Member Avatar for NewOrder

[CODE] class Program { static void Main(string[] args) { Number n1 = new Number { X = 10 }; Number n2 = new Number { X = 20 }; Number n3 = n1 + n2;// +(n1,n2) Console.WriteLine("{0}+{1}={2}",n1.X,n2.X,n3.X); int result = n1 + 30; Console.WriteLine(result); Console.WriteLine(n1==n2);//False Console.WriteLine(n1 != n2); //True } …

Software Development
Member Avatar for alc6379
0
105
Member Avatar for noniterum03

I am a new python user and I am trying to code an implementation to calculate and empirical cdf. So far, I have some code (attached below) that returns a list of tuples [(datapoint, P(X>=x)),...]. The problem I am trying to resolve is how to take care of replicated data …

Software Development python
Member Avatar for SgtMe
0
110
Member Avatar for geethasree

Hi All, this is my first query after joining the forum. I would like to know following points: 1. If I can create threads in constructor 2. If yes, can I use the same object / instance (which created this thread)in this thread to call other methods of the class …

Software Development c++ oop
Member Avatar for geethasree
0
2K
Member Avatar for Chalandria

Here is the start of my program. I am having a little trouble linking the farToCel/celToFar user defined methods with the final equations in the action statements. The output is whatever the user enters and 0 for "fah" and "cel". Example: displayTF.setText(inputTF.getText() + " Celsius is " + cel + …

Software Development java java-swing
Member Avatar for Chalandria
0
165
Member Avatar for ekkanh

How do I read files through another file?

Software Development python
Member Avatar for Gribouillis
0
105
Member Avatar for soccer13

Is there no such thing as hasNextChar? I'm trying to make a program to figure out a grade point average, and a solution I've come up with to deal with the +/- is to assign it as a char and give it a value from there, but I run into …

Software Development java
Member Avatar for apines
0
8K
Member Avatar for spades0001

I made a flowchart that will print counting numbers 1-10 automatically, and I'm supposed to print their sum and average at the end. Now, I have to convert the flowchart into three Java programs: For, While, DoWhile. I'm having a bit of a problem on the flowchart and the programs. …

Software Development java
Member Avatar for apines
0
204
Member Avatar for Syrne

Hello! So for my assignment I had to declare an array of 25 student objects and input data into them including another array of 5 test scores. All that is done and works flawlessly(At least that's what I think), but the last portion of the assignment is for me to …

Software Development c++ file-stream
Member Avatar for Syrne
0
1K
Member Avatar for vinitmittal2008

[B]Hello Friends.. I need suggestions to make my this program better...[/B] [COLOR="Red"][B]Implementation of a STACK(containing names) as an array, with its basic operations PUSH,POP & SHOW[/B]..[/COLOR] [CODE] # include <stdio.h> # include <conio.h> # include <string.h> # include <process.h> # define STACKSIZE 5 typedef struct{ int size; char names[STACKSIZE][20]; }STACK; …

Software Development c
Member Avatar for Ancient Dragon
0
206
Member Avatar for jothi lakshmi

to print the elements of singly linked list

Software Development c linked-list
Member Avatar for sree_ec
-1
52
Member Avatar for TheDocterd

Hi there all Don't know if I'm at the wrong place, but I'll take that chance. I am fed up battling with importing txt files to sql server 2005. I am re-writing a vb6 based application, that uses text files, to a c# based application that uses sql server 2005 …

Software Development
Member Avatar for taylby
0
246
Member Avatar for o0oKodako0o

I have a ArrayList and JTable load Object from ArrayList to display on table. When i sort table by using method: [CODE]table.setAutoCreateRowSorter(true);[/CODE] by using that method, i can sort table by clicking on header of the column i want to sort! But after sort, the Object of row which i …

Software Development java
Member Avatar for o0oKodako0o
0
657
Member Avatar for gahhon

[CODE]void List_Student_Details() { FILE * output_list; output_list = fopen("StudentDetails.txt", "r"); if(!output_list) { system("cls"); printf("This File Cannot Be Open Successfully!!\n"); printf("Please Check It!!\n"); exit(-1); } else { system("cls"); printf("\n"); printf("************************ STUDENT DETAILS ************************\n"); printf("\n"); i = 0; while((fscanf(output_list,"%[^|]", &Summary[i].studNo)) != EOF) { fscanf(output_list, "%[^|]", &Student[i].regNo.year, &Student[i].regNo.campus, &Student[i].regNo.school, &Student[i].regNo.level, &Student[i].regNo.serial_number); fscanf(output_list, "%[^|]", …

Software Development c
Member Avatar for gahhon
-1
118
Member Avatar for burcin erek

easy program... but x_1 and x_2 strings dont change after return from function I expect 50 and 70 but still keeps declaration value. [CODE]#include <cstdlib> #include <iostream> using namespace std; void absurd (string a, string b) { a="50"; b="70"; } int main(int argc, char *argv[]) { string x_1="burcin"; string x_2="erek"; …

Software Development c++
Member Avatar for Fbody
0
117
Member Avatar for atticusMom

Currently working on a project where we have a message board server. I've gotten most everything to work except my last part where we want an arrayList that returns Oldest Messages and one for newest messages. Here is what I have so far and have tweeked and commented out some …

Software Development java
Member Avatar for Taywin
0
121
Member Avatar for parallel91

Hey all, I have a text file and I want to find out the top 40 most used words in the text file. I managed to do that. But, I have another text file that has hundreds of "stop words." When looping through the text file to find out the …

Software Development file-system python
Member Avatar for king_koder
0
283
Member Avatar for HoneyBadger

Guys I am trying to check the size of a item inside a list. How do I search through a list and return items of a certain size? This is what got: [CODE]#This is meant to search through a .txt file an return the words with 20 characters fin = …

Software Development python
Member Avatar for TrustyTony
0
93
Member Avatar for Sykee

[CODE] def main(): #Check to see if quickdraw is located in the correct palce quickfile = file_existance() quickdraw = subprocess.Popen(['java', '-jar', quickfile], stdin = subprocess.PIPE) #Intro, explaining what will occur throughout program intro() # x_coordinate(1) y_coordinate(1) initial_ball(quickdraw) def file_existance(): filename = raw_input("Please enter the name of the file: ") while …

Software Development os-x python
Member Avatar for TrustyTony
0
161
Member Avatar for Naveed_786

Can any body tell me how can i check that record already exists?

Software Development visual-basic
Member Avatar for AndreRet
0
260
Member Avatar for bigwhiteegg

here is my question say I have a struct nodetype in the header file named linklist.h there contains a struct constructor in the nodetype named nodetype(int, nodetype*) how to I declare the code in the linklist.cpp? do I do the same for class constructor or something different?

Software Development c++
Member Avatar for bigwhiteegg
0
81
Member Avatar for king_koder

I wrote the following function in Python3 for finding the largest product of numbers along the diagonal(top-left to right-bottom). [CODE=python] def GreatestOnDiagonal(data): '''Returns greatest product possible by multiplying 4 numbers in the diagonal ''' grtProduct=1 for item in data: for n in item: product=1 for r in range(0,4): try: d=data.index(item)+r …

Software Development python
Member Avatar for king_koder
0
406
Member Avatar for blackrandom

Okay, I have a header file I am trying to stub out to my_list.cpp but I keep getting these errors that I do not understand and have been working down to them but I got stuck. I figure I'm in deep trouble seeing as I can hardly stub these out, …

Software Development algorithm c++ linked-list
Member Avatar for blackrandom
-1
210
Member Avatar for emko

Hello, I need some help on making a loop for an Windows Form application. This application takes as input a salesperson gross amount, and determines how many of the salespeople earned salaries in each range ($200 - 299, 300 - 399, and so on). I have to use an array …

Software Development vb.net
Member Avatar for emko
0
173
Member Avatar for cr6564

Hello! I am learning how to program on my own in visual basic. I have made a program where the user selects a batch file from a datagridview that is populated with information from the hard drive. I have been able to get the selected item to show up as …

Member Avatar for codeorder
0
653
Member Avatar for HoneyBadger

Guys, I am trying to sort a list. But Python does not let me set my new sorted list into a variable. here: [CODE]list1 = ['a', 'z', 'b', 'y'] sorted_list = list1.sort() return sorted_list[/CODE] When I run this on my interpreter, instead of printing my string sorted, it prints "None" …

Software Development python
Member Avatar for ultimatebuster
0
91
Member Avatar for hurkagurk

Hi all! I'm creating a program that opens a small form for each row in a database (each form is an instance of Notebox). The user can create a new Notebox by clicking on a button (noteboxSibling) at the bottom of each existing Notebox. All Noteboxes exist inside Form1 which …

Software Development peer-to-peer
Member Avatar for hurkagurk
0
131
Member Avatar for brando|away

im using fasm (flat assembler 1.68), and im trying to output a string with int21h/ah=09h [code] jmp main msg db "hello world$" main: mov dx, msg mov ah, 09 int 21h [/code] this code outputs "hello world", but it outputs some control characters before it ([SOME WEIRD CONTROL CHARACTERS]hello world) …

Software Development assembly
Member Avatar for davibq
0
3K
Member Avatar for sairakhalid

How can i make addition in my linked lists if the nodes are stroing two values: 1) int element 2) int colomnvalue i have to make the addition on the basis that the nodes having the same colomvalue, thier element should be added. This addition is to be made in …

Software Development c++ linked-list
Member Avatar for Taywin
0
164
Member Avatar for AndreiZ3

Hi, I am doing a mobile application. Someone else is passing me the datatable via a webservice so I get in the following: DataTable dt = new DataTable(); // create a datatable dt System.Guid guidCustomer = new Guid(Common.sCustomerID); // pass the guid dt = ws.BoningRoomOrdersCustomerOrderItems(guidCustomer); // send guid to webservice …

Software Development c c# c++ listview
Member Avatar for darkagn
0
152
Member Avatar for lykathea

I am trying to implement a stack where one can push to the front and to the back of the stack. However, my implementation is very slow. Can anyone help me think of a better method? Thank you! [CODE]public class Pch11_x1 { /** * @param args the command line arguments …

Software Development java
Member Avatar for lykathea
0
117

The End.