132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for pakiali007

Create a function that take a full name as a parameter and returns just the middle name regardless of how many words it consists of.

Software Development python
Member Avatar for peter_budo
0
75
Member Avatar for Usoda

I have a Product class that is the parent of 3 other classes; Books, Movies, Music. And the Product class connects to the Store class that holds the Store's location. If I need to find a certain Product I have to traverse the list of each the Store class and …

Software Development java linked-list programming-construct
Member Avatar for JamesCherrill
0
190
Member Avatar for autorunman22

I cant digest the problem, please help me a bit. [code]You will develop three Java classes that interact with each other: Cashier, PriceAndStockManager and Product. Cashier objects are in charge of front-office operations, particularly purchases. These cashiers use a PriceAndStockManager object in charge of back office operations. This object provides …

Software Development java
Member Avatar for JamesCherrill
0
208
Member Avatar for floatingshed

I'm running a command line app from a Python script: [CODE]os.system(myapp)[/CODE] myapp contains the path to the app and the required parameters. It works fine but it runs at, I believe, Normal priority which makes the PC sluggish. How can I start the external process at a lower priority? Thanks.

Software Development python
Member Avatar for floatingshed
0
161
Member Avatar for Kert

Hey, I have a task to do a program that can transfer Latin word to Morse and I need to read the connection between the letters from a txt file and save both of them to differnet lists (soned and morse) and later return an ArrayList that contains them both. …

Software Development java
Member Avatar for Kert
0
130
Member Avatar for faithful4ever

Say I have a struct: [CODE] typedef struct entry{ char name[40]; /* Contains name */ char phone_number[9]; /* Contains phone number */ struct entry *next ; /* next is used to navigate through structures. */ } contact; [/CODE] I have a pointer: [CODE] contact *email, *address; [/CODE] In my main(), …

Software Development c
Member Avatar for zeroliken
0
133
Member Avatar for NPDA

hii want read a link from file and use it with the extension of the link , the file contain :[url]http://82.212.81.2:888/mob/[/url] and i wanna use it like this: StreamReader rr = new StreamReader("link.txt"); string sor = rr.ReadLine(); url = "[COLOR="Red"]sor+[/COLOR][COLOR="Green"]"resources/stdInfo/authenticate/"[/COLOR] + tx.Text + "/" + passwordBox1.Password+ "/1/570322308ce1121cba1b93f5acc9ebd4733ef2bca90ef942a2cfa224f0aa08dc/1"; the red : …

Software Development
Member Avatar for hericles
0
94
Member Avatar for dlmagers

Ok, I am trying to work through this program and it is stopping at asking me what is my current salary. The problem is this: Starting January 1st, of each year for three years, I will be getting a raise of .05 on my previous years salary. I wasnt a …

Software Development c++
Member Avatar for zeroliken
0
115
Member Avatar for triumphost

Hey guys I'm having an extremely hard time splitting or combining values into binary.. [CODE] #define Chr(n) ((char)(n)) #define Ord(c) ((int)(unsigned char)(c)) int DecToBin(int Num) { int Bin = 0, Pos = 1; while (Num > 0) { Bin += (Num % 2) * Pos; Num /= 2; Pos *= …

Software Development c++
Member Avatar for histrungalot
0
206
Member Avatar for Yaguma

