199,126 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.

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 …

Member Avatar for JamesCherrill
0
190
Member Avatar for ArtphotoasiA

I'm going to add a small shopping cart to sell merchandise to an existent WP website. Can you suggest to me the best plugin for a shopping cart in word press?

Member Avatar for ArtphotoasiA
0
125
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 …

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.

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. …

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(), …

Member Avatar for zeroliken
0
133
Member Avatar for kutchbhi

Hi, I am trying to implement a categories/subcategories feature for navigation. For this I am using the The adjacency model as described [url=http://sqllessons.com/categories.html]Here[/url] Description(copy pasta): This is the categories table: [CODE]create table categories ( id integer not null primary key , name varchar(37) not null , parentid integer null , …

Member Avatar for kutchbhi
0
351
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 : …

Member Avatar for hericles
0
94
Member Avatar for morthea

an IF and ELSE function cannot function if it has too many conditions or its just my codes are wrong?? cause the ELSE didnt show up. [CODE]if ( (isset($_POST['submit'])) && ( (isset($_POST['pica10'])) || (isset($_POST['pica14'])) || (isset($_POST['pica18'])) || (isset($_POST['pgata10'])) || (isset($_POST['pgata14'])) || (isset($_POST['pgata18'])) || (isset($_POST['mmec10'])) || (isset($_POST['mmec14'])) || (isset($_POST['mmec18'])) || (isset($_POST['mpae10'])) …

Member Avatar for morthea
0
115
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 …

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 *= …

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 …

Member Avatar for Yaguma
0
190
Member Avatar for me!

So I'm writing this website and i need the following line of code [CODE=php] $b = http://www.mydomain.com; [/CODE] but the problem is that everything after the // php makes it a comment, so my question is how can I work around this small issue?

Member Avatar for me!
0
103
Member Avatar for mlhuff12

I am a Computer Science student. This semester I am taking an Artificial Intelligence course in which a large number of our labs will be programming with Lisp. Here on DaniWeb under Software Development I did not see a category for Lisp. I was wondering if anybody out there knew …

Member Avatar for Rashakil Fol
0
239
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 …

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 …

Member Avatar for Ancient Dragon
0
260
Member Avatar for asifkamalzahid
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 …

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 …

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 …

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 …

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 …

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 …

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,

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. …

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?

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]; …

Member Avatar for thines01
0
279
Member Avatar for mortyBox

Hi all... I'm trying to create a simple HTML table generated by php from mySQL table. This table simply displays the First Name and Last Name of all Employees in the database table. The trick is, I would also like to generate an HTML FORM, so beside each first and …

Member Avatar for SQLpower
0
9K
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 …

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] …

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 …

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, …

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 …

Member Avatar for JamesCherrill
0
802
Member Avatar for Romil797

This is not homework; this is for part of a project I thought of starting... will not give details. There are four groups ( sort of like jobs or colleges ): A, B, C, and D. In the project, there will be many more, but for now let's assume four. …

Member Avatar for Romil797
0
139
Member Avatar for garyjuano

anyone know whats the problem/reason with this codes? 1. calculation with fix time <?php date_default_timezone_set('UTC'); $deff = strtotime("20:00:00")-strtotime("19:00:00"); echo date('h:i', $deff ); OUTPUT = 01:00 //above was correct ?> 2.output should be in munite, but the output is 12:50 what's wrong with this code? date_default_timezone_set('UTC'); $deff = strtotime("20:00:00")-strtotime("19:10:00"); echo date('h:i', …

Member Avatar for edwinhermann
0
140
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]

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 …

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; ^^ …

Member Avatar for Smith5646
0
267
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 …

Member Avatar for Reverend Jim
0
965
Member Avatar for zobadof

Hello, I recieve this error: Fatal error: Call to undefined method XenForo_Helper_DevelopmentXml::processSimpleXmlCdata() in /home/downupsi/public_html/library/EWRporta/Model/Templates.php on line 58 With this code: [CODE]<?php class EWRporta_Model_Templates extends XenForo_Model { public function getTemplatesByBlock($blockId, $styleId = 0); { $title = 'EWRblock_'.$blockId; return $this->fetchAllKeyed(' SELECT * FROM xf_template WHERE title LIKE ? AND style_id = ? …

Member Avatar for hari.sarvothama
0
113
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!

Member Avatar for s_mostafa_h
0
88
Member Avatar for wolwayne

Hi, I have developed a web application using NetBeans and GlassFish v3. Now I want to change to Apache Tomcat, beacause of the unavalabilty of free GlassFish web hosting. So, my question is that, can I change my fully built web application to Apache Tomcat from GlassFish and [B]If yes …

Member Avatar for wolwayne
0
3K
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 …

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 …

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 …

Member Avatar for TrustyTony
0
109
Member Avatar for Ztruker

Sorry this is so long but I don't know how else to show and explain it. I tried setting this up on a free webs.com account but it doesn;t allow forms so doesn't work. I run an Apache server for my family's web site. One of the things it does …

Member Avatar for Troy III
0
248
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 …

Member Avatar for razamughal67
0
993
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 …

Member Avatar for Momerath
0
279

The End.