64,152 Solved Topics
Remove Filter ![]() | |
Can someone please help me with this problem? I have tried many examples, but none of them work correctly. I am creating a guestbook for my website, using ColdFusion 8. The guestbook works great as far as adding new entries to the database and displaying them. The problem is trying … | |
Hey guys :), Thanks for any help ahead of time. I'm writing a program that would take the input scores of seven judges and throw out the highest and the lowest. [code]#include<iostream> using namespace std; int main() { float a=0, b=0, c=0, d=0, e=0, f=0, g=0, score=0, difficulty=0; cout << … | |
I am very new to C++. I have to write a program for class that reflects the game of craps and I'm kinda stuck at this point. Any help someone could give me would be HUGELY appreciated. The guidelines we were given are that the program should execute 10000 times … ![]() | |
Hi all, Im trying to create a trigger but keep getting a syntax error. Basically the trigger must be created after a insert on table_1 and update another table's fields with 1 depending on what was inserted into table_1 ( apple, orange, banana, grape ) CREATE TRIGGER trigger_name AFTER INSERT … | |
hi. i am kind of stuck and i need some help. i have a dll and a .cs file. i have opened the .cs file and it contains a class. i asume that the class and the dll works together. sort of like a cpp header file and class file. … | |
I need to create a C program that goes like this: The user wil enter the number of seconds that the stopwatch should run starting at the equivalent time in hours, minutes and seconds of the input. The stopwatch runs until the time becomes 00:00:00. I don't want you guys … | |
Ok I figured everthing out except: 1) when it asks for my input it asks like this Enter first name: Enter last name: Enter amount:-it puts it all on the same line. Also when I run it it puts Sept. on the in the right spot but it puts 30, … | |
I'm trying to get totCust and totRev which are declard in videoBonanzaForm to show up in the summaryForm.textboxes I have them declared as friends; i've even tried assigning `me.textbox.text = "1"` and nothing shows up still when I click the Summary button (in videoBonanzaForm). I open the summary form with … | |
I need to be able to pass the data I enter into my check. I do not think I have my check set up right though. I will post my code. [CODE]#include "stdafx.h" #include <iostream> #include <string> using namespace std; string todaysDate; string firstName; string lastName; double amount; void enterData(); … | |
Hello, i'm still trying to learn C, and I have a new question ;). I want to declare a struct, and use a function to manipulate the entries. If I change the values within a function it's ok; however, when i access the members outside the function, they're not defined … | |
This compiles, runs fine, and generally works, except for one thing. The contains() method doesn't work properly. For some reason table.contains(key) isn't returning the right value, which is thereby messing up the insert() method. [code=java] public class HashtableDictionary implements StringDictionaryAlgorithm { static final boolean debug = false; Hashtable table = … | |
I am using Turbo C++ for Windows, version 3.1 at home. At school, we are using a similar version (maybe 3.0 or 3.1), but with a more blocky display. (with block cursor and stuff. my one at home looks more... modern) [EDIT] The school version is Turbo C++ 3.0, possible … | |
I have been using the asp:Menu control for a while now but have only just started to use images with it. When i click and navigate around the site it works fine but the problem is that when i click the link for the same page that i am viewing … | |
![]() | [code] <?php $smtp_server = "mail.webhostasp.com"; $port = 25; $mydomain = "domain.com"; $username = "info@domain.com"; $password = "password"; $sender = "info@domain.com"; $recipient = "no-one@domain.com"; $subject = "Test"; $content = "Bla bla bla"; // SMTP connection $handle = fsockopen($smtp_server, $port); fputs($handle, "EHLO " . $mydomain . "\r\n"); // SMTP authorization fputs($handle, "AUTH … ![]() |
Hey, I've taken over a php based website from another developer (ugh!)... The website uses two include files to display ads down both sides of the page. Now the client wants these ads to display in Random positions.... So, Its easy enough to take the ad text and place it … | |
I want to construct a web page with language flags. The user clicks his flag and the web page is then displayed in his language. In VB6 I would achieve this with a resource file. Does HTML, PHP or CSS have something like that or must I create a web … ![]() | |
I need a head-up on this program....i really don't know where to start....however for section one, i'm guessing we'll have to use for loop from 1000 to 9999...because of the fact that they show the range of the samllest to largest 4 digit #'s. In section two I guess we'd … | |
Hello, I have 2 different websites/domains on 1 IP. The problem is that whenever stuff is uploaded, it displays in both sites. Example: site_1.com/page.php = site_2.com/page.php I created a directory for each site. Example: site_1.com/site_1 and site_2.com/site_2 . I want to create a script that resides as the index of … | |
Hello guys,does anyone here know how to make tabs with php?Could you please post some tutorials or links for this? Thanks.. | |
So I've been trying to make a VERY simple calculator program, but I tried so many things, and all of my methods failed. I've been at this for weeks, and I'm pretty frustrated up to this point. Nothing calls back on the entry box correctly, and although at certain points … | |
hi all, I am using a datagridview to display contents of a xml file. say i have a xml file like this. <xml version="1.0" encoding="UTF-8"> <maincategory> <cat1> <title>Category1</title> <link>http://www.w3schools.com</link> <description><img src="http://static.ibnlive.com/pix/sitepix/09_2007/flames_ramsetu90.jpg" >some description</description> </cat1> <cat2> <title>Category2</title> <link>http://www.ibnlive.com</link> <description><img src="http://static.ibnlive.com/pix/sitepix/09_2007/rahul_gandhi_white90.jpg" >some description</description> </cat2> </maincategory> initially i display only the title of … | |
I have to write a program for an online class that accepts data to the function enterData() and passes it to printCheck to display. I am new to C++ and since it is an online class it is hard to get help. I have to compose a check and be … | |
I am working on a java assignment for my cs 111 class and I keep getting an missing return statement error, and have tried to determine the error but cannot locate it. I am sure that I have the right set of curly braces. My code is shown below. If … | |
Good day: There have been similar posts to my question...but i don't see what I'm doing wrong. Our professor wanted us to use a switch/case statement, we started transversing a string....The assisgnment : Write a program that will read in a one line phrase from a text file named “vowels.txt”. … | |
I need to figure out how to bind data and call it back anywhere on the page. Basically, this is what I am trying to do. Keep in mind that I am an asp programmer and am very new to ASP.NET. I have build a custom login page that works. … | |
Hello all, is there a way to cancel or abort the execution of current actionPerformed? My problem is that, when the control is passed to the listener method, i perform checking if certain value is null, if so, display Error Msg using JOP. when user click OK, then the actionPerformed … | |
Good day guys: The assignment is : Write a program that will generate an unknown (between 93 & 139) count of random numbers whose values fall between 147 and 206. Calculate the average to 2 decimal places and the standard deviation (3 decimal places). On the monitor, display only the … | |
I have a project in C++Builder. It invokes Application->MessageBox in several files. I recently upgraded to C++Builder 2007. The MessageBox calls that were already there seem to work OK, but those I have added since upgrading all give an AccessViolation at Run time. The Call Stack looks like this: :7c812a5b … | |
Hello people, How can i display the JLabel text using external file.. When user click a button, a file is read and retrieve and will be displayed at the label.. what I did was: 1) Declare all the necessary file IO 2) use the useDelimiter() method to read the file … | |
I have a project for class and I have an error coming up that I don't understand. I've written code the same way I always do, and haven't found that I've done something oddly, but I still get an uninitialized local variable warning. Here is my code: [code] include <iostream> … | |
Hi, I'm having trouble to get the value of a certain tag which seems have a complicated data structure. Object: To pull data from a data and print it out to a report file. Problem: Getting the data from array of hash and pass it to a hash of hash … | |
i'm trying to read and understand a .cc (c++)file, i want to know what does ok_flag(false),time_range(false),prefix() do after ":" ? I did know that ":" was being used for class inheritance but what is ":" for in the bleow code? [code] ClassA::ClassA(const char *db) : ok_flag(false),time_range(false),prefix() { //.. Constructor statements … | |
I am totally new to java, but i understand java is the appropriate for my project. i am not sure where to start? and how to use the java packages. I know programming but JAVA is my first time approach. Can any one guide me on the visualization java tools? … | |
The following is my "inFile": [code]UEAALEUE RIXETOHI BACOZOEI DIUEAOAU ZIKOFIMO RESUZEAE IIJEHUMO EEQINOXO TAOEKIBI RUQICIGU ZIWAREWE HIDIFIFO MOIACALA MEJIEACO UAPEUUQU YISOZAZO KENIDONA EEVIYOHU SEJEXEYA OESEQUFU NUJECAUE RAKAWUME NISIMAKE MEPIBADO TAUELAZI IIEACINU IITOGIIE GIEIFEVU NIOUQELU IIVOFEHI TOKUCORU GUQOEOJE HOBUUIXA HOVEDAGO JEROMAFA TOLIOELU QIGOIIAA TEDEIUOA COZOLELA YOHUZUZA QUNACAKO POSAEIGA JECAMOPE VAKEKAPA LEJEVINE … | |
[code] [COLOR=#000000]] Dim GETWORD[/COLOR] [COLOR=#000000] Dim GETLINE[/COLOR] [COLOR=#000000] Dim ARRAYNUMBER As Integer[/COLOR] [COLOR=#000000] Dim itmx As ListItem[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000] nFileNum = FreeFile[/COLOR] [COLOR=#000000] Open "C:\Documents and Settings\Reece\My Documents\I.T\Visual Basic\Reece\client.db" For Input As nFileNum[/COLOR] [COLOR=#000000] If Input(LOF(nFileNum), nFileNum) > "0" Then[/COLOR] [COLOR=#000000] GETLINE = Input(LOF(nFileNum), nFileNum)[/COLOR] [COLOR=#000000] GETLINE … | |
I'm hoping this is the appropriate forum for my situation. I'm trying to populate a form on a .NET server with data from a form on a different server. Using SOAP::Lite we've managed to get this code working: [code] use strict; use warnings; use SOAP::Lite +trace => 'debug'; my $name='Trudge'; … | |
Hi, I have created a database using Access 03 and VB, and I will be letting some people use it shortly. I would like to create a way in which the program cannot simply be copied onto another computer. I was thinking of using VB and referring to some system … | |
I found this very nice tutorial on what Python generators are and how they can be used: [url]http://www.neotitans.com/resources/python-generators-tutorial.html[/url] I had a difficult time with the other tutorials out there because, funnily enough, they seem to assume that you already know what generators are before they try to teach you about … | |
I want to create an application which passes a text message to a server trough an ssl port I couldn't use curl and I need to encrypt using public key. I expect anybody to help me. Thanking You | |
Hi, I am trying to write a program that tells the user the ammount of digits that are in a number for multiple numbers. I have it to the point where it will tell me the digits of the first number but it wil just write it an infinite number … | |
>How can i convert a number to binary in c++ If you stare at it really hard, things will start to blur and when you turn your head, it'll start to look like binary in your peripheral vision. | |
I am working on an image map rollover...its basically done..but it isn't working in Firefox and I have an error in IE7, however it is still working in I.E.7...was wondering if somebody could take a look and see some glaring error that I am making in my code...It's a fairly … | |
I have created and populated an Excel workbook with 3 worksheets. Sheet1 contains data; Sheet2 and Sheet3 are empty. I massage the data in Sheet1 and enter the output into Sheet2. I would now like to delete Sheet1 and close and save the Excel file. I am embarressed to say … | |
I have an html form containing the usual text boxes and a checkbox. When submitted to the server the user receives both an email acknowledgement as well as an html "thank you" page, both delivered by a perl cgi script. Depending on whether the checkbox is checked or not on … | |
Hi, I want to open a text file and read the data then sort it via date. i found some stuff already that helps but im new to this and if anyone point me in the right direction it would be very appreciated. this sample app here [URL="http://www.c-sharpcorner.com/UploadFile/mmehta/OpeningandViewingTextandImageFiles12082005060630AM/OpeningandViewingTextandImageFiles.aspx"]http://www.c-sharpcorner.com/UploadFile/mmehta/OpeningandViewingTextandImageFiles12082005060630AM/OpeningandViewingTextandImageFiles.aspx[/URL] opens the … | |
Hello ladies and gents, It's been ages since I posted here, have been doing some coding on and of and I was wondering about the following, beneath is a test I made in trying to use the new operator in combination with a string, first a string literal, second time … | |
i know how to create a dictionary but how do i search for a pattern in a file and then create a dictionary based on the search | |
OK, as you can probably tell from my code, I am trying to design a program that will keep requesting a password until the right password is entered (using a Do While Loop with char instead of int). this is my code: (this is one of my first solo pieces … | |
hi all, how to detect program is running in my computer. etc: i have open my program application name is myProgApp, in computer jhon, so if i open again the program that in computer jhon will show message 'file already open' . thanks, for your help. | |
[code] System.out.println("Enter new name: "); String stdName = input.readLine(); st.executeUpdate("UPDATE Customers SET stud_name='"+stdName+"' WHERE stud_ID='45698'"); [/code] Ok, this is my problem, this command should update\replace the existing column stud_name with a new name. But it wasn't able to replace it. There were no sql errors. Did I miss anything? Or … |
The End.