199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for hurbano

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 …

Member Avatar for ArkM
0
88
Member Avatar for keithE

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 …

Member Avatar for keithE
0
123
Member Avatar for jyotiu

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 …

Member Avatar for jyotiu
0
151
Member Avatar for jyotiu

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?

Member Avatar for jyotiu
0
138
Member Avatar for Merlin33069

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 …

Member Avatar for Merlin33069
0
445
Member Avatar for kaku_lala

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 …

Member Avatar for ArkM
0
351
Member Avatar for sivak

i know the concept for method overloading and over riding an dpolymorphisim,,but i want real time .net example for the same

Member Avatar for Diamonddrake
0
61
Member Avatar for mostafanageeb

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

Member Avatar for kvprajapati
0
96
Member Avatar for DaveD3

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 …

Member Avatar for Diamonddrake
0
82
Member Avatar for Butz

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 …

Member Avatar for Fest3er
0
116
Member Avatar for kssi89

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 …

Member Avatar for almostbob
0
120
Member Avatar for serdas

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 …

Member Avatar for serdas
0
161
Member Avatar for grisha83

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] …

Member Avatar for kvprajapati
0
94
Member Avatar for songweaver

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 …

Member Avatar for siddhant3s
0
135
Member Avatar for cppStudent

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 …

Member Avatar for siddhant3s
0
140
Member Avatar for cbreeze

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 …

Member Avatar for siddhant3s
0
97
Member Avatar for ryanwhite17

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 …

Member Avatar for Airshow
0
423
Member Avatar for sadiyarani

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.

Member Avatar for serkan sendur
0
128
Member Avatar for Merovingian

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=" …

Member Avatar for Merovingian
0
185
Member Avatar for gotm

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; …

Member Avatar for Zibo
0
139
Member Avatar for losh177

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 …

Member Avatar for losh177
0
270
Member Avatar for kkbronner

/* 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 () …

Member Avatar for NathanOliver
0
152
Member Avatar for Zanbi

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 …

Member Avatar for lllllIllIlllI
0
1K
Member Avatar for tanmoy_india

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 …

Member Avatar for almostbob
0
87
Member Avatar for rouse

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 …

Member Avatar for diafol
0
94
Member Avatar for BlackStar

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 …

Member Avatar for BlackStar
0
245
Member Avatar for canalper

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 …

Member Avatar for bigakis
0
109
Member Avatar for tksrules

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 …

Member Avatar for Lerner
0
90
Member Avatar for SLORE

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 …

Member Avatar for SLORE
0
106
Member Avatar for mr psh

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 …

Member Avatar for deepalihanand
0
138
Member Avatar for Sky Diploma

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 …

Member Avatar for tux4life
0
233
Member Avatar for anraevlus18

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 …

Member Avatar for Ancient Dragon
0
100
Member Avatar for Joukon

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 …

Member Avatar for Ancient Dragon
0
368
Member Avatar for David.lewing

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 …

Member Avatar for woooee
0
373
Member Avatar for RayvenHawk

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 …

Member Avatar for RayvenHawk
0
189
Member Avatar for Peyton

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 …

Member Avatar for ArkM
0
111
Member Avatar for legendarya49

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 …

Member Avatar for legendarya49
0
78
Member Avatar for serkan sendur

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 …

Member Avatar for serkan sendur
0
87
Member Avatar for grisha83

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 …

Member Avatar for grisha83
0
111
Member Avatar for Vinzcent

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 …

Member Avatar for serkan sendur
0
76
Member Avatar for itisnot_me

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 …

Member Avatar for itisnot_me
0
75
Member Avatar for pdunc88

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 …

Member Avatar for pdunc88
0
90
Member Avatar for jyo_84

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..........

Member Avatar for mayank.cracker
0
76
Member Avatar for rana03

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 …

Member Avatar for mitchems
0
190
Member Avatar for aveao

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 …

Member Avatar for aveao
0
78
Member Avatar for dipakxyz

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; …

Member Avatar for chrishea
0
506
Member Avatar for BChanthorn

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 …

Member Avatar for ricosuave
0
393
Member Avatar for lonestar23

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" …

Member Avatar for essential
0
158
Member Avatar for guest7

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

Member Avatar for drjay1627
0
116
Member Avatar for itslucky

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 …

Member Avatar for VernonDozier
0
126

The End.