199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rinoa04

Hello... I have one curiosity that I need to solve. I hope anyone who know the problem tell me reason why is this so. I have done a php/mysql application some time ago and I encounter this problem while testing on using coding with register_global on and register_global off. I …

Member Avatar for rinoa04
0
165
Member Avatar for vexhawk

[B]First Issue: Problem[/B] So on a forum, i've condensed the date of a certain event to $date = $month . " " . $day . ", " . $year; So instead of storing the Month Day and Year in seperate rows on mysql, i store all three under 1. But …

Member Avatar for rinoa04
0
121
Member Avatar for edek

Basicly I need to know how to refer to declared external static variables (GlobalMirror, GlobalMirror2 etc.) inside the class 'Initializer' and initialize them. The following code doesnt work (compiler doesnt see my 'extern' declarations inside the class Initializer): [code] #ifndef INITIALIZER_H #define INITIALIZER_H #include "Mirror.h" #include <iostream> extern Mirror GlobalMirror; …

Member Avatar for edek
0
98
Member Avatar for peerusman

hi every one :rolleyes: i m new in C++. and i am stuck in the programe please any body tell me what is the code of this pyramid of number. The pyramid should look like this: [IMG]http://www.daniweb.com/techtalkforums/attachment.php?attachmentid=2433&stc=1&d=1160907855[/IMG] [URL="file:///D:/Documents%20and%20Settings/Salman/My%20Documents/UserImages.bmp"] [/URL]

Member Avatar for peerusman
0
310
Member Avatar for CDROOM

Hi I'm biggener in c language and I hope from every one in this forum help me. now I will start first Q How I can write a c program to comput the sum of sequres of numbers from m to n . for exsample : from3 ot 6 : …

Member Avatar for cime63
0
131
Member Avatar for hemanthjava

[code]/* Java Swing Calculator */ import java.awt.BorderLayout; import java.awt.Color; import java.awt.Container; import java.awt.FlowLayout; import java.awt.Font; import java.awt.GridLayout; import java.awt.Window; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; import java.awt.event.WindowAdapter; import java.awt.event.WindowEvent; import javax.swing.JButton; import javax.swing.JDialog; import javax.swing.JFrame; import javax.swing.JLabel; import javax.swing.JMenu; import javax.swing.JMenuBar; import javax.swing.JMenuItem; import javax.swing.JPanel; import javax.swing.JTextArea; public class Calculator extends JFrame …

Member Avatar for cms271828
0
169
Member Avatar for Glorioso

Hey, I'm newish to the forum( never posted before ) but anyway. I'm thinking of writing a disassembler for z80 or a similar architecture in ally C and was wondering if anyone can give me some tips or places to get started, I've never actually wrote a disassembler before either …

Member Avatar for Ancient Dragon
0
338
Member Avatar for paglaagra

Hi all, I m nu to the world of php and i m facing some problems in programming it's pages. I have made a complete page but it is showing on execution"Query could not run"????????????????now what's this? In 1 more page i ve written this commands.... <? $q= "select count(ProductID) …

Member Avatar for paglaagra
0
83
Member Avatar for MattEvans

When I was learning the basics of Perl CGI (well, any CGI) I vaugely remember something regarding a header or command that would invoke CGI script (using a standard GET request) WITHOUT changing the page that a user was on. Googling hasn't been fruitful, I only remember a brief mention, …

Member Avatar for MattEvans
0
228
Member Avatar for jbennet

Ok i need the user to be asked for a number by an inputbox (Using VB 6) and have this number checked. If its prime i want them to be told via msgnox , if not i want them to be given another attempt Any ideas?

Member Avatar for jbennet
0
186
Member Avatar for Matt Tacular

I want to make a program that can do two things really: 1) Detect the beat of a song 2) Output through a port, preferably the paralell port. 1) I was thinking the easiest way to do this, would be to use windows media players bars visualization, but then i …

Member Avatar for vegaseat
0
128
Member Avatar for raghavan