Hi all, I am trying to write a C++ program to create a simple text-based interface that should print out the relevant stubs when a certain choice is made. I am however getting linking errors such as-->[Linker error] undefined reference to `Database::AddStudent()' , that i cant seem to fix. Any …

Software Development c++
Member Avatar for Yaguma
0
190
Member Avatar for ozzyx123

hi everyone i am very close to finishing my first program in python, but there are two things in the way. first of all the code highlighted in red reads the number of pages of pdf files in a directory. my problem is that it is in a for loop …

Software Development os-x pdf python
Member Avatar for britanicus
0
197
Member Avatar for dymatic

So, just for fun I have been making a small text-based game to test my knowledge of C++ so far. However, I have encountered an odd error where commands will execute once, and then after that return the same output repeatedly. Could anyone analyze this and see what's wrong? Here …

Software Development c++
Member Avatar for Ancient Dragon
0
259
Member Avatar for infamous5

Hello, I am a beginner at programming and I am having some trouble finding the error in my code(pasted below). I am first trying to come up with a (1) function to evaluate integers at a given power.(2) A function to check if an integer is a perfect number. I …

Software Development c c# c++ programming-construct
0
139
Member Avatar for JC11

I'm running the following in Eclipse using the Cygwin as the toolchain and the error code is executing. I get "cannot get params about stdin: Inappropriate ioctl for device". It's fine in Linux. I've been able to run other code that doesn't use this header. Also, how can I set …

Software Development c
Member Avatar for JC11
0
127
Member Avatar for freedomflyer

I am running into (pretty serious) valgrind issues as I run my application. As far as I can tell, my BST has some memory loss, to put it rather clinically. I've tried to create the right destructor on my BST<T> class, which contains BSTNode<T> nodes (both are shown below in …

Software Development c++ linked-list motherboards-cpu-ram
Member Avatar for mike_2000_17
0
595
Member Avatar for dasdgfds

*Pass by value, reference I need to write 4 functions including main to display a report with the size of room in square feet, cost of carpet,cost to install the carpet. I am having trouble with using the last function to compute the costs using data from the other functions …

Software Development c++
Member Avatar for dasdgfds
0
163
Member Avatar for luislupe

Hi, I'd like to print a line of 'double' or of 'integer' type according to T typename. I tried to compare T with typeof but to no success. [CODE] template <typename T> void printArray(unsigned int x_sz, unsigned int y_sz, T * arr[], std::string title) { double f; unsigned short int …

Software Development c++
Member Avatar for mike_2000_17
0
166
Member Avatar for dvspinay

Here is my assignment: > Here is your assignment: You work for a Landscape architect. They have asked you to be a part of their team as they need a computer programmer, analyst, and designer to aid them in calculating engineering specification. Specifically, you have been assigned to the Pools, …

Member Avatar for bedwards0978
0
344
Member Avatar for bloominninja

Hi, I'm getting pretty frustrated with my code at this point, Im trying to implement a queue class to hold a number of integers... however dev (the compiler im using) keeps spitting out the errors [CODE] [Linker error] undefined reference to `QueueType<int>::QueueType()' [Linker error] undefined reference to `QueueType<int>::~QueueType()' [/CODE] here …

Software Development c++ queue
Member Avatar for bloominninja
0
238
Member Avatar for Behseini

Hi everyone, I tried to find some thing on Google but couldn't, Can you please let me know how I can insert Excel Worksheet values into a Table in Access Database using C#? Thanks for your time,

Software Development
Member Avatar for BobS0327
0
149
Member Avatar for Zennie2005

Hello everyone, I am having an issue with my code, null pointer exception error. It says lines 24 and 75 are the issue, but I am not exactly sure what the problem is. Can anyone help with some suggestions as to what I might be doing wrong ? Much appreciated. …

Software Development java
Member Avatar for zeroliken
0
150
Member Avatar for nunca

Hello I had a problem about using mathematical formulas. someone showed this this site : [url]http://software-dev.jimdo.com/[/url] I found there the application, but I don't know how to get the unit. did someone already use it?

Software Development c++
Member Avatar for ravenous
0
104
Member Avatar for abhishekagrawal

Dear All, I have written a code to implement an algorithm for base conversion from decimal to any base between 2 and 36 given in RG Dromey. Below is my code and I have a few questions relating to it: [CODE] #include<stdio.h> #include<stdlib.h> int main() { int newbase,zero=atoi(0),q,ndigit=0,r,ascii,i; char newrep[100]; …

Software Development algorithm c c++
Member Avatar for thines01
0
279
Member Avatar for sha1023012

Hello everyone. I am kinda getting confused here. I need to have a checkbox and when the checkbox is checked i need to show two labels and controls so that the user can enter the salary and title of the employee.Then when the checkbox is unchecked, hide the two sets …

Software Development
Member Avatar for dwarvenassassin
0
107
Member Avatar for ads1188

Hi all I am trying to enter data into textboxes which will then store the data entered into a database. When I debug everything starts but when I click Add, the database stays the same. I think I might be missing something in my code. Any help is appreciated. [CODE] …

