64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for world_weapon

Hello everyone, I have an issue that I can't seem to resolve with integrating phpBB into the rest of my site so that login and session can be intact. Well, for the most part, the whole scheme seems to work at first glance. I noticed that pages that have the …

Member Avatar for world_weapon
0
151
Member Avatar for countrygirl1970

I am now taking Java classes and I have worked this program out, but it is giving me a "illegal start of type" on my code and I do not know why please help. Thanks for your help. [code] // Displaying multiple strings import javax.swing.*; // to use JOptionPane.show InputDialog …

Member Avatar for nschessnerd
0
133
Member Avatar for n.aggel

I just started learning about stl.... the problem is that 3 cases that i consider "equivelant", don't do the same thing...so the question is, why they are not equivalent? here are the statements: [CODE]cout<<(char)toupper(*pos)<<" "; //this works![/CODE][CODE]cout<<toupper(*pos)<<" "; //without cast it doesn't work, why?[/CODE][CODE]*pos=toupper(*pos); //and this also doesn't work cout<<*pos<<" …

Member Avatar for n.aggel
0
403
Member Avatar for slunk

I began to learn about Python perhaps an hour or two ago. In a Python tutorial, I came across the below text (between lines of equal signs) regarding default function arguments. This makes no sense to me at all. What is the scope and lifetime of L? It appears that …

Member Avatar for jrcagle
0
764
Member Avatar for tesak

Hello, I am a newbie in Python and maybe this is a stupid question, but when I run this code I receive a very strange output. [code] status = 0 for i in range(10): status = status + 0.1 if status == 0.1: print status elif status == 0.2: print …

Member Avatar for jrcagle
0
106
Member Avatar for iCez

uhmmm.. we have this project, we were told to make an [B]output[/B].. [B]"A multiplication table" [/B]I know that you guys don't don't give help if we don't give it a try. It's just that I don't know how to make one or even to start it. Can I just ask …

Member Avatar for louise07
0
95
Member Avatar for ceyesuma

If there is a file created and stored in a class: [code] void setLogFile(File LogFile){ this.LogFile=LogFile; } File getLogFile(){ return LogFile; } [/code] and the FormattedWriter is created in another class and it's constructor calls super. Why won't this work? [code] FormattedWriter out = new FormattedWriter(new FileWriter(getLogFile(),true)); [/code]

Member Avatar for ceyesuma
0
69
Member Avatar for Caled

Hi, Im having a problem here. I have 3 classes/frames. After arriving at the 3rd frame, i want to get values entered in the 1st first frame. All the variables in the 1st class are declared as Private. In order for me to get this value from other class, i …

Member Avatar for Caled
0
187
Member Avatar for degamer106

I was a little confused by the brief explanation that my Assembly teacher gave on pipelining. I don't think I really understand the process that well... 1) In a 4-stage non-pipelined processor, how many clock cycles does it take to execute 3 instructions? Assume each stage takes 1 clock cycle. …

Member Avatar for degamer106
0
87
Member Avatar for Roadphantom13

Hey everyone. Noob poster here so bear with me. So the code below makes a drawing of a face move around the graphics window. However, the face is noseless. My dilema is that I absolutely can't figure out how to add a nose to the face and have it move …

Member Avatar for vegaseat
0
144
Member Avatar for IT Lover

Dynamic GUI Hello people... really I dont know if this is the correct name (Dynamic GUI) but I wanna ask u how to build dynamic JButtons .. 4 example : the number of the buttons in a frame not static ... (user enter it) at the begging and the buttons …

Member Avatar for IT Lover
0
118
Member Avatar for gator6688

Can someone tell me what i'm doing wrong: [code]#include "stdafx.h" #include <iostream> #include <iomanip> using namespace std; int _tmain(int argc, _TCHAR* argv[]) { const int MAXGRADES = 5; int i, grade[MAXGRADES]= {0}, count = 0; double Avg, sum = 0; for (i=0; i < MAXGRADES; i++, count++) { cout << …

