199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for rakwel10

Hello, pls help me with my code... I was able to output the database table on my page. It goes for example like this: [B]id | name | etc... ---------------------- [COLOR="Red"][U]01[/U][/COLOR] | john | etc... [COLOR="Red"][U]02[/U][/COLOR] | mike | etc...[/B] The "ID" is a link (a href). Once click, it …

Member Avatar for rakwel10
0
336
Member Avatar for morymory

Hello, I am a Thai beginner and this is my test code. I run my old code and it error 500. I don't know how to fix it because last time i can run it and no error. And i didn't change anything in my code, just run it again. …

Member Avatar for morymory
0
138
Member Avatar for dusktreader

I am having some trouble getting some overloaded operators working correctly with a simple inherited Vector class (numerical vector, not container) The scalar multiply from the base class doesn't appear to be visible to the derived class. Code follows: Base Class Header [code=c++]#pragma once #include <vector> class Base { protected: …

Member Avatar for GreenRiver
0
3K
Member Avatar for ben1996123

I just watched this tutorial: [url]http://www.youtube.com/watch?v=NTip15BHVZc[/url] and tried it myself, but I could not get it to work, I get these errors: [CODE]||=== 15. Placing classes in separate files, Debug ===| C:\Program Files (x86)\CodeBlocks\programs\tutorials\15. Placing classes in separate files\src\testClassFile.cpp|1|error: testClassFile.h: No such file or directory| C:\Program Files (x86)\CodeBlocks\programs\tutorials\15. Placing classes …

Member Avatar for ben1996123
0
1K
Member Avatar for ksm092

I am trying to add a numbering system to a list in a datafile: [CODE] Appointments.open(DATAFILE); if (Appointments.is_open()) { // Read the file until it's finished, displaying lines as we go. while (!Appointments.eof()) { getline(Appointments, line, '\n'); // getline reads a line at a time appointment.push_back(line); cout << i << …

Member Avatar for ksm092
0
96
Member Avatar for plasticfood

i am not saying that all of my jar files are not working. in fact, all of them do work so far except for this one game that i've made. it runs perfectly in my editor, but its jar file will not execute. i checked its MANIFEST.mf file and the …

Member Avatar for plasticfood
0
157
Member Avatar for 100110010110100

I have tried parsing a website with curl and then searching it with regular expressions, but I have not been able to perform a regex search. Even if I try parsing news.google.com and then search for any non digit, the code returns that there is no match. If I run …

Member Avatar for 100110010110100
0
910
Member Avatar for Emiliya

Hi all... I have 3 table columns. Columns 1 and 3 have different colored backgrounds. Column 2 is white background and contains the content. I want the heights of columns 1 & 3 to increase according to the height or the amount of content in column 2. Thanks in advance..

Member Avatar for I'mHere
0
184
Member Avatar for newbie14

Dear All, I would like to know can php support distributed transaction for mysql database? The problem I have a scenario to update two db which are located in different location?

Member Avatar for newbie14
0
132
Member Avatar for Jamesiscrazzy

I found this cool source of a dynamic form but after trying to fitting it to using a table it won't work as intended. A little help? [code=html] <html> <head> <script language="Javascript" type="text/javascript"> //Add more fields dynamically. function addField(area,field) { if(!document.getElementById) return; //Prevent older browsers from getting any further. var …

Member Avatar for Jamesiscrazzy
0
225
Member Avatar for PratikM

Hey guys, I made a program and i was just wondering how to change the icon because right now all its showing is the application file icon. So Any help is appreciated. Thanks! P.S: I already tried resource hacker, and I probably did something wrong but it didn't work.

Member Avatar for jonsca
0
353
Member Avatar for azamsalam

I am using SQL Server 2005. I have a data from SQL like this. ID ID2 PartNo 75 23921 DENT 75 26145 PLGD 75 26145 PRRP 75 26145 SIST 75 57290 PRMD 75 57290 abc 75 57290 def 75 57290 ghi 75 57290 jkl I need an output like this. …

Member Avatar for dhfg
0
2K
Member Avatar for vanpersie

Hi I wrote the following simple code to practice php mail. [CODE] <?php $to = 'nobody@example.com'; $subject = 'the subject'; $message = 'hello'; $headers = 'From: webmaster@example.com' . "\r\n" . 'Reply-To: webmaster@example.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion(); mail($to, $subject, $message, $headers); ?> [/CODE] But when running the web …

Member Avatar for vanpersie
0
361
Member Avatar for Simplified

Hi All I have a simple quick question: does anyone have any recommendations on a graphing with C? I've done some graphing in the past with Python using Matplotlib and rather than re-invent the wheel I was hoping that someone might be able to point me in the right direction …

Member Avatar for Simplified
0
158
Member Avatar for mhaselip

Hi All Please can somebody help me. I am trying to output more than 1 row of data querying a table called tblbanners. The normal while loop isnt outputting more than 1 row. it seems to be just printing only 1 row. not too sure why? would be greatfull if …

Member Avatar for mhaselip
0
354
Member Avatar for DealthRune

I need a PHP messaging system where you can send, recieve, and view the messages you sent from one user to another. If you need my SQL code for the database, just ask :)

