199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for crq

hey folks, i have a template created that holds an array of type T elements. my problem is this ... i am converting this code from a souped up Array class that takes ints as it's elements to this template Array<T> class that will hold T elements. in the original …

Member Avatar for Narue
0
223
Member Avatar for ysong00

I created this 2d array consisting of morsecodes: char m[57][6] = {".-..-.", "", "", "", "", ".----.", "-.--.-", "-.--.-", "", "", "--..--", "-....-", ".-.-.-", "-..-.", "-----", ".----", "..---", "...--", "....-", ".....", "-....", "--...", "---..", "----.", "---...", "", "", "", "", "..--..", "", ".-", "-...", "-.-.", "-..", ".", "..-.", "--.", "....", …

Member Avatar for vegaseat
0
96
Member Avatar for lalpert

Please help! Why doesn't my home page, called mysite/index.asp load when calling the domain name without the 'index.asp'? The domain name is [url]www.treasurymgr.com[/url]. The old index.html is loading fine. When I delete that page from the root directory, the index.asp file isn't recognized. Anyone have any ideas? Much appreciated... Lisa

Member Avatar for zippee
0
201
Member Avatar for TheBlueRocker

I am new to asp programming and I am trying to alter an existing asp file. The html file will process a form, go to the asp page and display the data that was filled out and send that data to an email address. What I need is when the …

Member Avatar for zippee
0
143
Member Avatar for Deepa

iam sending mail using cdonts in asp there is no error but the mail is not send. can some one help me in this. this is the code set objMail=Server.CreateObject("CDONTS.NewMail") objMail.From=FromId objMail.To=ToId objMail.Subject=MailSubject objMail.BodyFormat=0 ' for HTML objMail.MailFormat = 0 ' for MIME objMail.Body=MailMessage objMail.Send set objMail=nothing

Member Avatar for faisyshah
0
205
Member Avatar for letmec

I love graphics programming through C & C++, I have worked a lot, but i am still very far away from bmp files, Can any one tell me how i can access bmp file through C, C++. Thanks in advance :rolleyes:

Member Avatar for dalaharp
0
609
Member Avatar for garlam

I wrote this shell script: #!/bin/sh PATH=/sbin:/usr/bin:/usr/sbin; export PATH echo "Content-type: text/html" echo "" ROOT=/app/webchecker/controller FILEIN=$ROOT/log/servcheckerstat.txt FILEDOWN=$ROOT/bin/down_ FILEOUT=/tmp/wcHtmlStat.$$ $ROOT/bin/servckhtmlstat W $FILEIN $FILEDOWN $FILEOUT $QUERY_STRING cat $FILEOUT rm -f $FILEOUT exit 0 servckhtmlstat is a C program which do all the job and write the file. The problem is: the shell …

Member Avatar for Comatose
0
109
Member Avatar for Index

Hello everybody, I have a problem with libpng library, I am trying to use my own memory allocation routines. So, as stays in doc, I define PNG_USER_MEM_SUPPORTED and want to use png_create_read_struct_2() instead of png_create_read_struct(). png_create_read_struct_2 takes following parameters: [CODE]png_structp png_ptr = png_create_read_struct_2 (PNG_LIBPNG_VER_STRING, (png_voidp)user_error_ptr, user_error_fn, user_warning_fn, (png_voidp) user_mem_ptr, user_malloc_fn, …

Member Avatar for Index
0
177
Member Avatar for evil_dude_01

Hello, Can someone please tell me how to display an autonumber in a text box. I am using the ado control to connect to my database. I am doing a small project for college in which i have to create a customer record and blah blah etc. When i press …

Member Avatar for evil_dude_01
0
160
Member Avatar for kendallniall

could someone please help me out im looking for an example application that will search windows for a signature e.g a program that will find a keyword when i type it in and search the windows system! if anyone could help it would be great..

Member Avatar for Phaelax
0
139
Member Avatar for nicki7823

I did most of this program, but it has a couple of problems. Every time I get to the end of the program the Highest numerator is always five regardless of what I entered. The next problem is the Highest denominator entered does not show up. Instead a lot of …

Member Avatar for Dark_Omen
0
147
Member Avatar for kloony

I have the following list-processing interface which I save as .h file. I don't see anything wrong with it but everytime I compile, it says that the declaration in line 2 is missing ";"..........can anyone please help? my code is: typedef struct node *link; struct node{ itemType item; link next; …

Member Avatar for Narue
0
120
Member Avatar for mad_cow01

Hi i'm new here and tommorrow i'll be doing some project in computer science so i need a template/outline of a triangle.h file, thanks in advance ; )

Member Avatar for 1o0oBhP
0
129
Member Avatar for trixiestrat

I got this assignment for school. I figured out most of it, but one part is really stumping me. The assignment tells you to have the user enter in a dollar amount between $0 and $100, and to give an error message if it's out of the range. I figured …

Member Avatar for Narue
0
143
Member Avatar for Robson85

Hi Iv'e almost completed this programme built for calculating a pilots fuel consumption on various flight distances. I have done most of it at college and now tried to execute it at home and there is an error. I am unsure whether it is just that my compiler is a …

Member Avatar for Dark_Omen
0
189
Member Avatar for Kate

hi there. I've been battling with this for a while now, and really need some help!! I have five files full of 100 numbers each, they are labelled 1.txt, 2.txt up to 5.txt. I want to read these files in and put them all in an array: `files[5][100]` so I …

Member Avatar for Chainsaw
0
323
Member Avatar for compeat

hi! I have a problem about "[B]range of data types[/B] ".I work on program that require long digits .in "boland c++ 5.2 's help" range of long is [B]4294967295[/B] . but why this sample program doesn't work??!! [CODE] int main(){ long a=4294967295,b; b=a; return 0; }[/CODE] CAN YOU HELP ME? …

Member Avatar for Dave Sinkula
0
564
Member Avatar for BrownSuga

I have the code done for the rest of my program but I can not get the asterisks in my histogram to print can you help?? Thanks In Advance!! Here is a copy of my code (driver and class). public class diceSimulation { public static void main(String[] args) { char …

Member Avatar for jwenting
0
801
Member Avatar for xxraveteddyxx

I need some free-ware compiler information..i just need a c++ compiler thats decent..anyone that can help please let me know...thanks. :eek:

Member Avatar for eastgate
0
84
Member Avatar for mr_mooz

Hi I have an array of float and i need to mask the values. I want to be able to get arr[x] and arr[x+1] and then mask them and recombine them results in a radom order (im doing an evolutionary algorithm!) But i cant get the masking to work, it …

Member Avatar for Dave Sinkula
0
212
Member Avatar for gidgetcracks

[COLOR=Indigo]I am making a Game called HangMan. :cheesy: I notice someone else has also but mine is due this Monday Comeing. I am having trouble with my Arrays. I keep getting am error :mad: saying "Index was outside the bounds of the array". I have been trying to fix it …

Member Avatar for Comatose
0
163
Member Avatar for scoobie

hi, i was wondering if anyone could help me. i'm new to php and i'm having problems setting up a session. i have a login page (page1) where the user inputs their username and password and when they click the submit button they are brought to another page (page2) where …

Member Avatar for scoobie
0
103
Member Avatar for scoobie

Hi, i am using mysql and php. i was wondering if anyone can help me. when customers login a form with thier details which are stored in the mysql database are displayed. when they change a detail such as their address and click on the update button their details are …

Member Avatar for scoobie
0
211
Member Avatar for eddiesvoicebox

Hi all, Firstly please accept my apologies if i am breaking some kind of forum rule by posting this question here. But i am hoping that the same principle will apply for VB as for VBA on this one. I have a small issue with a date format in my …

Member Avatar for mnemtsas
0
147
Member Avatar for Asif_NSU

I have written this program to convert a decimal number to a number of any base. The resulting number has been put into an array and so can be of any size. But the decimal number that i take as input is limited by the range of int. What i …

Member Avatar for Asif_NSU
0
187
Member Avatar for nico

hi everyone am trying to write a very small interactive program that 'thinks' of a number in the range of 0 to 99 and asks the user to guess it , problem is when i compile it (using devc++) I get errors (six to be exact) I don't know what …

Member Avatar for arifilipe
0
3K
Member Avatar for BIT_SAIKAPIAN

Hi everyone, I have done BIT, but in other words I completed it just to have degree not as a career. But now I am very much interested in it to take it as career. I have set a goal of 6 months to do best learning c++ and java …

Member Avatar for jwenting
0
116
Member Avatar for crq

in working on this pgm, i have made notes to myself ... questions that keep popping up. if anyone wants to clarify some of these concepts for me .... 1. are TRUE and FALSE keywords? if a method says return (TRUE); will it work? 2. const on END of method …

Member Avatar for 1o0oBhP
0
157
Member Avatar for inderjeet singh

HI, I m using VC++ editor for C programming and i want to move cursor one row up in my terminal window. I have tried interrupt using Inline assembly but when i execute the programm Error comes "access voilation " . I m using Windows XP OS. What should should …

Member Avatar for 1o0oBhP
0
134
Member Avatar for koteeswara

hi all ! please let me know how to extrapolate a 2D image to expand it. thanking you in advance.

Member Avatar for 1o0oBhP
0
228
Member Avatar for BeyerCorpuz

[SIZE=3]PHP Saving[/SIZE] I just bought a book to learn PHP/My SQL. It does not thoroughly explain how to install PHP an SQL on my server( However I did use the accompanying cd to start download of files). My problem is , after I write source code in notepad and save …

Member Avatar for zippee
0
149
Member Avatar for isundby

Good day to all. First off, let me say that if this is the WRONG place to post such a thread, please let me know, and I will ensure that I get things right from this point on. A bit of background .... I am an archaic (20yrs +) Mainframe …

Member Avatar for isundby
0
154
Member Avatar for matt_5104

How do I code an IF loop to perform the following?: if a > X b = //a value// else b = //another value// Thanks!!

Member Avatar for pajac
0
161
Member Avatar for AQWst

I created a program, which I will include the source below with a problem. It appears to compile fine, but I get an error when I try to run it. The error is: "Exception in thread "main" java.lang.NoSuchMethodError: main." What does this error mean? [CODE]/* This program will allow the …

Member Avatar for AQWst
0
239
Member Avatar for JWINVT

Greetings, I am new to this site and am in hopes that someone can help me out with a problem I am having. I have a calendar that was built by someone else that I need to slightly modify. The guy who built this calendar is an asp genius but …

Member Avatar for JWINVT
0
187
Member Avatar for frustratedkim

Somehow my code keeps getting extra spaces at the end after the last ?> No matter what I use, or what I do, I keep getting it and it is causing function errors. Any suggestions?? Thanks!

Member Avatar for zippee
0
181
Member Avatar for Acidburn

Hello, Can anyone point me the direction of getting a linux verision that comes with a .cpp compiler? so you enter gcpp filename.cpp which compiles the code and runs it in a konsole? I've got mandrake and Suse siting here.... Cheers

Member Avatar for kc0arf
0
188
Member Avatar for nanosani

I am doing my final year project in j2ee. I am making an online health management system ... it'll be like [URL=http://www.curemd.com]this[/URL] Nowadays I am documenting the project .... The question is that are there some useful documentations over the net or you people have ? I want some professional …

Member Avatar for nanosani
0
157
Member Avatar for seeplusplus

Hello, i have to write a program using C++ that will store 3 characters into 3 variables, and using pointers i have to rearrange the order in a function. so if c1, c2, c3 have the value 2,4,6....using pointers i have to switch the values of c1, c2, and c3 …

Member Avatar for Chainsaw
0
143
Member Avatar for crq

ok, here's the scenario (and maybe i will finally get this assignment finished) ... i have a class IntArray. at the moment i have it all in a .C file. i have a little main section that has minimal testing in it (will do something more formal later). my prof. …

Member Avatar for crq
0
814
Member Avatar for dazednconfused

I am trying to teach myself C# and I have run into a problem with one of the chapter assignments. The problem is as follows: Create a class named City. Objects will be instantiated from this class. Include fields that hold the City's name, its state, and its population. Include …

Member Avatar for dazednconfused
0
141
Member Avatar for dazednconfused

I am trying to teach myself C# and I have run into a problem with one of the chapter assignments. The problem is as follows: Create a class named *City*. Objects will be instantiated from this class. Include fields that hold the *City's* name, its state, and its population. Include …

Member Avatar for dazednconfused
0
158
Member Avatar for crq

can anyone help me with this one? i am getting a syntax error that reads like this: lab2aa.C: In member function `bool IntArray::operator==(const IntArray&) const': lab2aa.C:80: syntax error before `}' token my size() method works (tested it before i put in these operator things) ... and self is *this in …

Member Avatar for Narue
0
154
Member Avatar for crq

i have been working on this all DAY LONG. i am new to C++ and Unix and need to write this little tiny code in both. i am tripping all over myself with references and dereferences and operator overloads .... if anyone could help me decipher what my problem(s) are, …

Member Avatar for Narue
0
156
Member Avatar for cutenature

I am trying to free a memory in the main which has been allocated in a sub-function. Is this possible and am i doing this in the right fashion. The code sample is: char* SubFunction() { char *ptr= NULL; char **values; ptr= (char *)calloc( 100, sizeof( char ) ); if(ptr== …

Member Avatar for Chainsaw
0
102
Member Avatar for oldroad

I need to extract the middle numeric number. It works for two order of numbers, for example: when I enter the numbers in this order 12, 14,6 it works...when I enter in this order 12, 6, 14 it works as well, but when I enter in this order 14, 12, …

Member Avatar for oldroad
0
1K
Member Avatar for DiscJockey

Hello peeps i need some help for a template system. i want to make a script so when a user submits a article/tut it automaically sends me a email with a link in it + plus the submited article/tutorial when i click the link it automatically puts the tutorial into …

Member Avatar for zippee
0
125
Member Avatar for raywood5

I am building a links pages in asp using an Access db. Some of the pages display correctly. Some of the other pages give me this error: The page you requested, has produced an error An email alert has been sent to the web site administrators regarding this error. In …

Member Avatar for zippee
0
113
Member Avatar for oldroad
Member Avatar for oldroad
0
58
Member Avatar for JoBe

Hello ladies and gents, I'm trying to write this little program in wich I have to enter by keyboard a certain amount of numbers (int) not floating points, and the program must count how many [U]different [/U] numbers I have entered, when the amount is equal to ten, it must …

Member Avatar for JoBe
0
858

The End.