Member Avatar for Narue
0
158
Member Avatar for robotnixon

Having some trouble with my number guessing game. The object is that the user thinks of a number between 1 and 100 and the computer tries to guess it in a set number of tries. The user inputs an "l" or an "h" if the guess is too low or …

Member Avatar for robotnixon
0
111
Member Avatar for tnvkrishna

i dont understand what the function "flush" does please answer and one more, is there a way that we output a set of data only after a certain while in program execution without storing it in a file and again printing it after reading from that file eg.... i declared …

Member Avatar for vijayan121
0
116
Member Avatar for kshrini

Hi All, I'm developing an application using VB 6.0 & using MS Access 2000 as backend. How many records can I store in a table? Is there any such limit?

Member Avatar for kshrini
0
133
Member Avatar for step2stepgirl

i need help with this assignment i have this class and i need to implement the functions and the main i've implemented it but i want to check if its right and i have a problem in writing the main [code]#ifndef #define class GBook { public: GBook(); void inputGrades(); void …

Member Avatar for step2stepgirl
0
219
Member Avatar for cwarn23

I have downloaded the source code for the .AVI format but when I compile the project, an error is reported which when simplified, is "[Build Error] *** multiple target patterns.". Also, the line which gets highlighted by due to the error is the line 25 which has the phrase "$(BIN): …

Member Avatar for cwarn23
0
349
Member Avatar for RogerThomasTan

I'm a new user to Visual Studio .Net, writing most of my projects in C++. I have this problem with the OO paradigm when I tried to apply it to my projects. Variables for classes which I described in eg. dXmanager.h fails to appear in my dXmanager.cpp; when I try …

Member Avatar for unicorn11
0
186
Member Avatar for Dave Sinkula

