199,114 Archived Topics
Remove Filter ![]() | |
i have written my code and feel exhausted. when my code finds in error on a given input text file, it does a great job in finding the mismatched symbols. what can i add to show there is no error when no error is found. i attempted adding another else … | |
I am trying to make a login form, and i need it to check for the inputed name in the database. I can't figure how to get text from the cell. i would also prefer not to use a GDV on the form. I am mainly seeking a way to … | |
have recently migrated my ubb forum website([url]http://2aforum.com/[/url]) to a new web hosting server, i have placed the files on new server and i think directory structure is right and also set up the database through phpmyadmin, and changed config file accordingly but still i am getting this error [COLOR="Red"]UBB Message … | |
Fatal error: require_once() [function.require]: Failed opening required '/forum/forums/libs/functions_forums.inc.php' (include_path='.:/usr/local/php5/lib/php') in /home/content/j/o/h/johncardillo/html/forum/forums/scripts/cfrm.inc.php on line 50 how can i solve this error? | |
I like to script php, and lately i was looking for a way to create a 100% dynamic page in php, with the least possible overhead and create a rich user experiance. I say this is a "New" PHP structure because I have come up with the idea myself, that … | |
Hi Guys, First post here, so be gentle :-) I was going looking for an implementation of memcmp(), I found this code snippet, but it is clearly marked that there is 1 logical error with the code snippet. Could you help me find the logical error. Basically, I tested this … | |
i know the concept for method overloading and over riding an dpolymorphisim,,but i want real time .net example for the same | |
Please how to get a specified data from a file?? in java and what is the substitution of the seek function in java??? I need information Thanks | |
I am new to C# and .NET and am having a problem. I have a windows form application. I created a Ole data adapter to look at an Access Database with 3 tables. I then created a dataset which gets loaded by the adapter when the process starts. I then … | |
A company handles international messages. Currently, the messages are printed onto a continuous strip of paper which is cut up and pasted onto sheets of paper for delivery. The owner of the company has decided to automate this process, printing the messages directly onto sheets of paper. Your task is … | |
This was mentioned in a previous thread but I am thinking this problem may warrant a new one. The code I am working with here: [CODE=PHP] <?php //connect to the database $connect = mysql_connect("localhost", "root", "password") or die ("Hey loser, check your server connection."); mysql_select_db("ecommerce"); ?> <html> <head> <title>Here is … | |
i don't know how or even if it is possible have this code work peginated. right now all the data comes in one page but it would be nice to have it in multiple pages let say 40 per page would you be able to help? i know it is … | |
Hello, I was trying to get hold of arrays and read lots of stuff. So when i started coding, i got an error message saying incompatible types. I checked with general compliance and it should be ok. Maybe netbeans causing it? Anyway, any kind of help will be appreciated [ICODE] … | |
Hey Guys, I am new to the concept of Arrays and I need a little help. I have included the instructions for the problem as well as the code that I have so far. Can you help me with what I am doing wrong? Thanks! Write a program that asks … | |
Hi guys, I'm getting " SingletonMain.C:18: undefined reference to `Singleton<MyClass>::instance()' " compiling error. It doesn't make sense to me because MyClass inherits instance() from Singleton, doesn't it ? If someone could shed some light on it, I will be grateful. SingletonMain.C #include <iostream> #include "Singleton.h" using namespace std; [CODE]class MyClass … | |
Hello I need to create an array of pointers for class dog is one class and showDog is the derived class. I need to input from a data file and store the variables to these classes. In the file there is a D for dog or S for showDog between … | |
I need some help figuring out how to create a somewhat simple form. The form will have text fields for 'Name', 'Phone', etc. What I want is to have a [B]drop down list[/B], which has different insurances to choose from (i.e. Medical Insurance, Dental Insurance, Senior products), and say when … | |
i m new in asp.net with c# .I am trying to make a C# application login on my ASP.NET page.I want the code for log In. | |
Been trying to run a schema script from within vb.net. No matter how I format it I can't I just get all kinds of syntax errors: Here is my VB script: [CODE]Dim sqlservername As String sqlservername = Tservername.Text Dim SQLStr As String Dim ConnString As String ConnString = "Data Source=" … | |
It keeps giving me this exception when it [I]seems[/I] like I am adding a choice to my choices vector, and I don't know why. Here is that snippet of code. If you need more I can provide it. Thanks ahead of time. [CODE=java]import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Vector; … | |
Hi, i'm having some problems with my inheritance homework. It consists on writing a progrma that mimics the String lib by overloading different operands and then create two derive classes that will revert a string and that will change the cases to lower and upper. This is as far as … | |
/* Write a program the nested for loops that display the output below. 0 0 1 0 1 2 0 1 2 3 0 1 2 3 4 0 1 2 3 4 5 */ [code=cplusplus] #include <iostream> #include <cmath> #include <cstdlib> #include <iomanip> using namespace std; int main () … | |
Pardon my newbness, I only just found this site today and I have been having this problem for a bit. Background: I am using Python 2.5.2 that I recieved from a CD from my college. My OS is Windows XP, and my internet provider is Internet Explorer. Problem: When I … | |
i am designing a site...under xampp with php...now,i have a table called link where i want to link some special links by fething it from database...but my problem is when i open it ....it happens something like below... suppose I give a url "www.intel.com" in the database by hyperlinking a … | |
I want to perform an operation on all files in a given directory. I want the user to choose the directory with some GUI interface. Using HTML I could use the INPUT as I found in this example below at TIZAG. As anyone found a method just to choose a … ![]() | |
Hello everyone I'm having a little difficulty, hopefully you guys can help or point me to the right direction. I'm trying to get a pointer from a class point to another pointer from another class. Naturally it doesn't work because the assignment operator doesn't allow us to do this so … | |
hi friends i do organization schema for my company. i make a simple design of org. sch. like ; organization_schema=> org_job_ıd ,bigger_org_job_id,job_id(for example more than one department have computer enginner) job=>job_id,job_name and also employees have relation with organization_schema than my problem is i need to history of organization_schema for it … | |
Hi, I have completed a C++ application.It is about 3.5 mb in size. I need to create a demo version of this application,The application should not work after 30 days of installing and using it.. Is there something any software that allows you to create demo versions or what steps … | |
Okay, here's the challenge, I know its probably pretty easy, but i'm just starting to learn and I have the challenge problem that I can't figure out, any help/guidance would be appreciated! This program will accept two numbers from the user and display the sum of the square roots of … | |
Hi. I am learing JSP and testing mail. but I don't know why error generate. Please help me. Source code. [code] package tags; import javax.mail.*; import javax.mail.internet.*; import java.util.*; public class HelloMail { public static void main(String args[])throws MessagingException { String name ="jsp learning"; String from = "kim.ilikeenglish.gc@gmail.com"; String to … | |
I am getting a segmentation fault when i run the follwing program. This program takes in a const char* and returns the integer format. I also need advice on converting a C++ Octal or Hexadecimal Notationed string to an integer. Here is the code [CODE=C++] #include <iostream> #include <cstring> int … | |
please help me.. am using turbo c 3.00 i'm gettin a compile time error : Lvalue required. ------------------------------------------------------------- [code] #include<stdio.h> #include<conio.h> #include<stdlib.h> int func(int x,int y) { int *ptr1=&x,*ptr2=&y; int **ptr_1,**ptr_2; *ptr_1=ptr1; *ptr_2=ptr2; printf("\nUsing function pointer : "); printf("\nx=%d\ny=%d",**ptr_1,**ptr_2); int sum=*ptr1+*ptr2; return sum; } main() { int *fnptr(int,int); // declare … | |
Hey all. First time user here :) Im making a Windows XP C++ console application with Code Blocks (GNU GCC Compiler). This program is written to control another program that is missing some features i need (read input from external source). Last thing im missing from my program is little … | |
I have programed before (QuickBASIC and Macromedia Flash MX) but I am new on Python I want to create a program in which you give it a keyword and it generates a cypher. Like this: (Built in alphabet) ABCDEFGHIJKLMNOPQRSTUVWXYZ (Asks for keyword) (Lets say the keyword is BLOCK) BLOCK (Adds … | |
I'm writing a simple number generator program and I'm trying to find an easier way to get a random number, store it then display it. The catch is I don't want duplicated numbers (each need to be different). here is what I have so far, it does work but I'll … | |
Hi, I am having a problem with the following function: [CODE]void calcEnergy( vector< vector<double> > &Energy, vector< vector<double> > &Data, const double Constant ) { double Time = 6; // store the change in time double energy ; // Temp variable to store energy double v1,v2; for ( size_t i … | |
would anyone be able to help me convert this c function to an assembler function? Any help would be greatly appreciated thanks. [CODE]void load(char x[][1000], int collum, int row, char ln) { int i =0; int j =0; for( i = 0; i < row; i++ ) { for( j … | |
guys i want to debug an application without using a break point. the problem is i dont know which function of the class is called first, so i dont know where to put the break point. i want the debugger to stop when any of its method is called. is … | |
Hello, I feel embarrassed to ask these types of questions but i can't get answers to them in my text book. So here you go: I have an assignment of copying the constructor writing clone() method and add() method. While i understand the idea of creating of clone and add … | |
Hey, I have a problem when I'm trying to delete an image file. I always get an error that says: IOExeption was unhandled. Acces denied because the file is beining used by another process. I do'nt know what process that could be and how to solve it. [CODE]private void comboBox3_SelectedIndexChanged(object … | |
ok i am at a loss but this shouldn't be too hard. for all of you smarties ok i am tiered of building forms just to have to go though and grab every name and slowly and pain fully build the php part. what i would like to do is … | |
Hi there, I have an array of strings defined in the following way; [code] string wordbank[]={"yes", "no", "hello", "goodbye"}; [/code] My problem is I would like to create a seperate array of characters for each element of that array. Something of the form; char *word_0[]={'y','e','s'} The things I have tried … | |
can any one help, need a program to search a particular word in a file (its a .dat file ) then count the number of it occurrences in the whole file, output the count on console. I have not worked with programs before.......... | |
Hi, I am working on a assignment where I have results sheet which is in form of text file; I want text file content to be written in excel sheet; generally we manually copy and paste the results in excel sheet. Our existing excel sheet has 70(sub-sheets) e.g result of … | |
I am needing help with what is probably a very easy task to complete, but I have been working on it for a while and need another pair of eyes to help me figure out the missing piece. I should know how to do this but for some reason the … | |
Hi, i am generating html to pdf using [code] require('html2fpdf.php'); $pdf=new HTML2FPDF(); $dummy='<html><head> <style> .text11 { font-family: Arial, Helvetica, sans-serif; font-size: 11px; color: #434450; text-decoration: none; font-weight: bold; } .text111 { font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: #AE4506; text-decoration: none; font-weight: bold; } .text122 { font-family: Arial, Helvetica, sans-serif; … | |
Hi all, I have wrote VBA code by export data into excel. But when i run it in some machine, an error occured. Error message is below: "Run-time error '-2147024770 (8007007e)': Automation error The specified module could not be found." Error occured in some compters only, not all. Any one … | |
Have been trying to figure this one out for some time, but still can not get this AJAX script to work with Internet Explorer. It works with all other browsers. Thanks in Advance! FORM CODE [CODE] <script language="JavaScript" type="text/javascript" src="aj.js"> </script> <input type="text" value="#CCC" id="paints" size="7"> <input type="button" value="submit" id="gColor" … | |
Hi, I wish to know that the cause of the following error when i run the program : a) Is memory leak in the program B) The system on which i am running the program has insufficient memory. [ICODE] terminate called after throwing an instance of 'St9bad_alloc' what(): St9bad_alloc[/ICODE] Thanks | |
hi, Dear Friends i am developing LAN chatting software in java. i got a confusing problem, i.e when a user do chat while opening chat_Window, and at that same time if he open another chat window, then he types the message in old already opened window the messages shows in … |
The End.