[COLOR=DarkBlue]:)when i run a form at 1024*768 it works fine .when i run same form at 800*600 resolution ,size of all tools r incresing.i want size of tools(control box,text box) to remain same even if i change resolution .is it possible. do i need to code for each tools to …

Member Avatar for waynespangler
0
85
Member Avatar for nihilks

i use ADO in VB6 to connect to my Oracle database i made a connection object 'con' and opened the database using it when i executed the statement con.Execute "insert into employee(no,join_date) values(424,'12-SEP-2004')" i found that he new record was inserted into the database(i checked it using sql*plus) . But …

Member Avatar for nihilks
0
218
Member Avatar for rowly

Hello, how can i check that pushing characters into stack is successful (logically)?

Member Avatar for rowly
0
97
Member Avatar for iamthwee

Hi people, I am having trouble with my splash screen. Basically, it just flashes really quickly and I can't get to to pause for long enough. See attached file. I've attached my program as a zipped file. After you have download it you need to right click and extract it …

Member Avatar for ciprianpascu
0
567
Member Avatar for jrivera

I would like some help on creating a function that on clicking a submit button will allow the user to add the data of the selection box into an uneditable text box and hidden file. IE: User selects option 5 [code]<option value="5">Option 5</option>[/code], then clicks the "add Option" button. It …

Member Avatar for tgreer
0
135
Member Avatar for joey z

Hi yall, Absolute C++ newbie here. I would like to know how to prompt a user to enter yes or no, and then display a different msg depending on whether y or n was pressed. I am trying to set char y=1 or true and char n=0 or false. But …

Member Avatar for ~s.o.s~
0
173
Member Avatar for Jupiter247

