199,114 Archived Topics
Remove Filter ![]() | |
Hello, My question is about an HTML form using "POST" method. I'm using a simple HTML form, from which I get back my variables with this code : sLastName = Request.Form.Item("LastName") This work correctly. But when the user fill the blank field with a string containing " ' ", I … | |
I am trying to remove a function call for a pop up window because so many people have pop up blockers. The line below shows a call to have msg.asp..... shown in a pop up. However i want it to just be a normal page. Is there a way I … | |
I used to use a web gallery on my site called iGallery by Blue Collar. Well I changed from a Windows Server to a Linux server and want to find something that was kind of like the iGallery. Can anyone recommend something? Or can they give me a few sites … | |
Hi there, I want to center the caption of a form and make the caption bold. Can anyone show me how to do this... Many thanks.... Newvbguy | |
Hi! I'm really new to all this so please excuse me if I'm not providing enough information for anyone to answer my question. I'm getting this error: [code] error C2079: 'Playlist::PLarray::playlists' uses undefined class Playlist [/code] and it's referencing a line in my PLarray.hpp file-> see *** PLarray.hpp: [code] #include … | |
I have to write a program where the input is a Boolean Expression and the ouput is the corresponding sum of minterms for that particular expression. My idea is that i need to convert the infix boolean expression to a postfix expression. From there I need to construct the truth-table … | |
:eek: I have been working on this for hours now... I am trying to enter a string and then count the words in the string. Only problem is my book is no more than a paper weight, and other online areas are kinda confusing. Can someone point me in the … | |
I have created a GUI Java menu using a pull down menu in which I want to have the date and time show up. I am currently getting null for my time value and I think it is because I am not refreshing this each time I calculate my time … | |
(for reference i am in c++, windows, borland 3 compiler)hey guys here is what i want to do, i am trying to save a file using <fstream> but want the player to pick a name to save the file as, so to do that i have to modify the string … | |
[code] Mode13h The Beginning of 3D/2D Graphics [/code] [B]Intro[/B] Lots of people want to know how to do graphics but find most APIs like OpenGL, DirectX etc too complex for a beginner, especially as they involve GUI code which follows a different approach from the simple dos programming Here, I … | |
I'm trying to write a program that mimics a calculator where the user inputs two integers and the operation to be performed. Then I want it to output the numbers, the operator, and the result. I need to use a switch statement and I'm very confused on what to do … | |
hi ppl, I was wondering why my JDK 1.4 gives error for not having any such method for dispose(); if i have button b1 on my applet it shud quit the applet when i press the button b1........but the error is shown......what would b possible solution....? my function : public … | |
Can anyone help me with an if statement? My script looks like this. $results= mysql_query("SELECT * FROM customers WHERE username='$user'and password='$pass'",$db); if ($myrow = mysql_fetch_array($results)) { do { [COLOR=DarkOrange]I WANT THIS TO GO TO "details.php"[/COLOR]} while ($myrow = mysql_fetch_array($results)); } else { echo "Sorry, Incorrect Username or Password!"; } I'm … | |
We have a homework problem that we had to modify. we had to make the user input their name and a radius to compute the area. The program was supposed to ask the name before it asked the radius. I have two problems i can not get the program to … | |
how cand i put sound in my opengl aplication and how can i manage volume for aplication only if u have some suggestions pls write me | |
Can anyone help me with the script to show records on a database based on the input of a text field on a form? | |
hi-i hope someone can help me.. I am creating a linked list of nodes, I am trying to insert a new node alphabetically by strcmp the name field. I keep crashing at this point... you will see in my code below, I can add to the front of the list … | |
ok here is my question, i use borland c++ builder 3 and in a book i found an example for a graphics.h program which is supposed to work but i have heard that this only works in dos mode not in windows (which i am running in) is there another … | |
Hi, I don't want anyone to do my assignment for me, I just want some help. I'm a student in Suriname, formerly Dutch-Guiana. My teacher decided that we should learn how to write basic programs in Turbo Pascal to improve our "problemsolving skills" and for so far things have gone … | |
I am new at programming and need help: #include <iostream> #include <cmath> using namespace std; int main() { int a, b, c, area, tri_area; area = tri_area(a, b, c); if area (area>0); cout << "Area is "<<area<<"!"<<endl; cout << " Those values tri_angle " <<endl; } double tri_area (double a, … | |
Hello ladies and gents, I'm starting on the next exercise, but I'm puzzled a bit and was wondering if any of you might help me with this. I have to enter four integer numbers, non negative and smaller then 16 into ONE variable int x, now, the thing I was … | |
I am having a problem with inputs. I can get the input using the cin command but i want to use the input to open a file with the inputs name ie the user types in FRED. cin>>name i want to open a file called fred.txt ifstream in("name.txt"); the above … | |
i keep getting error messages when i try to build my program: EmpType.obj : error LNK2001: unresolved external symbol "public: __thiscall SortedType::SortedType(void)" (??0SortedType@@QAE@XZ) EmpType.obj : error LNK2001: unresolved external symbol "public: void __thiscall SortedType::ResetList(void)" (?ResetList@SortedType@@QAEXXZ) I also get the same error for InsertItem,GetNextItem,DeleteItem,RetrieveItem,LengthIs any help in understanding this would be … | |
| |
Hello all, im writing a c++ program to interact with an SQLServer database. my code will run a query and retrieve data fine. for example SELECT data FROM TestTable returns all strings from the data column. but when i run the following statement INSERT INTO TestTable (data) VALUES ('HELP') i … | |
The assignment is to read and keep records and perform statistical analysis for a class of students. This is what I have done so far,then the codes can show the information(Id,4quizes,exam) of each students on screen. But I need to show 3 more things (The Highest ,The Lowest,The Average of … | |
I have a fairly simple C++ program problem. This program is suppose to read in two sets of coordinates (x,y) and report the magnitude, distance, and where on the plane the points lies. Here is my code so far the whole thing works except for the location function. We haven't … | |
After days of searching in the web i found out that One cannot create menu and tabs in VB... You need to use a Java script or HTML to do this task.I got some examples to start with and in couple of these examples i got something like user controls... … | |
I would appreciate any input anyone might have for the following problem: Describe the worst-case time complexity, measured in terms of comparisons, of the following searching algorithm: (x: increasing integer a1, a2, a3.... an) i=1//left end point j=n//right end point while (i<j) t=[ (i+j/3) ] begin if ( x < … | |
I keep getting this error message and I cant figure out how to fix it. Im not sure whether I have been trying to fix it for to long or somehting that maybe im not seeing the problem: ItemType::ItemType' : error in function definition or declaration; function not called it … | |
Hi, I'm developing a GUI with several forms, one of which contains a jLabel that displays a JPEG image of a graph as it's icon. How do I go about plotting a simple 2d curve on that image from a set of data? I know of drawLine etc, but how … | |
Uber newbie here. Have downloaded three different form scripts but none of them will actually send the email. Using yahoo small business standard hosting which says they support php. The form appears to work, it refers to the correct page, but no email. I don't know how to enable logs … | |
I have a couple of questions about the main function. Do you need to put the ; after the last }? Do you need to put a return statement before the last }? If so, what number do you put in the (), i.e. return (0), return (1), etc. What … | |
I understand I can write a statement like: if==12 or if <12 but how do you write an if statement for something like, A = 90-100 B = 80-89 How do you write the if statement for that? My java book doesnt tell you how to write an if statement … | |
i can't for the life of me figure out how to write int num; num = rand() %. ... i need a range of 0 to 1 I want to store either zero or one to num. That is my goal. plz help (i'm a noob obviously) | |
I want to draw a surface in Java3D and I need to set bounds (using BoundingBox, BoundingSphere, BoundinLeaf or something else) because I'm working with infinite surface (in some cases I devide with number that is very close to 0). Computer automaticly sets bounds, but I need something else (for … | |
hey i am making a game and decided that i want to put a load/save option in it and was wondering if anyone here knew how to do this, (the program has to be able to close, open again and load the progress from before). I am running in windows … | |
I want to install my own php script into my server (shared) but the moment I test my page, the following errors occurs. [CODE]Warning: main(): Unable to access ../includes/global.php in /home/linkme2u/public_html/paidmail/site/index.php on line 3 Warning: main(../includes/global.php): failed to open stream: Permission denied in /home/linkme2u/public_html/paidmail/site/index.php on line 3 Warning: main(): Unable … | |
Is it neccesary to ever define more than one output or input handle in a Win32 Console program? | |
Just for fun, I threw this together by modifying and adding to a simple language definition posted here recently. Since everyone hates me, I'll give you a chance to snipe at my first draft. :D The code is long enough to be an uncomfortable post, so I'll attach a zip … | |
I'm getting ready to make a database of my baseball cards and wanted to know how would I go about making a searchable database of my cards? | |
My homework assignment is to implement a class that represents a set of integers. Each set object may contain up to 100 integers. The main program will allow the user to create up to 10 different Set objects and perform actions on them. Actions such as return the interaction, union, … | |
Okay, I'm trying to do my homework, but my code isn't doing what I want it to. What I'm trying to do is have the user enter a file name and then the program will output the number of words in the file. It works fine the first time through … | |
[CODE][#include <iostream.h> void initialize(int& coke, int& pepsi, int& dry, int& hires); void sales_type(char& sale_type, int& brand, int& quantity, int& coke, int& pepsi, int& dry, int& hires); //void clearline(); void purchased(int& brand, int& quantity, int& coke, int& pepsi, int& dry, int& hires); void sell(int& brand, int& quantity, int& coke, int& pepsi, … | |
I declared mNodes as a String Array and try to assign a value to it with sTemp which is a String as well...but there's an error occurred as: "array required, but java.lang.String found". I don't understand why. I need some suggestion please. Thank you. String sTemp; String mNodes[][] = new … | |
Hi, I am having problem with the following code.This is on a 32 bit system. The problem statement is: /* isLess - if x < y then return 1, else return 0 * Example: isLess(4,5) = 1. * Legal ops: ! ~ & ^ | + << >> * Max … | |
I am ready to start using MSDE. When I run the setup for MSDE it tells me I need to set the password. I have read the "help" on the MS web site but it is still not clear to me how I setup the password or anything else so … | |
[b]Declaring Objects[/b] When one works with classes, each instance of the class which is defined is known as an object. C++ is an extremely object oriented language (perhaps not so much so as Java, however). In OOP, or Object Oriented Programming, one can easily perform multiple tasks on objects which … | |
Hello everyone! I am planning to build a database application for my school to maintain school lockers. However, I have a few questions regarding that application: [list=1] [*]Is it possible to use access databse with C++? [*]Is there anyway to authenicate a user with C++? [*]How shoud I go about … | |
Hi, I have 2 variables defined in a code module as public which are used in the same 3 sub procedures. While the first variable is ok, when I debug, the second variables comes up "variable not defined"! Can anyone help? PS I'm a researcher using VB to design experiments … |
The End.