Software Development open-source sql
Member Avatar for dwarvenassassin
0
180
Member Avatar for RomeoX

Hi everybody, Could anyone help me in the select statement. I created small form to search in the database, it gaves me an error [B]Missing Expression[/B]. The combox has the attributes of the table because I want restrict the search to only on specfic columns. [CODE]commandString = "Select * from …

Software Development
Member Avatar for dwarvenassassin
0
168
Member Avatar for cdea06

I'm a little stumped on a section of code in my program. I'm trying to take in a string of chars and then store each word within that string separately in an array of strings without using stdtok and then output them with only a single space separating each word, …

Software Development c
Member Avatar for cdea06
0
258
Member Avatar for Gazzmonkey

Finally getting into concurrent programming but it's not easy for the novice like me, after all this work I still cannot get a successful compilation!!! A simple roundabout (traffic circle) is a circular junction of four streets where traffic flows in a one-way and one-lane circular stream around a central …

Software Development java
Member Avatar for JamesCherrill
0
802
Member Avatar for gozo12

hi how can i make list view like this ? [URL="http://myup.ir/images/64139266311095345064.jpg"]http://myup.ir/images/64139266311095345064.jpg[/URL] [CODE] ListView1.Items(1).BackColor = Color.LightGray[/CODE]

Software Development listview vb.net
Member Avatar for MeSam0804
0
125
Member Avatar for Programming++

So, I'm working on making a encrypted in C++, just a basic one. The encrypter needs to have a minimum character limit but it's not working. It's not coming up with any compiler errors, but instead just acting as if the if statement isn't there... [code] #define _WIN32_WINNT 0x0500 #include …

Software Development c++
Member Avatar for mazzica1
0
211
Member Avatar for hazeleyez

Hello All, Can someone help me out with this please? I have no idea : Error : [B]No accessible 'Main' method with an appropriate signature was found in 'UsedCarsSales' The second error is Project-level conditional compilation constant 'VBC_VER = 9.0, TARGET = "winexe", CONFIG= "Debug", PLATFORM= "x86" , DEBUG; ^^ …

Software Development vb.net visual-basic
Member Avatar for Smith5646
0
266
Member Avatar for jd2369

Visual Basic 2008/2010 - How do I automatically click buttons in a sequence? I have about 15 buttons that automatically goto a website, then it clicks on certain links and does save as page. They are working beautifully, now i have to automate this process. I already have a code …

Software Development vb.net visual-basic
Member Avatar for Reverend Jim
0
965
Member Avatar for s_mostafa_h

Hi All , I want to input in DatagridView Cell , Only Double Like 2.36 or 0.035 .thanks to give any help ! RGDS!

Software Development
Member Avatar for s_mostafa_h
0
87
Member Avatar for garden4ork

Hello again, pretty simple question this time I would think. What I'm wanting is to be able to add 5 minutes onto a ttime variable. As what I'm trying to acheive is a queue system. (Time + QueueTime) and (QueueTime := QueueTime + ProductTime) However I get the basics, just …

Software Development pascal queue
Member Avatar for DelphiGuy
0
118
Member Avatar for Na'Vi

Hi, I'm trying to make a menu and when you click on one of the JButtons, it'll go from my first class's GUI to my second class's GUI. But when I run the program, and I press the button algorithm, it changes to a blank screen, and not to the …

Software Development algorithm gui java java-swing
Member Avatar for Na'Vi
0
73
Member Avatar for AJkiter

Ok some of you might've seen my post from yesterday about the weekend challenge game thing i'm doing with a friend. The link to my post yesterday is [url]http://www.daniweb.com/software-development/python/threads/416633/1777493#post1777493[/url] Anyway, now im trying to make a shop type thing but im having trouble writing a script (or whatever you call …

Software Development python
Member Avatar for TrustyTony
0
109
Member Avatar for razamughal67

i want to delete any file and folder parmanently in my hard disk sometime when we delete any file and folder. after using a data recovery software they will be recover and come back .but i want to do something so the files cannot recover after using any data recovery …

Software Development visual-basic
Member Avatar for razamughal67
0
992
Member Avatar for snehil_khanor

