64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for m_arian

Hi I'm new to coding. Can someone please help with a linked list problem. I'm getting numbers for output, I think they are addresses. The output I'm getting is: HEAD CODE -12086434400 1080131584 TAIL CODE The output I need is: HEAD CODE <rect x="0" y="0" width ="200" height="200" stroke-width="2" stroke="red" …

Member Avatar for Prabakar
0
112
Member Avatar for tyserman5674

Hi All, I have 3 text boxes that have user input to preform calculations. What I would like to do is if the user inputs improper values to share the error code messages with out having to define the messages in each one of the text boxes using the same …

Member Avatar for Teme64
0
314
Member Avatar for freelancelote

Hi, when I try to assign \0 using the expression: pPtr->myArray[127]="\0"; my compiler throws the following error: "invalid conversion from ‘const char*’ to ‘char’. Any idea on what's wrong? Any idea on how to solve the problem?

Member Avatar for Ancient Dragon
0
109
Member Avatar for jackakos

I am trying to query a table where at least three conditions have to be met and then the outcome stored in an array and printed into a table. I tried with the code, but I am having problems setting the conditional query and would be happy with an assistance …

Member Avatar for jackakos
0
142
Member Avatar for gordo58

Hi, I'm trying to list facilities available for a particular hotel horizontally, separated by a comma, within the <td> element of a table. The facilities are type ENUM and have a value of '1' if available and '0' if not. NonSmoking, AirCon and Restaurant are field names in the table …

Member Avatar for gordo58
0
120
Member Avatar for mece

I am new to python and posting to this forum and my searches turned up nothing. I am writing a component for a log parser to combine events from matching dates into one file. For some reason the log files split between 19:59:00 and 20:00:00 hours daily. To resolve this …

Member Avatar for mece
0
779
Member Avatar for dmanw100

I am having problems reading in from a file in my project. I have a text file from which I need to read in data for creating some objects. I do not know how much data is in the file but I know the format is 6 lines of string, …

Member Avatar for BestJewSinceJC
0
121
Member Avatar for DragonReborn225

hey guys, I'm having some difficulty with finding out whether a user inputted string is a palindrome. It doesn't have to identify pure palindromes either, just the basics. Everything was going great, and just as it was looking like I'd get to bed before 3 am, I got hit with …

Member Avatar for vmanes
0
182
Member Avatar for konczuras

Hi Everyone! I have the following problem: I'm trying to create a web shop (now just the sample of it), using Visual Web Developer 2008 (Express). I've added an SQL database, and a ButtonColumn, where the button selects the line and add the datas to another database. My only problem …

Member Avatar for konczuras
0
98
Member Avatar for eresh.leo

can any one help in coding for online examination system . As iam a beginner even i donn't know complete conceptt of jsp,servlets. But in my company they have given me this project and a dead line of 20 days........... so please,/............

Member Avatar for eresh.leo
-1
125
Member Avatar for freudian_slip

Hi, I'm doing a very very simple coding, However the compiler apparently does not like my usage of cin and gives me an error: no match for 'operator<<' or 'operator>>' depending on cout or cin. I've used this many times before but never have encountered this problem trying to use …

Member Avatar for Prabakar
0
10K
Member Avatar for AndrevdBerg

Hi, I am pretty new to vb.net and I am having a bit of trouble placing a table in Word through automation. I am adding a table at a Bookmark. The bookmark is outside the margins of the page, but when the table gets placed, it starts at the margin, …

0
84
Member Avatar for gp04lch

hey guys, this is what i want to do, i already have a ToolStripMenuItem with a few DropDownItems with events. i would then like to loop through these Items like such: [CODE]foreach (object menuitem in tlstrpmnuitmFunctionHeader.DropDownItems) { } [/CODE] and then assign these items to a ContextMenu. it would really …

Member Avatar for gp04lch
0
178
Member Avatar for atman

