199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
I created this 2d array consisting of morsecodes: char m[57][6] = {".-..-.", "", "", "", "", ".----.", "-.--.-", "-.--.-", "", "", "--..--", "-....-", ".-.-.-", "-..-.", "-----", ".----", "..---", "...--", "....-", ".....", "-....", "--...", "---..", "----.", "---...", "", "", "", "", "..--..", "", ".-", "-...", "-.-.", "-..", ".", "..-.", "--.", "....", … | |
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 | |
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 … | |
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 | |
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: | |
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 … | |
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, … | |
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 … | |
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.. | |
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 … | |
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; … | |
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 ; ) | |
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 … | |
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 … | |
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 … | |
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? … | |
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 … | |
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: | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
hi all ! please let me know how to extrapolate a 2D image to expand it. thanking you in advance. | |
[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 … | |
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 … | |
How do I code an IF loop to perform the following?: if a > X b = //a value// else b = //another value// Thanks!! | |
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 … | |
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 … | |
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! | |
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 | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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, … | |
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== … | |
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, … | |
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 … | |
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 … | |
How do I extract the highest number of 3 user inputs in C++? thanks oldroad :) | |
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 … |
The End.