Hi, I am a total novice to VB.Net, and have been asked to develop a simple 4 function calculator as part of my coursework. I am really struggling!!! I would be extremely grateful if anyone could please help??? ( I have managed to use AppendText to get the numbers in …

Member Avatar for Jupiter247
0
105
Member Avatar for kyleknapp

why does [code]$sql = 'SELECT userid FROM `phplist_user_user_attribute` WHERE `attributeid`= 7 AND `value` LIKE "68104"'; $query = mysql_query($sql);[/code] find 23 records, but [code]$testvalue="68104"; $sql = 'SELECT userid FROM `phplist_user_user_attribute` WHERE `attributeid`= 7 AND `value` LIKE "$testvalue"'; $query = mysql_query($sql);[/code] finds none? Shouldn't they be the same? Can I not use …

Member Avatar for kyleknapp
0
128
Member Avatar for jeffphotos

Hello- I am creating a puzzle that is like the "Rubik's Cube," although this puzzle is played on the computer monitor, and the puzzle involves images placed on the sides of a cube. The mouse is used to rotate the sides of the cube. Each side of the cube is …

Member Avatar for cms271828
0
136
Member Avatar for theUnNown1

Hi peoples, Can someone tell me how I can play an avi file using C++ and VS2005? I'm designing a C++ Windows Forms Application project. Thanks in advance.

Member Avatar for bumsfeld
0
88
Member Avatar for silentcreeper

ok I poseted about an assignment that i had to do for my Java programming class. Now i have attempted it and i have kind of gotten it to work but its not working properly ... i have no idea what i'm doing wrong ... please help me fix my …

Member Avatar for silentcreeper
0
119
Member Avatar for matrimforever

We are discussing passing parameters by value and by reference in class and I need to come up with a function 'computeChange' from the following code: [code] // The function prototype int computeChange(int& changeValue, int coinValue); // some constants const int COINS[ ] = {50, 25, 10, 5, 1}; const …

Member Avatar for ~s.o.s~
0
170
Member Avatar for kararu

HI all, In my c++ program, I did the following. [code]...... class thr {private: char *d; ...... public: d =new char[35]; .... } destructor has the line delete [ ]d; i get segmentation error *** glibc detected *** /usr/bin/perl: free(): invalid next size (normal): 0x0000 000001bc7120 *** [/code] But if …

Member Avatar for kararu
0
251
Member Avatar for petzoldt01

Hello, I am kinda getting into MAME arcades and what not, and My questions is related to that. I have found many front-ends for mame that run on window and linux. There are many great ones, but none of them have one particular feature I am looking for. The feature …

Member Avatar for Ancient Dragon
0
136
Member Avatar for crackers8838

Hi, I am new at programming and I have never done Java before. I am in my first Java class and we are asked to complete the following question...[B]Complete the method printLargestAnimal below. [/B]Consider the three Strings "dog", "cat", and "monkey". In lexicographical order, "monkey" is the largest of the …

Member Avatar for crackers8838
0
87
Member Avatar for Phazawhy

:!: [B]Im need to create a program for my requirement that will output: [/B] [B]Enter Any Word: ____ -(i typed Hello)[/B] [B]Hello[/B] [B]Hell[/B] [B]Hel[/B] [B]He[/B] [B]H[/B] [B]i think that i should use for and strlen but i cant make strlen work. please help[/B] Thanyou,

Member Avatar for ~s.o.s~
0
99
Member Avatar for Taps

hello all..I have created ANT Script and need to work along with CVSMy ANT Script shall1. As of CVS extract .ear from this is the common version 2. Extract from CVS and overwrite in target directory the specific components listed in the specific [INSTANCE].Can any one tell me how shall …

0
248
Member Avatar for Iqbal_h_a

[code] #include<iostream> using namespace std; class test { public: void display() const { cout<<"Hai Here in class"<<endl; } }; int main() { const test b; b.display(); } [/code] When I execute the above code I got an error saying "uninitialized const b". But if I provide a default constructor it …

Member Avatar for Iqbal_h_a
0
176
Member Avatar for dudeysi

I am currently making a timer for a school project. Im a little new to VB.net and having a few problems getting the timer to work. When the countdown timer gets to 0 the "-" sign appears in the wrong place. As in i get 0:-1 I would also like …

Member Avatar for waynespangler
0
888
Member Avatar for djskip

[COLOR=#000000]Write a program that calculates and prints the bill for a cellular telephone company. The company offers two types of services: regular and premium. Its rates vary depending on the type of service. The rates are as follows:[/COLOR] [COLOR=#000000]Regular service: $10.00 plus first 50 minutes are free. Charges for over …

Member Avatar for DavidRyan
0
166
Member Avatar for chris99

How would I manipulate an entry widget so that it hides the entered characters behind asterisks? like this: Typed: PassWord Displayed as typing occurs: ******** I'm trying to make a dialog box module, for use in some future programs. I want the user to be the only one to know …

Member Avatar for Ene Uran
0
133
Member Avatar for maxinetyl

Hello. I have a question regarding using the 'system' command in C++. Using that command, i.e. system("myfile1.exe"), the command window appears. Is there a way of preventing the command window from appearing? Or is there any other way to do this using a different command? ( I do not want …

Member Avatar for maxinetyl
0
118
Member Avatar for jakestr15

Hey everyone, I'm trying to write a simple program that allows the user to input and Amount, Yearly Interest Rate, and a Final Amount. The program is to compute how long the money should be invested to end up with the Final Amount if it is compounded monthly. I'm just …

Member Avatar for Infarction
0
90
Member Avatar for upside10

I have this algorithm that is really giving e a problem can someone please help me. void Transpose (int a[][SIZE], int n) } for(int=1;i<n;i++) for(int j=i+1; j<=n; j++) { int t=a[i][j]; a[i][j]=a[j][i]; a[j][i]=t } } I need to obtain the time complexity of the above matrix transpose algorithm using program …

Member Avatar for upside10
0
128
Member Avatar for alan_b

Do you have any algorithms I can look at that will perform escape logic on a base64 and hex encoded message? Thanks

Member Avatar for alan_b
0
93
Member Avatar for dmouse

I need to create bots that searches a clients PC for a security certificate and also for encrypted login details which are then decrypted and resent to the host server for validation. Somebody help me please!

Member Avatar for DMR
0
102
Member Avatar for seibor

hi all, can anyone suggest me how to display propercase in vb eg. HELLo WOrld is Hello World

Member Avatar for Comatose
0
80
Member Avatar for stan yost

My vb 5.0 program is adding 2 identical records to a table each time I run it. Does anyone know what would cause this? Thanks

Member Avatar for stan yost
0
95
Member Avatar for dev.cplusplus

Hi, we have the following problem: We have a code that uses the "GetTickCount" method (the return value is the number of milliseconds that have elapsed since the system was started). The Problem: Since GetTickCount returns only a 32-bit number, after about 49 days, the counter wraps. The solution we …

Member Avatar for ~s.o.s~
0
248
Member Avatar for kararu

I am getting segmentation fault in my perl code. I am not able to find out,from where this arises.Can anyone suggest em a good debugger to find it out.thanks a lot.

Member Avatar for KevinADC
0
99
Member Avatar for jan1024188

i want to know if there is any difference betwen [URL="http://www.linuxforums.org/forum/#"]java[/URL] and javascript... are they the same thing?

Member Avatar for satyakishore
0
125
Member Avatar for idvikrant

hi.. my name is vikrant..doing b.tech in comp science engg..when i start the jakarta tomcat5.0, it gives me the error that java_home not assigned properly ang gives me the error that unable to find _djava.endorsed.dirs. what is meant by this file..is there anyone to help me

Member Avatar for satyakishore
0
119
Member Avatar for MattEvans

I've just registered a MIME handler for a custom filetype; I've got the basic redirection sorted, all files of type XRM get sent to a 'dumb' perl script that echos predefined values. But, how do I read in the contents of the XRM file that invoked the perl script? Does …

Member Avatar for KevinADC
0
101
Member Avatar for Matt Tacular

I know this is VERY off topic, but I am sure that a bunch of people here are experienced with computer building. I am building a computer off of tigerdirect canada and I was just wondering if I could get someone to check and see if all of these parts …

Member Avatar for Ene Uran
0
137
Member Avatar for qwest21

Hi everyone, I know you must have heard this from every one else but i need some guidence on my final year project...... I have to develop a software to do e- ordering on a fast food store, i need help on whats the best programming language i can use …

Member Avatar for peterbyrne
0
138
Member Avatar for slacke

Hello I'm working on an application. I need as big arrays as possible. At home I work with linux there I can declare array as big as this: char buffer[1000000]. No probleme. In work I'm working with boreland C++ 4.5 (WinXp) and I can't declare biger size of array as …

Member Avatar for ~s.o.s~
0
235
Member Avatar for hazdude

can anyone help me with some c++ coding? I want to create a piece of code that would allow me to type in any random 30 numbers and for them to come out in ascending order. Any help would be greatly appreciated Hazdude

Member Avatar for rowly
0
90
Member Avatar for welbyobeng

Can anyone help..... When I search on my site this is the error I get [QUOTE] [B]Warning[/B]: mysql_num_rows(): supplied argument is not a valid MySQL result resource in [B]/mounted-storage/home23a/sub003/sc21979-KVVZ/www/ghhookup/functions.php[/B] on line [B]28[/B][/QUOTE] This is a peice of the code from function.php [QUOTE]if(mysql_num_rows($sql_res)){ return mysql_fetch_object($sql_res); } else { return ''; } …

Member Avatar for sn4rf3r
0
201
Member Avatar for cms271828

Hi, I'm considering making a Connect 4 game in java. I have just completed my chess game (version 1 anyway), [URL]http://www.colin-java.co.uk/JChess/index.htm[/URL] So connect 4 should be a load simpler. However I am uncertain as to which evaluation function to use, does anyone have any experience with this. Thanks for any …

Member Avatar for cms271828
0
135

The End.