Hello, Im taking C in school, and i have a problem with my code, nothing happens at all when i run the program. The task is: A program is required that prompts the user for a number. The program will then print a series of asterisks to represent the number. …

Member Avatar for Aia
0
170
Member Avatar for atman

Hello., I'm working on my school assignment and the condition is to use post-test loop trying to get following result: --------------------------------------------------------------- Enter the Section Code: 0 Invalid value entered. Must be 1 to 4, please re-enter: 1 Enter the Student's ID: --------------------------------------------------------------- this is the assignment condition: When the program …

Member Avatar for Aia
0
237
Member Avatar for Avaviel

My code, in 'full' (only 89 lines, lol) is [url=http://avaviel.com/temp_host/Ed.Edd.Eddy.html]here[/url]. My input file is [url=http://avaviel.com/temp_host/ja.cho.cho.nf0.txt]here[/url] and (for kicks and giggles) my outuput file when I comment out the else... if statements and have simply fout is [url=http://avaviel.com/temp_host/wapapa.nf0.txt]here[/url]. (Remove the .txt on the last two...) I'm having a problem with my …

Member Avatar for UMAIR37
0
94
Member Avatar for fireballnelson

I am having a problem with this code: [ICODE]import javax.sound.*; public class Sound { public static void main(String[] args) { //Code Body } }[/ICODE] The problem has nothing to do with code itself; the compiler returns this message when i try to compile: [CODE]Sound.java:1: package javax.sound does not exist import …

Member Avatar for fireballnelson
0
3K
Member Avatar for dickersonka

i am working on a home project for basically multiple members to share payments, or for one member to pay and the other members pay them back the concept is sort of like if you have a roommate and you pay all the bills, then he would pay half and …

Member Avatar for dickersonka
0
1K
Member Avatar for imabut

i'm trying to implement my own edit menu using Tkinter, my cut and copy methods,... seems to work fine but I'm having allot of trouble getting my paste method to work. will someone please help? (((its kinda ugly i know, but i'm still new to programming and i'm more focused …

Member Avatar for imabut
0
3K
Member Avatar for kotkata

Basically this code serves to take in an input file and convert all the "<" and ">" into "&lt" and "&gt" respectively. This works however, I cannot get it to convert the rest of the .txt file into the output file. Right now, it just works with the very first …

Member Avatar for ddanbe
0
116
Member Avatar for Stefano Mtangoo

I'm just asking for anyone who knows anywhere to get list of inbuilt wx.ID like wx.ID_CLOSE etc (HTML/PDF), because I dont want to use Id while there is built one. Also can I use menu simiral to something like GetId() Method?? Thanks

Member Avatar for Stefano Mtangoo
0
861
Member Avatar for kasbaba

Hi, It has been days that I have been working a simple wizard where users can add nodes as typed in BOLD in a treeview control : When the user has finished entering data my treview looks like this : [B]Is this the first time you are visiting DANIWEB ? …

Member Avatar for kasbaba
0
133
Member Avatar for daviddoria

I have a base class called "ModelFile" which I derive several types of 3D model file classes from. Many of these types of files are just a set of points, so in the base class I have a vector<Point> member. Some of the derived file classes also have vector<Triangle> members. …

Member Avatar for grumpier
0
143
Member Avatar for rmlopes

Hello all, I am trying to templatize a class with a Typelist. Until here everything good. But I cannoyt create a Typelist to define the templated class. The following model reproduces the problem: [code] template< class TL > class A { A(){} }; int main(void){ typedef Loki::DefaultSPStorage< std::vector<int> > AStorage; …

Member Avatar for rmlopes
0
235
Member Avatar for isotope

Hi everybody, there's a question I would ask about php functions. I would like to know if it is possible to have optional variable in functions. Let's say, for instance, that I have: [CODE]function my_fun($a,$b,$c){ various stuff }[/CODE] In some cases I would recall the function, inputting values for "a","b" …

Member Avatar for isotope
0
105
Member Avatar for zanzo

usually we create a url with parameters and values and send it via ajax to not loading page. Is there a way to not send variables in the url [B]BUT [/B]using hidden variables?? I have a problem in my website that doesn't permit me to send variable in url, so …

Member Avatar for zanzo
0
110
Member Avatar for bapak

i'm using vb.net 2005 express + mysql connector to connect to mysql database. i want to save image into mysql database. so i've created a table with img field as longblob. to save the image, first i convert it into byte() and then insert into the table. the problem is …

Member Avatar for moquitto
0
396
Member Avatar for chris5126

Hi guys, I need a command on solaris 10 to show how much cpu is bein used in % terms but more specific than sar i need it down to 0.0% if that makes sense. Basically im tryin to find out how much cpu is being used say 25.5% and …

Member Avatar for chris5126
0
95
Member Avatar for NinjaLink

Hey, I need help getting this program to run. This is what I'm trying to do. a) set and store the first name only b) set and store the last name only c) store and set the middle name d) check to see if a given first name is the …

Member Avatar for NinjaLink
0
1K
Member Avatar for fireballnelson

I am new to C++ although I have done intermediate java programming. A couple of months ago I bought a book called [I]The C++ Programming Language; Third Edition[/I] by Bjarne Stroustrup. I am beginning to think that was a mistake because it is a little over my head. I was …

Member Avatar for chococrack
0
86
Member Avatar for afg_91320

ive been slaving over this code and i would appreciate if you could help me see the errors that are in this program. this is a program that i have made with functions and switch statements the goal is to make a program that will be a 'geometry calculator' and …

Member Avatar for azy422
0
213
Member Avatar for DemonGal711

Okay, I'm making a program that will let you traverse a maze where the beginning is the top right corner (coming from the right) and it ends in the bottom left corner (going to the right). We have a 2D array for the board and are using a stack to …

Member Avatar for stilllearning
0
130
Member Avatar for carlcarman

I am having some trouble and could use some help. I need a while loo that allows for an unlimited number of employees that uses a EOF sentinal value to control the loop. heres what I have so far, any help is greatly appreciated. I really dont understand this type …

Member Avatar for ~s.o.s~
0
102
Member Avatar for grr

Recently, a primary key in my database got messed up somehow. I ran a script to reorder the users, but now every user has the wrong private messages. [CODE] -- -- Table structure for table `fusion_messages` -- CREATE TABLE `fusion_messages` ( `message_id` mediumint(8) unsigned NOT NULL auto_increment, `message_to` mediumint(8) unsigned …

Member Avatar for dickersonka
0
83
Member Avatar for dimples09

Write a program that simulates a small programming language (SPL) with subprograms. The language has the following EBNF: <program> ::= begin <statement> | <statement_sequence> end; <statement_sequence> ::= <statement>; <statement_sequence>; <statement> ::= <subprogram_invocation> | <other_statement> <subprogram_invocation> ::= invoke <subprogram_identifier> <other_statement> ::= increment <variable> | decrement <variable> | output <variable> | stop_sub …

Member Avatar for dickersonka
-1
103
Member Avatar for christiangirl

How do you to take user input for red, green and blue(a number between 0 and 255) and make the background of the center JPanel that color. Heres the code on what ive done so far: [code] import java.awt.*; import java.awt.event.*; import javax.swing.*; import javax.swing.border.*; /** * Write a description …

Member Avatar for christiangirl
0
2K
Member Avatar for Neo7

Hi everybody!! Here is the problem, I'm trying to develop a script that can help me with the raid creation, but, till now, I have been dealing for more than a week and I still didn't achieve any satisfactory results. :icon_cry: Here is the code to execute: # mdadm --manage …

Member Avatar for Neo7
0
190
Member Avatar for Deemar

I'm building an installer using Inno Setup and the programming is done via Delphi/Pascal for the custom dialog screens. It's almost done, I'm just wondering how I can disable some text boxes or other components dependent on other actions like the click of a radio button. Specific example: I have …

Member Avatar for House_of_Dexter
0
3K
Member Avatar for designingamy

Hello all, I feel a little dumb asking this... I'm trying to pass information from one page to another. I have this: [code] <a href="http://www.mysite.com?color=red&shape=round">Apple</a> [/code] Now that I do that, on the next page, what kind of code do I use to gather the color and shape information? Thanks! …

Member Avatar for designingamy
0
105
Member Avatar for gordo58

Hi, I'm new to php so I'll probably be posting a few queries along the way. The problem I'm having is I'm trying to print out an address in an HTML table with information taken from a database. The fields are Address1, Address2, Address3, Address4 and Postcode. Everything prints correctly …

Member Avatar for gordo58
0
110
Member Avatar for dad45

Want to move files from one App (Delphi 6 App - my creation) to a new folder. That is the easy part. I then delete all files with the .dcu, dof & dos extenders. Compile same. Now, the program saves data files. However, the new data files are posted in …

Member Avatar for dad45
0
132
Member Avatar for Mark Red

Ok I have written a calculation form using textboxes as the sngvalue inputs everything works fine so no problems here, but I have tried countless methods to register when the decimal point has been entered or deleted from the textbox, as adding another decimal point raises an error, I am …

Member Avatar for Mark Red
0
180
Member Avatar for chris5126
Member Avatar for pixelmeow

I have SQL code in my VB6 project for select, insert, and truncate. For example: [code=VB] strSQL = "SELECT CASE_IDENTIFIER" & vbCrLf _ & " ,DOCUMENT_TYPE" & vbCrLf _ & " ,DOCUMENT_NUMBER" & vbCrLf _ & " ,CASE_LINE_NUMBER" & vbCrLf _ & " ,DELETION_INDICATOR" & vbCrLf _ & " ,MASL" …

Member Avatar for pixelmeow
0
202
Member Avatar for polo_coins

I asked in my studies build a "[B]sealed [/B]" class and I don't really understand it's differents from regular class and what different in syntax it has Thanks Sergey

Member Avatar for Jugortha
0
112
Member Avatar for mathijs

hey i'm currently working on a simple rpg in python. First i was gonna make it text-based but now i've read the wxpython tutorial and i want to try an create a GUI for it. My sister is gonna make some artwork for me (i'm not good at that kind …

Member Avatar for mathijs
0
602
Member Avatar for n8thatsme

Ok I have a simple question I have a header file that has the following code [CODE] void setPartDecription(string partDescrip); string getPartDecription() {return partDescription;} [/CODE] Of course I have other functions but these are the problem functions and they are public. In my main function I have this: [CODE] cout …

Member Avatar for seanhunt
0
164
Member Avatar for Seamus McCarthy

I'm trying to append the end of the file treatments.txt but am unsure how to use the while loop correctly!! Any suggestions?? I tried boolean with the whiles aswell but can't seem to get it to work either. Like asking do you want to continue adding treatments and if yes …

Member Avatar for Seamus McCarthy
0
130
Member Avatar for vmars

Greetings: I am having trouble with reading the code in thread "Tutorial: GUI programming with wxPython" ([url]http://www.daniweb.com/forums/post623598-3.html[/url]) Where tut shows code: [code] import wx """Example with sizers for dynamic resizing.""" app = wx.App(redirect=False) window = wx.Frame(None, title = 'Sample GUI App', pos = (100,100), size = (400,500)) background = wx.Panel(window) …

Member Avatar for vegaseat
0
194
Member Avatar for iamoldest

python 2.4 how do I say... [ICODE] if x is divisible by (random number) then: [/ICODE] in python coding?!? Thanks!!!

Member Avatar for jlm699
0
102

The End.