I'm sending an HTTP POST request to google Client login and I'm getting this in respons: SID=DQAAAGgA...7Zg8CTN LSID=DQAAAGsA...lk8BBbG Auth=DQAAAGgA...dk3fA5N I used the below code to read the response: [CODE]Trace.WriteLine(new StreamReader(response.GetResponseStream()).ReadToEnd());[/CODE] Now in this response i want to use only the value of Auth token. Can any one please help me …

Software Development c# google
Member Avatar for Momerath
0
279
Member Avatar for adil_bashir

can we return 7 elements of an int array using return statement. if not, please help?

Software Development java
Member Avatar for NormR1
0
104
Member Avatar for zur1ch

So i am making a piece of program In C but i cant get to check the system time and execute IF the time is equal to the systems time. in Plain english this is what my program is supposed to do. # # LIBRARIES # 1. Check the system …

Software Development c
Member Avatar for BobS0327
0
128
Member Avatar for shibu2all

is this logic correct, where does counting starts in a link list, is it from 0 or 1. b'cos when i am ading item 60 at loc 4, den the output is : item number 1 contains 30 item number 2 contains 20 item number 3 contains 10 item number …

Software Development c linked-list
Member Avatar for zeroliken
0
181
Member Avatar for adil_bashir

hello, can anyone tell me how to convert int array to string?

Software Development java
Member Avatar for adil_bashir
0
84
Member Avatar for gozo12

in resources there is a text file with items like number 1 2 number 3 three when i use code [CODE] For Each i As String In My.Resources.TextFile1 If i.ToString().Trim.Length = 0 Then ListBox1.Items.Remove(i.ToString()) Else ListBox1.Items.Add(i.ToString()) End If Next[/CODE] then in listbox1 its looks like this [URL="http://myup.ir/images/61057050895672070364.jpg"]http://myup.ir/images/61057050895672070364.jpg[/URL] n u m …

Software Development vb.net
Member Avatar for Reverend Jim
0
205
Member Avatar for hasan_cemos

Hello! How can i capture a screenshot of desktop with mouse? I can get a screenshot with robot.createScreenCapture but it does not show me also the cursor (mouse) ... Thank you!

Software Development java
Member Avatar for hasan_cemos
0
75
Member Avatar for skp03

Hello friends i am working in VS2010 C# Windows application, i have created a application in which some what like security application i have added a form1 in which i have included a button ie... button1 and a textbox ie... textbox1 in button1 i have added a code like [CODE] …

Software Development
Member Avatar for thines01
0
267
Member Avatar for Jeun

*None of the buttons except create and clear work can someone help please , can anyone help me with the parts i have missing , the account and date test class work fine i just need the bank account GUI to work properly , here is a detailed explanation of …

Software Development gui java java-swing
Member Avatar for stultuske
0
2K
Member Avatar for kingsonprisonic

Hi, I am currently making an application which can send recharge amount by using a mobile device. (Nokia E71). So if anyone know what is the AT command for that please help me.....

Software Development vb.net
Member Avatar for kingsonprisonic
0
944
Member Avatar for rampletero

I need help on drawing numbers on top of a rectangle matrix, and have them move together with the rectangle they are on. I tried doing this [code]public void paintComponent(Graphics g) { super.paintComponent(g); Graphics2D g2 = (Graphics2D) g; for(int row = 0; row < tiles.length; row++) { for(int col = …

Software Development gui java java-swing legal
Member Avatar for NormR1
0
198
Member Avatar for xcrypted1

*Edit* Just so you know, we are on the chapter in the book introducing ArrayLists *Edit* I am having trouble with this problem. The problem is stated: Implement a class Polygon that contains an array list of Point2D.Double objects. Support methods public void add(Point2D.Double aPoint) public void draw(Graphics2D g2) Draw …

Software Development api java java-swing
Member Avatar for NormR1
0
579
Member Avatar for Johnathon332

Hi I have wrote some code but it never seems to reach the for loop and cannot understand why. I want it to check whether or not the word is in the array and if it is it will break out and leave the method else it will add to …

Software Development c++
Member Avatar for Johnathon332
0
119

The End.