Member Avatar for lexayo
0
4K
Member Avatar for MissJava

Hi there, I am supposed to make a Java programme called prize collection My programme is a follow: [code]import javax.swing.JOptionPane; import java.util.*; import java.lang.*; public class PrizeCollection { public static void main (String[]args) { // Declare variables and arrays which will be used in the programme String[] Name = new …

Member Avatar for MissJava
0
121
Member Avatar for mamdouh ramadan

hello every one..... i know that you may laugh at this but it is happening with me... i have a domain called lightc.com and the problem i'm facing that some users ( not all ) just few of them are telling me that they are just asking for lightc.com and …

Member Avatar for mamdouh ramadan
0
113
Member Avatar for pdellongo

Hello. I have written my code and I am almost done, but I keep getting LNK2019 errors. I'm not sure what I'm doing wrong. Any suggestions? [CODE]#include <iostream> #include <cmath> #include <iomanip> using namespace std; int getStudentCount(void); double getExamScores (int noStudents); double getLabScores(int noStudents); double calculatePointGrades(double, double); char calculateLetterGrades(double); void …

Member Avatar for pdellongo
0
207
Member Avatar for felix001

Im currently working on a HTML page to add additional input boxes. I have the following code. Does anyone know how I would go about adding the required vlaues to each of the input boxes, for use later on within php ?? [CODE]<html> <head> <title></title> <script language="javascript"> fields = 0; …

Member Avatar for felix001
0
165
Member Avatar for shaiyatoplist

hello all ok this is my php script [CODE]<body background="backgrounds/1.png"> <?php //SID Check ausfuehren => Datenbankverbindung wird aufgebaut und Sprachauswahl gesetzt include "sid_check.php"; //Zusammensammeln der zur SID gehoerenden UserUID in der Sessions Tabelle $query_UID = "SELECT UserUID FROM MallSessions WHERE sid = '$cook_sid_escaped'"; $result_UID = mssql_query($query_UID); $array_UID = mssql_fetch_array($result_UID); $user_UID …

Member Avatar for Rhamises
0
150
Member Avatar for RikkiUW

Hey all, I am designing a budgeting program, not for any particular reason, and am having trouble with my new budget "wizard". I'm just storing the budget info in an xml file, and so far the program can load and modify info (I've yet to implement saving), but it cannot …

Member Avatar for RikkiUW
0
661
Member Avatar for D33wakar

Here's a code to find out if the number is palindrome or not. [CODE] #include <stdio.h> int main() { int num,chknum1,chknum2=0,i,rmndr;/*here rmndr is remainder after mod,chknum is reversed num*/ printf("enter the number"); scanf("%d",&num); chknum1=num;/*saving num,since it is manipulated*/ for(i=0;i<=sizeof(chknum1);i++) { rmndr=num%10; num=num/10; chknum2=chknum2*10+rmndr; } printf("chknum1 %d,chknum2 %d",chknum1,chknum2); //if(chknum1=chknum2) //printf("Is palindrome"); …

Member Avatar for TrustyTony
0
453
Member Avatar for Krishna_Php

I have problem in using pf_script_with_get($SCRIPT_NAME).....For using this function i made a file funtions.php and included in each file where this function is used. the code of funtions.php is <?php function pf_script_with_get($script) { $page = $script; $page = $page . "?"; foreach($_GET as $key => $val) { $page = $page …

Member Avatar for diafol
0
98
Member Avatar for Srin

I wanted to install a GUI toolkit for python and pyqt looked good but when I install the complete binary on the pyqt site and run designer, I get this error when I try to go to the code [IMG]http://i167.photobucket.com/albums/u154/Final_04/pyqtdesignererror.png[/IMG] Anyone know how to fix it? And if not, can …

Member Avatar for nabla2
0
570
Member Avatar for abs0lut01

I know how to select the members who did not post for every topic. I need to send an email every 24 hours to the members who did not post for every topic. Could you please help me?

Member Avatar for hostobtain
0
202
Member Avatar for clyo cleopas

#include <iostream> using namespace std; #include <iomanip> const double minimumFee = 7.00; const double hourlyFee = 1.75; const int numOfCustomers = 12; const int numOfMinsPerHour = 60; void inputAndValidate(int&,int&,int&,int&); void convertToMinutes(int&,int,int); void convertBackToTime(int&,int,int); double calcCharge(int,int,int); int main() { int entranceMinutes,exitMinutes,entranceTimeInMins,exitTimeInMins ; int minutesParked,parkedMinutes,entranceHour,exitHour,parkedTime ; int parkedHours; double charge ,totalCharges; int …

Member Avatar for thines01
0
106
Member Avatar for GummyBear

Hello, I am trying to do the following: [quote] Company needs 200 pens a year. Write a program to gauge the expected cost of an item in a specific number of years. Asks for the cost of the item, numbers of years from now it will be purchased, and the …

Member Avatar for GummyBear
0
150
Member Avatar for hughesadam_87

Hey everyone, I'm in the process of writing a data analysis program with a full GUI. The program is turning out to be quite useful for the spectral analysis we do in our lab, so I'd like to share it with my colleagues. Perhaps if it catches on, I would …

Member Avatar for hughesadam_87
0
405
Member Avatar for junharefa

Hi all, I want to create code to delete row in datagridview based on checkBox selection. I've managed added the checkBox Button using code below: private void FormTampil_Load(object sender, EventArgs e) { DataGridViewCheckBoxColumn checkboxColumn = new DataGridViewCheckBoxColumn(); checkboxColumn.Width = 30; checkboxColumn.DefaultCellStyle.Alignment = DataGridViewContentAlignment.MiddleCenter; dataGridView1.Columns.Insert(0, checkboxColumn); // add checkbox header Rectangle …

Member Avatar for Mitja Bonca
0
377
Member Avatar for wonderingmind

I am having an issue with my decryption out.txt file. I have gotten the program to open the input file in note pad and encrypt. to an output text file but when I try to decryp to an out text file it doesn't do anything. I figure I am missing …

0
127
Member Avatar for clyo cleopas

[CODE]#include <iostream> using namespace std; #include <iomanip> const double minimumFee = 7.00; const double hourlyFee = 1.75; const int numOfCustomers = 12; const int numOfMinsPerHour = 60; void inputAndValidate(int&,int&,int&,int&); void convertToMinutes(int&,int,int); void convertBackToTime(int&,int,int); double calcCharge(int,int,int); int main() { int entranceMinutes,exitMinutes,entranceTimeInMins,exitTimeInMins ; int minutesParked,parkedMinutes,entranceHour,exitHour,parkedTime ; int parkedHours; double charge ,totalCharges; int …

Member Avatar for thines01
0
305
Member Avatar for Nachodsk

[B]Hello everyone! I'm really un-patience to get started in creating my own game, mean Text-Based game with python language. But first i want to make it simple to don't use much words for this question.. ¿Which is a really REALLY good book to start learning python? I mean, i know …

Member Avatar for Nachodsk
0
236
Member Avatar for mrhankey

hi guys, i have a script [CODE]<script>KT_self_url = "pageToRedirect.php";</script> [/CODE] basically it is a script that runs after a flash multi upload. problem is that the script does not refresh the page. so if i set for example [CODE]script>KT_self_url = "members_Detail.php?MemberID=<?php echo($row_WADAmembers['MemberID']); ?>#tabs-11";</script>[/CODE] it hangs with the flash upload on …

Member Avatar for Rhamises
0
137
Member Avatar for kentf

On a site I'm building, on the first page there is a "Featured Member Of The Day!" This is set up through a php script to randomly selects a new member business every 24 hours from the MySQL DB... We've got this all working with the MySQL DB and the …

Member Avatar for coolasr
0
355
Member Avatar for -acir-

i tried to add enum.. not sure why its not working... pls help. [code] /* * To change this template, choose Tools | Templates * and open the template in the editor. */ import java.io.IOException; import java.io.PrintWriter; import java.util.Random; import javax.servlet.ServletException; import javax.servlet.http.HttpServlet; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; /** * * …

Member Avatar for -acir-
0
110
Member Avatar for nerdy9000

I am a beginner to Android programming. I am trying to convert an string(from an EditText widget) to a double Whenever i run the program, it crashes whenever the parseDouble function is used: [CODE]Double.parseDouble( input.getText().toString() ); [/CODE] Does anybody have an idea why parseDouble causes my program to crash and …

Member Avatar for nerdy9000
0
1K
Member Avatar for destruct0

Hi! I try to show Windows Form but the form is showing for a moment and after that closes itself. Is Someone can help me???

Member Avatar for sknake
0
162
Member Avatar for fortozs

I am new to Python and I'm trying to make a simple updating window. Most suggest I should use wxtimer for the task. I have tried to get it going but it fails. Here is the code without a timer that works for me. I had been using time.sleep in …

Member Avatar for fortozs
0
951
Member Avatar for PratikM

Hey guys, I made a converter program and i was just wondering how to make it run on its own without debugging it or anything. So, Any Help Is Appreciated Thanks! If you want my code: [CODE]#include <iostream> #include <time.h> #include <string> using namespace std; float FTC (float); int main() …

Member Avatar for PratikM
0
275
Member Avatar for arjen

help please..help me in my timer like the time they use in computer shop and when the player is already time out it will alert...[COLOR="red"]the idea like this if the player start 3:00:00 then it will appear in the textbox for the time - in and in the time - …

Member Avatar for codeorder
0
637
Member Avatar for dhija22

Hi everyone I am a beginner in java,and i need your help.If i have a array like this : [CODE]int [] eda={2,5,8,9}[/CODE]how to use the get and set methods for consult and change the data of this array..?? Please help me with a simple example if anyone can.Thank u I …

Member Avatar for NormR1
0
1K
Member Avatar for nobuts

Hello, I've got a script of facebook date but I want to translate the returning day into my language (Monday=>mmday for instance). Could you guy please. [CODE]function fb_date($timestamp){ $difference = time() - $timestamp; $periods = array("second", "minute", "hour"); $ending=" ago"; if($difference<60){ $j=0; $periods[$j].=($difference != 1)?"s":""; $difference=($difference==3 || $difference==4)?"a few ":$difference; …

Member Avatar for diafol
0
184
Member Avatar for rotten69

G'day everyone, I just have a few questions about Java programming language. Before getting started with the question, I was actually doing some reading for my java course and there was an implementation of Coffee vending machine in java. Therefore, the questions came to my mind and these are: Do …

Member Avatar for peter_budo
0
201
Member Avatar for Jeroen van Zijp

I'm trying to make a Menu manager in PHP + SQL. My goal is to save every menu item and where it should link to in a seperate row. Every row has an internal identifier column called 'menu_id'. I also want to add a function to be able to add …

Member Avatar for diafol
0
196
Member Avatar for dantinkakkar

I need assistance in printing out a Quine. I googled it and stuff, but I didn't understand the code snippets I saw. Can anyone explain in a more lucid tone?

Member Avatar for peter_budo
0
128
Member Avatar for emg31

[CODE]Dim line(10000) As String Dim log_ctr As Integer Open App.Path & "\data\log.txt" For Input Lock Read As #1 Do Until EOF(1) Line Input #1, line(log_ctr) log_ctr = log_ctr + 1 Loop Close #1 If last_log <> log_ctr Then For n = last_log To log_ctr - 1 Text1.SelStart = Len(Text1.Text) Text1.SelText …

Member Avatar for emg31
0
88
Member Avatar for dhija22

HI everyone,i am a biginer in java and i need your help...i have write a prgram but i cant execute can anyone help me for execute it the program is : package sensor; [CODE]public class sensor { private String Id; private int Kordx; private int Kordy; private char[] getId; public …

Member Avatar for dhija22
0
416
Member Avatar for rakwel10

can someone tell me how to do this... I have a page that contains reports and information. For this reason, I thought of putting an rtf generator that converts HTML to RTF. I've googled it, found some codes, but I cant understand... Any one here know how to do it? …

Member Avatar for rakwel10
0
300
Member Avatar for tomkrug2

Who can help please, I have no knowledge of the PDFlib and its functions and have a time constraint, dont have the time to sit down and study it. Who can help, I need the following dynamic php page exported to a pdf. Here is the link: [URL="http://www.lifestyle-solutions.biz/jeanadmin/print-program.php?idprgramdet=40"]http://www.lifestyle-solutions.biz/jeanadmin/print-program.php?idprgramdet=40[/URL] Thank you …

Member Avatar for chrishea
0
130

The End.