I don't know the correct term to use in the title. It's been ages since I've messed with XML, and I don't use it in any professional way, nor am I headed that direction. (Before during and after this question, I will be searching [url]http://www.w3.org[/url] and other sites.) My question …

Member Avatar for Dave Sinkula
0
168
Member Avatar for sarahger9

Hi, I'm a beginner, so please forgive my inadequate knowledge. I'm am trying to write a program that searches one file for specific words and their replacements found in another file. As of yet, all I have is a program that opens my files and counts the words in them. …

Member Avatar for Ancient Dragon
0
135
Member Avatar for claudiu_is

I have a Dialog window with a [INLINECODE]Button ko[/INLINECODE] and a [INLINECODE]JLabel l[/INLINECODE]. The button`s label refreshes at 1000ms from 5 to 1. There are 2 problems: the [INLINECODE]JLabel l[/INLINECODE] it`s not displayed before the counter starts, it`s displayed after that, and the button doesn`t work during the countdown, if …

Member Avatar for claudiu_is
0
157
Member Avatar for SheSaidImaPregy

I have retrieved a value from a query and need to put it into the Label called "lblViews". Every way I try, it says there is no instance for this object. How do I write/set the text of the label to the query I retrieved in the Page_Load method? Thanks. …

Member Avatar for SheSaidImaPregy
0
117
Member Avatar for SheSaidImaPregy

Since I have not found a way to add values into the header of my repeater, I was forced to use literals or a new DataList/Repeater. I only need to display a name and an ID in a header for a datalist, but cannot seem to make this happen! So …

Member Avatar for SheSaidImaPregy
0
188
Member Avatar for kako13

Hi, I'm having problem reading a sequential file, I have done some searches all without any positive result. I trying to read a sequential file, but the problem is that the last record is read doubly. Any help would be appreciate. [CODE]#include <iostream> #include <fstream> #include <string> #include <iomanip> using …

Member Avatar for Narue
0
1K
Member Avatar for hawisme000

hello every1, really i need help on how i can make a login form that works and is connected to my database using ADO my frmlogin is composed of 2 textbox (txtuser,txtpass) and 2 command buttons (cmdlogin,cmdcancel) and my database name is (MAINDB2) inside MAINDB2 is (tblReg) fields inside tblReg …

Member Avatar for hawisme000
0
112
Member Avatar for Prozeen

Hi, how do I use the EOF function with an Excel spreadsheet? I'm thinking that the EOF needs a file number. But in my code below, I don't have a file number. What do I need to do? Any links, code, info available? Thanks.[code]Dim app As excel.Application Dim book As …

Member Avatar for Prozeen
0
725
Member Avatar for step2stepgirl

I've tried so hard to do it but I couldn't so I really need help since I have to send it to my professor tonight so please HELP [code=cpp] class String{ char * const cp; // pointer to the first element int Alng; // the N# of the elements in …

Member Avatar for step2stepgirl
0
121
Member Avatar for powersakthi

Actually my requirement is some thing like this... I'm writing a parser which has standard xml format which will be written in a file like this "<TESTDATA><FACTORY NAME=""SAKTHI"" TESTER=""" & Getcontent(97, ":", 1) & """ /></TESTDATA>" and this parser has to watch a folder constantly and then once file is …

Member Avatar for powersakthi
-1
171
Member Avatar for awo

i have a project on password authentication, and i have simulated and already implemented two very secure algorithms but i also need any body who could assist me with developing a password authentication technique that would not need any database for storing the database and it will not need any …

Member Avatar for awo
0
125
Member Avatar for jimwalther

Hey, I have no idea why this code isnt working, im new to C++ so maybe im missing some fundamentals or something. But to me it looks perfectly fine.. the purpose of this program is to change binary into user code... if someone could help me out it would be …

Member Avatar for jimwalther
0
164
Member Avatar for DemonSpeeding

So I have a program with a specification file, implementation file, and a client file, I'll post all three but I know the problem rests in the client file. What's happening is that it reads the first team from my data file which I'll also post, and then it doesn't …

Member Avatar for DemonSpeeding
0
102
Member Avatar for zandiago

The assignment is : Write a C++ program that calculates the volume of 3 different geometric shapes. Your program should give the user a menu like the following and repeat until the user wants to stop. Volume Calculation Program Select the Number of Your Chosen Object 1. Dumbbell 2. Axle …

Member Avatar for zandiago
0
195
Member Avatar for jmueller0823

I just finished a php MySQL query. Everything is great, except the date column doesn't format correctly. The date output looks like this: 1175114705 The date column prints from: echo $row['createdTime']; Ideas? Thanks.

Member Avatar for jmueller0823
0
154
Member Avatar for brendaky

Hi, could any one help to debug this code plz thanks in advance #!/usr/local/bin/perl # load_bulkups.pl - create bulkup orders from a csv file # the input file should be in the comma seperated, in the # following format: # site,vendor,sku(Stock Keeping Unit),forecast,qoh(Quantity on Hand),qoo(Quantiy on Order),buying_multiple,outl,demand,order # if an …

Member Avatar for KevinADC
0
135
Member Avatar for sickly_man

whats up everybody? havent been on daniweb in a while. self-motivation like whut....until now. anyways ive got this script that makes an html form with 19 or so fields. its supposed to put the form info into a file (mediaRequest_log.txt). it gets this information by way of [code=perl] # get …

Member Avatar for KevinADC
0
129
Member Avatar for SheSaidImaPregy

Here is the code I am using now. What I have is a datalist that pulls DateofBirth and Dead values from the database. The Dead values only equal Yes or No, but will later equal 0 or 1. I cannot seem to figure out how to do an if statement …

Member Avatar for SheSaidImaPregy
0
113
Member Avatar for makmak02

I'm making a code that will add the squares of a range, ie input number is 4,the squares of 1+ square of 2+square of 3+square of 4 (1+4+9+16)= 30. In my code I'm using the caret symbol for the square but it just multiply the number by 2 and not …

Member Avatar for Ancient Dragon
0
146
Member Avatar for Exelio

hi all, I am working in a windows application. i have a text say for eg, <img src="http://static.ibnlive.com/pix/sitepix/06_2007/kumaraswamy_cm90.jpg" alt="BACKTRACKING? Kumaraswamy says he never said he would step down on October 3." title="BACKTRACKING? Kumaraswamy says he never said he would step down on October 3" border="0" width="90" height="62" align="left" hspace="5&"/> Kumaraswamy …

Member Avatar for Exelio
0
112
Member Avatar for psyman_86

Hi, Im trying to implement a LCD screen as part of a engineering design project. The screen is to be connected to a M16C/62 microcontroller. In order to compile the software I am using the NC30WA V5.20 Release 1 compiler, as it is the compiler which comes with the development …

Member Avatar for psyman_86
0
265
Member Avatar for shizu

Hi, I am new here.. I faced a problem when I tried to call two difference software function.. I name this two software as App A and App B.. I had create App B's pointer at App A, name as BPointerAtA.. I try to new the pointer at App A …

Member Avatar for shizu
0
165
Member Avatar for rocky1821

Good day all, I've been working on this code for a for a while now and I can't seem to find what's wrong. I am supposed input two numbers and return if this is a twin prime number by just outputting true or false. My program compiles and runs but …

Member Avatar for Ancient Dragon
0
185
Member Avatar for ndoe

hello all,i hope you all can help for this,i want showing image by clicking button,i have 5 button with parents panel 1 and i want show image to panel 2,my plan the image can be drag or rezise and image show all the time user want,i have idea for drag …

Member Avatar for vegaseat
0
223
Member Avatar for sayanriju

Hello People! I'm trying to design a text editor using wxpython. I wish to add some basic formatting functionality (like BOLD, ITALICS, UNDERLINE) to it. Is there any way to achieve this in wx.TextCtrl ? Or do I have to use stc.StyledTextCtrl (which I don't really wish right now)? Thank …

Member Avatar for vegaseat
0
1K
Member Avatar for blanklogo

I am a student taking a java class online. its kinda hard because I don't have anyone to talk to directly. I do not want someone to do this for me i just want a simple yes or no answer. I have created a program for my second assignment. The …

Member Avatar for johnsene
0
154
Member Avatar for justapimp

I have a device control panel that consist of a veiw and settings buttons. the buttons are binded to a dataset that populates the devicenumber and deviceUID I have a javascrip function [code] function gotoGeo(username, name, duid) { top.main.location.href="../TrackApp/main.aspx?selectedTab=" + selectedTab + "&deviceName=" + name + "&deviceUID=" + duid; } …

Member Avatar for SheSaidImaPregy
0
135
Member Avatar for JavaNewbie07

I am trying to call an external class with the following line class "classname" implements "another classname" { ..I however keep getting an "Interface expected here" error at compilation. What am doing wrong, please?

Member Avatar for orko
0
122
Member Avatar for ceyesuma

I try to set a variable in another class. It does not. It goes to that class and the variable is always 0and the program stops. I know its something basic that I should know but I need it to set the variable and continue in the calling class. Any …

Member Avatar for orko
0
92
Member Avatar for ceyesuma

Does anyone have time to look over a 3 class program? I get a NULL POINTER ERROR. What is the best way to debug a variable that produces this error? Thanks

Member Avatar for orko
0
85
Member Avatar for makmak02

I'm trying to solve a problem that my friend gave me and i'm really stuck at it, I'm solving this now for about 1 whole day and my PC's about to melt. Im trying to figure out how to add numbers in a range i.e I input the number 6 …

Member Avatar for makmak02
0
90
Member Avatar for justapimp

I have a device control panel that consist of a veiw and settings buttons. the buttons are binded to a dataset that populates the devicenumber and deviceUID I have a javascrip function [code] function gotoGeo(name, duid) { var username = document.getElementById('txtUsername'); top.main.location.href="../TrackApp/main.aspx?selectedTab=1&deviceName=" + name + "&deviceUID=" + duid + "&username=" …

Member Avatar for justapimp
0
96

The End.