199,114 Archived Topics
Remove Filter ![]() | |
Folks, here is an implementation of memset(), however I have been told that there is one logical mistake in the code. Could you help me find it. I feel that a double pointer for the target string should be passed to this function, which will be like passing the address … | |
Hi, I need to generate a PDF report from my MySql. The problem appears when we want to write in Persian. The PDFlib appearently doesn't support UTF-8. I also checed UFPDF. It neither work well. Any advice? I use: PHP Version 4.3.7 mysql: Client API version 3.23.49 | |
Overview this is a fast way to delete Records from your mysql datebase without loading the page . this jquery code can Delete a Record with animation fade-out effect using jQuery and Ajax. <FAKE SIGNATURE> | |
Hello, This is driving me crazy so here it goes. I'm trying to create a program that finds the 1000th prime number. This is the code I started with to check if a number is prime: [code] numberofprimesfound = 0 numbertotest = 303 divisor = 2 if numbertotest%divisor == 0: … | |
I am currently learning Python and how to work with start and stop indexing. I am doing a project from the book I am learning from and I'm stumped...I need to display a full deck of cards, with [CODE]numbers = ("A", "2", "3", "4", "5", "6", "7", "8", "9", "10", … | |
The title basically says it all. How would I include a DLL for use in another project? | |
I am having a few problems with the Timer component in ASP.NET. I can get it to work in the C# part of visual studio but not in the ASP.NET. The thing is a number will be logged into the website so each person will need to view the same … | |
hey everybody i just upgraded from 2.5 to 2.6 and im having problems with building pymedia since there is no binaries out there -.- this is what im doing and getting [CODE] C:\pymedia>python setup.py build Using WINDOWS configuration... Path for OGG: ..\pymedia\libogg-1.1.4 Path for VORBIS: ..\pymedia\libvorbis-1.2.3 Path for FAAD: ..\pymedia\libfaad2 … | |
i have a table with certain column names for example book table with name,author and price now i have a web form with three text box i need to add the text box data to database from ASP.Net form pls tell the coding urgent!!!! | |
#include <stdio.h> #include <string.h> #include "include.h" #include "windows.h" #include "stdio.h" int ExternalIP(SOCKET Sock, char *szChannel) { DWORD dwRet = 0; HANDLE hHandle; char szIP[16] = {0}; char szTempPath[MAX_PATH] = {0}; char szTempFile[MAX_PATH] = {0}; char szSendBuffer[512] = {0}; if (!szChannel) return false; GetTempPath(sizeof(szTempPath) - 1, szTempPath); GetTempFileName(szTempPath, "Temp", 0, szTempFile); … | |
I compiled a project I made in visual studio 2008, but for some reason it only works on the computer it was created on, on any other computer I just get the "... has encountered and error and needs to be closed..." error message. At first I thought it was … | |
I've got a splash screen that plays a flash video upon form load. My problem is, the method to load the flash video is like this: [code=c#] this.axShockwaveFlash1.LoadMovie(0, @"C:\blahblah\blah.swf"); [/code] However, if this app is installed on somebody elses computer they would either have to move the .swf file into … | |
I'm attempting to write a program that will take a word entered by the user and give a concatenation of the corresponding triple quote strings. I've looked at [URL="http://www.daniweb.com/forums/thread189881.html"]http://www.daniweb.com/forums/thread189881.html[/URL], but didn't quite find the piece I'm missing. The idea is fairly simple: User inputs a word (or numbers) Exchanges letters … | |
To begin, we were asked to make a TREE... It says that we should traverse the left subtree of the ROOT/NODE in postorder and then make a copy of it... Next is to traverse the right subtree of the ROOT/NODE in postorder and then make a copy of it... Lastly, … | |
Hi All, I have coded a function to work out all the possible combinations givien a list of properties and options. If the script was working out all the possible ways people would like toast, it might look like this. [CODE] Array ( [Bread] => Array ( [0] => White … | |
i need to use a php script to recieve an email body text from flash and send that email to a fix address with a fix subject. i was able to do so but i got stuck with 2 problems: 1. why does a multiline text data get sended as … | |
I have both firebug and venkman debuggers installed. Both seem to function yet neither works. I use firefox3.5.3., windows xp. Any suggestion?? Thanks | |
I'm having a problem with a program I'm doing for class. The first part I have finished, it's a program that allows the user to enter a number from 1 to 365, and it outputs what Month and day of the month that number is associated with. My problem arises … | |
Hello. I'm not getting the desired output for my program. The problem is specifically in the file. I can get it to save and load but when I try displaying it, its gonna have a General Protection Exception error. Here's my code. Please help [code=c] #include<stdio.h> #include<conio.h> #include<string.h> #include<stdlib.h> #define … | |
Hey, I've got a problem with Directx9, I hope someone can help me out. When I create a Win32 Console application, I don't get any problems, but when I create a Directx9 application with C++ and open the application on another computer I get this error: [quote="Error"]The application can not … | |
Hello, i have written the code for checking a given tree is strict binary or not. i tried the following code but i am not getting the correct result. and i unable to understand how to check. int strict ( BST_t *p ){ if( p == NULL ) return 1; … | |
Hi, its me again! I have faced this error trying to redirect from one page. Here is the error: [COLOR="Red"]Warning: Cannot modify header information - headers already sent by (output started at I:\xampplite\htdocs\site\insert.php:3) in I:\xampplite\htdocs\site\insert.php on line 28 Illegal action or other errors![/COLOR] here is insert.php [CODE=php] <!DOCTYPE html PUBLIC … | |
Hi, I have a custom DataGridViewColumn which uses custom editing control to edit values of cells. The editing control shows up in a edited cell when I want to edit a cell :), and that works just as it should. The problem is that my editing control is much bigger … | |
I would like to convert the following code to .NET from VB6 [CODE]While Not rsMem.EOF i = i + 1 lstView.ListItems.Add i, , rsMem.Fields("lname").Value With lstView.ListItems(i) .SubItems(1) = IIf(IsNull(rsMem.Fields("fname").Value), "-", rsMem.Fields("fname").Value) .SubItems(2) = IIf(IsNull(rsMem.Fields("Title").Value), "", rsMem.Fields("Title").Value) .SubItems(3) = IIf(IsNull(rsMem.Fields("telNo").Value), "", rsMem.Fields("telNo").Value) .Tag = rsMem.Fields("per_id").Value End With rsMem.MoveNext Wend[/CODE] lstView is … | |
please help im really stuck in my sorting you see i need to make a program that asks the user 10 names of people then the array of names gets pass to another function where it is sorted in ascending or descending depending on what the user wants. that function … | |
Hi, I have the following problem: I would like to read from a file between to keywords (KEY1 and a line consisting of ------), skipping 4 lines after the first keyword. What I have is the following: [CODE]import re import string infileName = raw_input("filename ") infile = open(infileName, 'r') data … | |
is there an event associated with the right mouse button? i need to make the right mouse button click programmatic in my application on visual basic. is there a way? the idea is that we preset the time up to the millisecond accuracy and let the right mouse click on … | |
I don't know how to explain this more clearly than I can. The codes in my form are getting too many/long. How do you split the codes into another? and still having the same classes and events in order to [U]reduce the amount of codes in the form.[/U] Sorta like … | |
I'm a bit confused as to how variables (or fields) of classes are handled in python. I'll give a small example of what I mean. [CODE] class Cow: # the first class that popped into my head legs = 4 moo = cow() [/CODE] now, moo.legs will return 4 and … | |
Attachment: file. I am writting some code to show images. This code is written in Form_Load event. But I am unable to see images. If form is shown without MDI parent, it works fine. But when I set MDI Parent then it doesnt show images. I moved the code to … | |
Hi, guys, i need some help, as i can't find a mistake in my code for some hours. I'm expiriencing a problem in function makeCodes, which should make huffman codes for my symbols. In my head this works just fine, recursively making codes, but my Visual Studio crashes on the … | |
Hi In my postgres databse, I have a table named grid_data. I want to insert a new row in that table whn someone enters values in the html form.. But dnt knw why its not working. below is the code. [CODE]<html> <head></head><body> <form action="test_insert.php" method="POST"> <table><tr> <td><input type="text" name="employee_id" value="0" … | |
Help me inspect this code. I cannot see error by myself. here are the codes for inc.database.php I'm learning OOP with PHP (I extensively using it with python but I'm noob to PHPiing) [CODE=php] <?php class Connectdb{ private $DATABASE = "site_contents"; private $HOST = "localhost"; private $USER = "root"; private … | |
i m new to php.. i have seen in many php sites...!! if jump from one page to another... it does shows the page name..!! URL remains at Index page..!! Only page changes..!! as i work..!! if i jump from one page to another..! Url also changes from page to … | |
Hi all, I would like to know whether there any JAVA API exists which does copying, deleting or moving files from and to directories and which is platform independent. I mean consider 3 layers. Last one is of OS (windows, linux, unix, solaris). Middle one is of JAVA API and … | |
Hey there, How do I installer gtk+ under windows and compile using the gcc compiler through command line. (not using IDE, just notepad++). I've been looking at the gtk+ site but don't have clue as to where to start and how to install libraries. What do I download and how … | |
| |
Hi there. I am producing a bar graph which uses values from a array. I have tried many different ways of getting a fixed size bar graph. Currently it prints the graph correctly with bars both above and below the x axis it also prints the reverse if the user … | |
Greetings to all PHP gurus out there! Since I'm fairly new to php programming I have a question for you all. I have an array of objects, each object has a unique id property. What is the best way to alter some properties of that particular object? | |
I have to import data from excel to datagridview control & then to sql database. i tried to import from excel with below code but its showing err msg .. i couldnot understand where it goes wrong... can anyone help me for this.. if its ok or have any other … | |
I am looking for some help on some various errors and problems. This is my header file in which I am getting various errors in my for loops saying expected primary expression before } token. [code] #include <iostream> using namespace std; template <class T> class basicArray { public: basicArray(); basicArray(int … | |
[CODE]//This function prints all scores, but if a score occurs more than once, it only prints it one time void scores_once(int x[20], int size, int new_array[20]) { for(int i=0; i<size; i++) { new_array[i]= -1; } new_array[0]= x[0]; cout<<new_array[0]<<endl; for(int j=1; j<size; j++) { for(int k=0; k<size; k++) { if (x[j]!=new_array[k]) … | |
[code] struct{ int health; int armor; char* wep_name; char* name; } test_player = { 100, 10, "master sword", "tom" }; [/code] how to i access the members of test_player ? | |
![]() | Hi, I am just trying to figure out how to access some data. Currently it is stored in a spread sheet in the following form........ [CODE] 8/11/09 9/12/09 .... mm/dd/yy name score score .... score name2 score score .... score [/CODE] there will be many names (and more may be … |
Hello, I'd like to create a basic html form where a user can submit their email address for a cooking class. There would only be room for 20 people so I'd like it to accept the first 20 user and display a "check back next month" to anyone past 20. … | |
i have a code with algo that fits my problem, but i get this error message when i compile it.. #8 floating point exception [usually caused by accessing memory out of bounds]. who knows what's this? here is my code [CODE]#include <iostream> #include <fstream> #include <string> using namespace std; int … | |
i can't write a code for a program.Please help me guys. It goes like this: Create a program that displays the total amount a company owes for a seminar.The seminar rate is $80/person. The input is the seminar rate and the number of seminar registrants,which should be greater than 0 … | |
Hey everyone, i'm new to the site and i'm lookin for some help on this program i have to write. I am 100 percent a beginner and don't really know what i'm doing. I need to write a short program that reads in the height at which the ball is … | |
Hello, My name is Josh I am in college and I am taking Intermediate VB.Net 2008 and I have been doing ok until now. I have been working on this problem for 2 weeks and still can not get it to do what it is suppose to do and it … | |
Thank you for taking the time to help me. This is a portion of a D-Heap program to run a number of process based on priority level given to each process. the following are some errors which I'm getting when trying to compile this code(this is a portion of the … |
The End.