199,114 Archived Topics
Remove Filter ![]() | |
I have a 2 tables that I want to select in a weird way but I'm not sure how to join them, should I use inner join or join left or group by etc... [CODE]//my desired out come employee_id | training_name ---------------------------- 1 | training a | training b | … | |
I am having a problem looping out a value from posted data into a loop, heres some code: [CODE] <cfset tempAmount = "URL.amount_" & 1> <cfset tempQuantity = "URL.quantity_" & 1> <cfoutput> <cfif #tempAmount# EQ 1> Yes <cfelse> no </cfif> #tempAmount##tempQuantity# </cfoutput> [/CODE] That is a small test section I … | |
hello i am a novice user i could not pass the value(text) into database from listbox i tried using get method but it is not working can anybody help me???????? here is my code <head> <style> #margin_left{margin-left:400px; height:400px;} #spanning{margin-left:70px;} #spanning_gender{margin-left:66px;} #spanning_marstatus{margin-left:27px;} #spanning_city{margin-left:82px;} #spanning_country{margin-left:62px;} #spanning_religion{margin-left:63px;} #spanning_crime{margin-left:74px;} #spanning_crimetype{margin-left:39px;} #table{border:thick;border-color:#09F;} #insert{margin-left:140px;} #foot{ background:none;} … | |
hi, I m working on vs 2010. asp.net. i have problem with apply class using jquery. there is one textbox. i use class by this way its perfectly work. but when textbox multilink property is true. then problem is raise. pls help me to use this... thanks in advance. jack | |
[CODE]// #include <iostream> using namespace std; #include <cmath> #include <math.h> int main() { float a, b, c, t, s, area; cout << "Enter the lengths of your triangle's sides: "; cin >> a >> b >> c; if(a>b) {t=a; a=b; b=t;}; if(b>c) {t=b; b=c; c=t;}; if(a>b) {t=a; a=b; b=t;}; if((c*c) … | |
Hi all, I've got a certain instance in my program where an integer variable, let's call it 'x', is initialised in one part of a class, however the value is not present when the integer is called in another class. To explain further, I've got 2 classes - 'class1' and … | |
Hello Experts, I am Developing A Web Project. I have done the given below Code in which I want to download a (.mp3) File from a folder located on my web server. The given below Code working fine but the problem is that when I run this code on my … | |
Hi everyone, I need to modify a website created with Smarty. Pretty big website. I have 2 questions. 1. When I try to access index.php, instead of webpage I get screen full of characters. How to see the pages? Guess I need to install smarty, but even their "quick installation" … | |
Dear Experts, I am working on a project for Cyber Cafe on VB.Net. I am unable to give the facility for storing how much data downloaded and uploaded during net surfing on a particular computer. | |
I need to create a bank account class which consists of deposit and withdraw methods. I need to have classes that inherit from superclass, a current account and savings account and a test/driver class that calls all methods and operates the system? something like: public abstract class BankAccount { private … | |
how to connect internet or applications in the mobile via pc. can any software require to appearing applications in that phone | |
Hi guys! the following table i prepared was for a search algorithm where i was supposed to analyse the number of steps repeated for a number to be searched so . it has 8 elements and the k element and couple of questions i want to confirm . i need … | |
how to implement remote computing and what r the works done under this area....... plz help i need this for my major project.... | |
Hi, I know that Quantum Computers haven't made much of an impression yet as they are not very powerful but I have a feeling that they will become a lot more powerful within the next 10-15 years. I know I'm a bit [B]mad[/B] but I just want to know if … | |
Hi This is Singleton class program, please let me know any changes required in this code............... #include <iostream> using namespace std; class Singleton { private: static bool instanceFlag; static Singleton *single; Singleton() { //private constructor } public: static Singleton* getInstance(); void method(); ~Singleton() { instanceFlag = false; } }; bool … | |
Hi, I need to do a file read and extract all the numbers in the text file to be used in my java program. However, I'm having some problem with the try and catch statement. Must the try and catch statement be in the main loop only? Can't I used … | |
Hi there, I am trying to find the max and min value in a an array of size 100, but the input is stopped when there is a 0 entered, and it too gets added to the array. The code below works good, EXCEPT it's min value is always -2, … | |
hello, i am a beginner to visual studio. i want to know how can i use pthread in visual studio 2008. am i supposed to download the dll? if yes, then after downloading how can i use that dll in my project. please help. Karishma. | |
I have a 18kb 1024 x768 jpeg image that is set as background image of my form. The problem is the form now lags like crazy. How can I eliminate the lag? | |
I am trying to define a 2D array of 1000 by 1000 ints and then test which transversal method is faster (row major or column major). I have this written [CODE] #include <stdio.h> #include <time.h> int main() { clock_t start, end; double elapsed; start=clock(); int array[1000][1000]; int row, col; for(row=0; … | |
hi guys, i am not able to declare the array dynamically in c will you help me out thanks | |
*EDIT-I know strtok doesn't actually 'return' a segfault-I realize after submitting topic that is poor wording. Hello, I am having a problem with the C function strtok, as follows: [code=c] void function_name (char * cmd) /* Gathered from another function using readline. Assume 'ls -l' in this example */ { … | |
Hello, I am designing a database for my school library. 10% of the books in the database are French, and thus have words with accents like Château. My issue is that I'd like the user to search for book by typing Chateau (as it is too difficult to type in … | |
Hi, I'm trying to learn OOP, and I've run into a problem. I am supposed to have the user create a user name, and then I'm supposed to import a list of movies for the user to rate. I created a class called Movie. The function within is supposed to … | |
Please help, Someone there who knows how to create an sql for ms access database and php. The Problem is the fields in the table are written with spaces and I am not gonna change it in any means because it is connected to a very large program and it … | |
How to convert numbers from a file into integers the numbers in the file are alerady split but they are strings. Doesnt anyone know how to convert them to integers so they can be manipulated as numbers. | |
I need help...This is the class i am supposed to use... [CODE]#ifndef_MINESWEEPER_H #define_MINESWEEPER_H #include <iostream> #include <ctime> #include <cstdlib> using namespace std; const int SIZE = 3; class minesweeper { public: minesweeper(); minesweeper(int mines); void resetGame(); int flagCell(int x, int y); void unflagCell(int x, int y); int uncoverCell(int x, int … | |
Hey guys i have a little problem!! :confused: I am trying to prompt a JavaScript alert before the html headers and when this happens i does not style my footer from css. Heres my code: [CODE] if ($queryupdate) { echo "<script>alert('Your password has been updated!')</script>"; } else { echo "<script>alert('Your … ![]() | |
Hi everybody I defined an array pointer to hold a massive amount of data, (actually the RGB data of a screen with 1024*768 pixels). the data is assigned from another temporary array to the this array within a function that calculates the values of the temporary array and then assign … | |
i wan create a datatable complex like tis 1!any1 can teach me how to do it? The datatable consist 5 datacolumn(col1,col2,col3,col4 and col5) the data of row of col1,col3 and col5 is fix("A","Book","100") and tis same data will insert into 30 row (when the ds.Tables(0) got 30 row) the data … | |
I have a problem with my console program. I have a text file named "myRecord.txt" with the following contents: 101,Carlito Caballero,500.00 102,Tina Gamboa,560.34 103,Angel Caballero,750.55 104,Kyla Shane,850.32 105,Jogie Glen Mait,1000.00 If I run the program, the console should prompt the user to enter the id number (which is the set … | |
[I]<<edit: [URL="http://www.daniweb.com/forums/post191005.html#post191005"]split from here[/URL]>>[/I] Hi. My i ask something?,,can you help me please to solve this Problem? How Can i call Full Record using strtok and strcmp in text file Please!!!! [CODE]101, Carlito Caballero, 500.00 102, tina gamboa, 560.34 103, angel caballero,750.55 104, kyla shane, 850.32[/CODE] Here's the code [CODE]#include … | |
hey people i have installed the apache server but i dont know how to let it work ths iz the file name that i have installed [U]httpd-2.0.63-win32-src[/U] please dont tel me that i have to download another server or something just tell me what i am supposed to do . … | |
I'm working on a prototype program for my class assignment. I didn't wanna jump into it quite yet until I understood how functions worked so I decided to make this. It's going pretty well and now what I'm trying to do is make it so the program takes user input … | |
Really stuck on this and its supposed to be easy. I'm supposed to input 2 positive nonzero integers into x and y. Then return the value of x times y. The book has an example of 7 * 4 = 4 + 4 + 4 + 4 + 4 + … | |
Hello Members, My program consists of a JFrame, which opens a JDialog. At this point, the modal is "true" for the JFrame when the JDialog is opened. What I want is the following: Once the interaction with the JDialog is complete, the modal for the JFrame should be turned off … | |
HI my code has an error of - Unexpected character in input: ' in url/database.php on line 9 Parse error: syntax error, unexpected T_STRING in url/database.php on line 9 line 9 is $result = mysql_query($sql) or die(mysql_error()); Can anybody tell me what the problem is please [code=php]<?php require_once 'config.php'; $dbConn … | |
Hey guys, I'm working on my first GUI assignment and I wanted to make sure I have the layouts finished and such before I move on to the coding for the calculations and such. Here's the instructions: (4 classes) [B]CreatePanel[/B] CreatePanel extends JPanel defined in the javax.swing package. It should … | |
hi, I have problem with my application. when i run the application it gives an error "there is no source code available for the current location". It doesnt read any of the msgbox i put in all forms.I dont know what goes wrong with my application. Please help. Its very … | |
I am mostly familiar with C++. :?: Please help. Question is below : Write a program to discover how many numbers between 1 and 40 can be expressed as the sum of 4 positive squares (e.g. 15 = 12 + 12 + 22 + 32). | |
Hi, I am currently creating a CMS which will allow PHP code to be used but I need to make sure that certain functions are not used that can ruin the CMS. Basically, I need a way to stop certain functions (like [I]fopen[/I]) to be executed. The only problem I … | |
hello everybody hi im a student of SGRRITS (my institute) in my inst we have turbo c++. is it a good platform for doing programming now a days and does any industry us it now a days. no.2: please can you suggest me its substitute which are better than it. … | |
hello........ I m studying MCA 1st year.... I want to do pure C mini projects...... I need a list of Projects on C platform........ So anybody help me please............ | |
dear i am in trouble i am having a datagrid view where the name of Dgview and textbox name is textbox1 i want to search data according to textbox i want to write a code in events textbox1_keypress whenever you write a word L in textbox so the dgview row … | |
Before i start learning php, many sites like phpBuddy say to donload php installer, Apache server and MySQL. So simply i want to know what is the use of web server and MySQl.More importantly, Also tell me how to use them correctly. If possible provide me lnks from where i … | |
Hi all, Having another problem with a program. I thought i had this one pretty good, i was confident about it, but no luck. The problem was with initializing a variable, i try to add in to output what the variable is and it says it needs to might not … | |
Parse error: syntax error, unexpected T_STRING My god what a horrible thing to see after spending hours trying to put you website up. I'm sorry to be posting this because I have seen I'm not the first to enquire about the same thing, but I have tried to make sense … | |
![]() | Hi, I'm having a small problem with the program that I'm doing. Here is the instructions for it: Write a program named ConvertDate that converts a date entered by the user into another form. The user’s input will have the form month day, year The month will be one of … ![]() |
Hey guys, I've constructed this program and I have this error that I don't understand. What I'm trying to do is have a user type in a positive number and then it counts up to that number. If the number is divisible by 3 or by 5, it prints Beep … | |
Is it possible to password protect a dll at compiletime. Please excuse my noobness, but let me explain what I mean. You app an runtine makes a lot of calls to a function in a library so it opens it and keeps it open for the duration your app is … |
The End.