199,114 Archived Topics
Remove Filter ![]() | |
I am wondering if it is possible and how I would go about doing it if I wanted to use jQuery to sort with my PHP results on my page, does jQuery handle that? thanks for any advice | |
Is there any way how i could compare arrays like pattern matching or should i write my own code? Thanks. | |
Is it bad to make a reference parameter optional by giving it a default value? Like here: [CODE]int Parse(std::string filename, std::string& error = (std::string)"");[/CODE] Here, the caller of the function may pass an optional std::string that will be filled with an error message if there is one. Is this considered … | |
in more basic C++ terms what does the following code mean? [CODE]friend ostream& operator << (ostream& os, const item* itm);[/CODE] it is a function in a header file | |
Hello everybody,,i am completly new in php(i'm a java;) programmer)and i need a help for creating a counter, i have a pdf file on the server and if someone has a counter that does the following: -when someone clicks on the pdf file ,the counter stores the clicks times value … | |
I am having trouble defining the get/set for an array in a class I have created.... how do you get/set arrays within classes? basically I have an array with x and y as width/height for a map i am creating, and i want each x/y point to have the "walkable" … | |
I'm trying to write a recursive method that will print a char c, x amount of times on the same line. I was thinking that I could return the recursive function call and concatenate the char c but I don't think my compiler agrees. What exactly are the properties of … | |
Hi all. I am trying to write a "light" version of srm just as an exercise of shell scripting (started today with this ^^" I have to keep it [B]really[/B] simple) Basically it should just search for a file and, if found, ask for a confirmation before deleting it. Now, … | |
Write the definition of a method reverse , whose parameter is an array of integers. The method reverses the elements of the array. The method does not return a value So far I got: [code] public void reverse(int[] backward) { for(int i = (backward.length -1); i >=0;i--){ } } [/code] … | |
Hello, I was wondering how I could correct this. It is referring to the following line: [code] set.quickSort(prt1, 0, arraySize-1); [/code] I tried to create an object and call the function this way but I am not sure how to correct this error. My code is the following: [code] bool … | |
hi guys, i was trying to sum up all the balances of clients to know which of them has reach their credit limit but my codes are not working. It shows an error and highlights on this code [code] rsArmaster.Open "select sum(balance) as credit from ArMaster where shippercode= '" & … | |
Hi. Well, the past year, I have spent learning GUI programming in Java and have created several games (Asteroids, MineSweeper, TicTacToe, etc, etc) in Java. I was wondering if there is an easy way (is it easy at all?) to go from what I know about GUI programming in Java, … | |
hello, i have a small hard question , i really wish to find the answer soon here because iam look for that answer for 3 days and i got no success , well , iam not a professional in the php programming but iam trying to be good as i … | |
If I print something to the screen, is it at all possible to erase some of that? Some sort of backspace? That way it would be possible to clear the screen, make a text progress bar, etc. If not, what's the easiest way to do something similar? Thanks, | |
Hi, Is there a way in python to get multiple values from a dict? In perl we have this syntax: @values = @hash{@fields} is there something similar in python? thanks, Sam | |
At first sorry to say I m new here ....... Whats the problem about that ??.........[B]Parse error: syntax error, unexpected $end in /home/.zerlina/gsmbangladesh/gsmbangladesh.com/vbseo.php on line 1097 [/B] Plz let me know about details......... Help any One and ll be thankfull .. Jr telecom | |
Write a simple graphics editor that allows users to add a mixture of shapes (ellipses, rectangles, and lines in different colors) to a panel. Supply commands to load and save the picture. Basically it wants a program with a buttons for New, Load, Save, Rectangle, Line, Ellipse, Red, Green, Blue, … | |
I have a vs2005 forms app, I have added a header file with a bunch of functions, but now i get a bunch of LNK2005 errors, one for every function. How do I resolve this? Do I need to put them in a class? Thanks. | |
Hi guys, i have one question regarding alignment. Assume that you have the following struct: [code=c] struct align1 { double a; char b; int c; short d; }; [/code] Also assume: sizeof(double): 8 sizeof(int): 4 sizeof(char): 1 sizeof(short): 2 i would expect: sizeof(align1): 8 + (char padded to->) 4 + … | |
Ok. Need some help with a project at my work. Wanting to create a useful map of the windfarm where I work. (Once completed, will be the largest windfarm in Europe :-)) Anyway have created a map of the site showing the locations of each turbine. Using this map as … | |
guyz im having hard time of making a program that could run like a simple ATM machine using turbo c(using conditional statement and looping)... I can't think will coz the dealine of submission is on next week... could you gave an idea of that program.. pls??? i will just change … | |
I downloaded a graph control... However I dont know how to code it I tried copping and pasting sxamples codes but the code refuses to work. HOW DO I CODE THE GRAPH CONTROL, I KNOW I CAN USE ARRAYS BUT MY UNDERSTANDIG OF ARRAYS IS MINIMAL...?? i need help | |
Hi all, How can I allocate memory in Python and convert that into Physical memory? I am trying to use CTYPES, but somehow not able to load the required system libraries to use malloc type of system call. Thanks, David | |
All, I hope I can explain this right. We have a web application we are working (ASP) and we want the ability to create PDFs for the user. These PDFs can take up to 2 or 3 mins to create and we do not want to tie up the user … | |
I'm working on a program to keep track of a hardware store's inventory. For each item the item ID, item name, # of pieces ordered, # of pieces in stock, manufacturer's price and the selling price. The program must also print out a report. The program is menu driven and … | |
Hi there, i'm having trouble with creating the Pseudocode for my program, the program took me ages to complete with alot of help, i sort of understand what needs to be done, but could someone start me off as i'm unsure of how to begin:- [code]import java.io.*; import java.util.*; public … | |
Hi, using VB 2008 Express, I have a button on a form which is to use a datareader to loop through all the records in a file. When I try to run it I get a message indicating it could not connect. I assume something is wrong with my connection … | |
Does the infomation make a differance to the programs speed? [CODE]// Operating with hello world #include <iostream> using namespace std; int main () { // Print out the result: cout << "Hello World! "; cout << "This is my program"; // Keep program running: cin.get(); //Terminate the program: return 0; … | |
I am just wondering, where would be the easiest place to learn directx in tutorials on the computer? Thank you. | |
Using VB 2008 Express, this is not a problem but a philosophical question. Which is preferred method of providing user with error messages on forms, errorhandler or message boxes? Error handler seems like it's the direction Microsoft would like us to go in, with providing even the errror message as … | |
Well I am writing a little message encryption program (simple) and Well it works but it will not change anything after a space. just hoping someone here could help. [CODE] cout << "Enter in the message you want to encrypt..." << endl << " "; cin >> in; count=strlen(in); for(i … | |
Im trying to set up an application that will connect to a MYSQL database across the a distance using internet connection. i did it with VB 6 but it seems like the connection is not that stable and sometime it wont connect. Is it because of VB 6? would be … | |
Hi all, i have added the form required in my project. it is showing there in solution explorer window. But i cant access that form through coding. can anyone tell me wt is the problem | |
hey folks, I've got a problem. I created a function that creates a javascript alert. it works fine for the invalid date call, but not for the updated call. I have used this function on several other projects and have had no problems with it until now. If stepped through … | |
My program performs a search on a user selected directory and produces a list of files and attributes in a listview. The user then has the option to open files, move them, or delete them. This program will be used accross a wide variety of users and I want to … | |
Can someone help me to write a program that can read and write to a file and then store the user input in the file using the Property and ClassLoader classes.Also when another person uses the program it should tell you the last person to use the program.Thanks in advance | |
I want to select data from ranges like Column1 Column2 25000 10 50000 20 75000 30 I want records like upto 25000, I get 10 upto 50000, I get 20 upto or more than 75000, I get 30 Can anybody suggest me a simple query for that? Thanks in advance, | |
I am making a whatsmyip.org clone and this is what I have so far [CODE]<HTML> <HEAD> <TITLE>Maddog's IPs'</TITLE> <META NAME="Keywords" CONTENT="IP, address, find ip address, ip addres, whats ip, ip find, ipconfig, ipaddress"> <META NAME="Description" CONTENT="Maddog's IP' - The #1 Way To Find Your IP Address !"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> … | |
I'm trying to call the function fgets to read from standard input. How do I get the FILE* stdin in assembly? I'm using nasm on cygwin. Thanks in advance. | |
Hello. Possibly, this is the best java forum in the whole net. So i thought to ask. I want to capture video from a web-camera. So far, i have enabled the camera using JMF and i can see "inside" the camera. What i want is to capture video in GRAYSCALE, … | |
hi i'm creating a program with the same effect as the green screen used in the movies and i'm having problem in getting the right value of green colors, but when i uses black or white as a color to be mask it works but not with the green, can … | |
Hi just go through this code....... [code=php] <?php include('database.php'); $result = mysql_query("SELECT * FROM autoalto_mail"); while($row = mysql_fetch_array($result)) { ?> <tr><td width="10%"></td> <td ><img src="images/buldot.gif" alt="" height="6" width="6"> <?echo $row['from']?></td> <td ><a href="contractor_mail_action_contents.php"><?echo $row['subject']?></a></td> <td><?echo $row['date']?></td> </tr> <tr><td width="10%"></td> <td colspan="4" style="background-repeat: repeat-x;" background="images/dot.jpg" height="0" width="300"></td></tr> <? } mysql_close(); ?> … | |
Hi all I have to make a form in my project which includes text NOW LOADING following 4 to 5 dots like ......, Now my motive is that on loading that form the dots should look like moving as is mormally seen in all softwares and games. i have used … | |
Hi All, Kindly give me some guidelines regarding below issue. I am developing Student feedback system to provide feedback about faculty to in institution. Now I have three tables in database: 1.Questionid containing column as id, questionid-description, type 2.event table containing column eventid ,eventdescription,questioned-description(contain same data as like questionid-description from … | |
hi ppl, i' ve done a program that calculates the result of raising a random base to a random exponent. the problem is that this stays in a loop that never comes out, n i have to abort it. and, its ok to put `exp*=exp??` cuz, i dont know how … | |
Hi guys, I'm trying to make sense of some Perl code. I haven't actually programmed in Perl before but I do image the functions/methods are similar to other languages. Here's the code: [code=perl] function [dir, wspd] = conv_wind(uwind, vwind) usize = length(uwind); vsize = length(vwind); if(usize ~= vsize) dir = … | |
Hi All, I am new programmer, I have to create list of item which are selected from list box . It should be displayed like " a,b,c,d,e,f " How can I do ? it can be in a string or numeric . only selected Item is required to display displayed" … | |
Hello, I am new here, and hope to learn and contribute a lot. Recently, I started learning PHP (about 2 weeks), and now I am coming to the fopen() function. Say that I wanted to create a new file for reading and writing, is this what I would do? [code]$newfile … | |
OK i have this code below here...it works fine. play with it and you will learn its a simple maths game but i want to add substraction to it as well. i want it to be able to load the program up and then be able to choose from addition … | |
This is my first post and I am new to this so bear with me...I am trying to write a program that will output messages to 1 or more text files. For example if I want to write to 3 log files, depending on what is happening in the code. … |
The End.