64,152 Solved Topics
Remove Filter ![]() | |
For my homework assignment, I'm supposed to get five numbers from a user and print the highest one using a loop. I'm not sure what to do. Any suggestions? | |
Ok i apologize in advance for my ignorance but i have just started learning c++ and my first program went off without a hitch now this one that im doing completely on my own is giving me some hiccups. The best i can tell is that im just having some … | |
hi, i want to link to dll files in my project. I have the header and implementation files and object library file to that dll file. I don't know how to call the functions out of the dll file. I am using Visual studio.NET C++ IDE. Any help will be … | |
Hello, I need to overload my comparison operators such as == and < so that I can use things such as std::sort and std::unique on a vector of some user defined classes. I know how to overload them globally. The problem is I need to overload these operators as member … | |
I have a simple program (code follows) that circle_shifts an array, but I need it to be able to quit when the user enters a character, (ex. q). Where do I start?[code]#include <stdio.h> #include <stdbool.h> #include <math.h> int printAr(int n[], const int SIZE){ unsigned int i; printf("Array contents: "); for( … | |
I can get the code to compile, and essentially do what I want it to. The problem I'm having is in my getData(int choice) function. I want the function to keep asking the user to enter a valid number (1-8) if they enter something else. If I put an if...else … | |
Hi i have to complete a program which do the following If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23. Find the sum of all the multiples of 3 … | |
I am trying to delete what is written in a textBox like this in C++ .NET. When pressing the button the text/Numbers I have written in the textBox doesn´t deletes. I beleive 0 is the index from where to begin the delete wich should be from the first character in … | |
Hi all, I am looking for an ASP.Net 2.0 training (online/dvd/cd) - any recomendations? I am in the UK and have some ASP.Net experience. I am not looking for a class to attend, or lectures etc. I am looking for something I can complete either online or from a DVD … | |
Hi, I have an application set to run in a .bat file, and would like to know what I can do to hide the command window that comes up with the application when it is executed, but still have the application running. | |
hiii,,,i m using asp.net 2005 and sql server 2005 i m using gridview and sql datasource,,whn i debug the application i get ths error:::: ________________________________________ Format of the initialization string does not conform to specification starting at index 0. ___________________________________________________ can ne1 help me out with ths error,, thnks in … | |
hi everyone....... i am writing a program where i have 2 ovals and i want my first oval to appear then after 2 seconds the second one...but am failing in doing this. can anyone help me to do this please. thank you in advance here is my code [ICODE] from … | |
hi, i have 1 question ebout this file : in the program , when we include this file? #include<dos.h> #include<graphics.h> | |
For my homework assignment, we were asked to: Prompt the user for a positive number and get it from the user. Print each integer from 1 up to and including the user's number and the sum of all the integers from 1 up to and including each integer. Your output … | |
I wish to put an image/icon beside the website address everytime a user visits my page. How can I do this in ASP.Net? | |
[code=php] <?php # Script 9.1 - login.php // Send NOTHING to the Web browser prior to the setcookie() lines! // Check if the form has been submitted. if (isset($_POST['submitted'])) { require_once ('mysql_connect.php'); // Connect to the db. $errors = array(); // Initialize error array. // Check for an email address. … | |
[code=php] <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html> <head> <title>Cycle Tracks Portal</title> <style type="text/css" media="all">@import "images/style.css"; </style> <link rel="alternate" type="application/rss+xml" title="RSS 2.0" href="rss/" /> <?php $date = ('l dS \of F Y'); ?> </head> <body> <div class="content"> <div class="topmenu"> <div class="date_"> <?php echo $date; ?> </div> </div> [/code] … | |
I need to use a Web conferencing system that does not require a download. I tried using one that uses Java but several of my clients had problems because their JVM was not compatible or they did not have a JVM installed. Is there a Web conferencing system with no … | |
hi, this should be a fairly simple question to answer. I have a function in my program that takes the content of a text file and populates an array with all the information. First it has to see how many lines the file has (as it can change) so it … | |
[code=php] $query = "SELECT username, password FROM adminprofile WHERE username='$u' AND password=SHA('$p')"; [/code] Just wanted to know what is the function of [COLOR="Green"]SHA[/COLOR] in the code above. I took this from a book and they don't have an explanation for that particular part. Please help. | |
It's quite possible that this is impossible.. but here goes... I have some personnel data that is being reported in a table and in that table I have a field that holds a person's "title". Let's say the returned "title" results are "President", "Vice President", "Assistant To The President" and … | |
So, I bought this script that's a bit buggy. I'm not sure if this is the only problem, but I'm getting T-String error in line 16 . If anyone could see what I'm missing, I'd really appreciate it. I'm very, very new with php... in fact I've only started to … | |
already put the validation..it will prompt user the errors..but it query into database also how can i solved it?? [code] <table width="1000" height="95" border="1"> <tr> <td bgcolor="#0000FF"> </td> </tr> </table> <?php include("connect.php"); //this is your validation in the form,put it here.... if (empty($_POST['name'])) { $errors[] = 'Please enter a name'; } … | |
Hi again, this is a simple programme that I can't make work :S in turbo pascal. [COLOR="Green"]Write a program to create a new list and then display it through a Recursive Procedure ( and use 'p' as a local variable).[/COLOR] This is what I could do but considering I hate … | |
I want to access cd drive but i don't know how to do this... there are a way to do this? i think it will use api function? what api function i have to use? thanks in regards... any help will be appreciated. | |
I need to calculate the approximate current age in years of patients at a clinic. We don't have the birthday of all the patients, but we know how old they were when then first registered and we know the date they registered. I am doing a calculation which returns some … | |
Can you cast an array of char to a char*? Thanks. Nemo | |
Hello, I've been trying to figure out this problem for a while now and cant figure it out. What im trying to do is assign a value to a location in an array. SIMPLE! isnt it. well heres my problem. int main(){ int array[1][1]; . . . array[0][1]=-1; array[1][0]=-2; cout<<array[0][1]<<" … | |
Thanks in advance for checking out my problem. Here is a fictional version of the scenario I am trying to achieve - let's say you are searching for a Department of Motor Vehicles office closest to you. So you go to a website and you plug in your zip code. … | |
Hi guys, I have a friend at school and she's taken Unix 2. She gave me a copy of her work assignment so that I could improve my scripting skills (Still a begginner at python and programming). This is the assignment: Write a script that will prompt the user to … | |
well i have set two tasks firstly create the seven segement display and do some sort of timer with the 7 segment display, i have done the seven segment display and here it is:- [CODE] Program SevenSegmentDisplayConverter; Uses Wincrt; var Line1 : string; Line2 : string; Line3 : string; x … | |
when we use this file: #include<graphics.h> #include<stdio.h> #include<conio.h> | |
How do I make it show text? I'm completely new to this, my dad's wanting me to make this customer display screen show text, which on paper should be easy.. It's a WD-202 model, pretty common customer display pole, I've called a friend for help and he told me to … | |
i have tried every thing to get image on my button, i have looked all over the internet but i can't get a image to display, if any one can please help me. [CODE]import static javax.swing.JOptionPane.*; import java.awt.*; import java.awt.event.*; import javax.swing.*; import java.text.DecimalFormat; //Don's carpark2.java was used in making … | |
Hi, I created an executable jar file for my Java application, and I was wondering if I should leave it like that or should I change it to a .bat file for execution via a webpage. May | |
I have a linked list of structs, with each struct having a char* and an int. When I try to print the list I get a seg fault. If I just print the int however it works. What am I doing wrong so the char* won't print? printf("%s %d\n", p->name, … | |
Here's my code: [code]import java.awt.FlowLayout; import java.awt.event.ActionListener; import java.awt.event.ActionEvent; import javax.swing.JFrame; import javax.swing.JButton; import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.JOptionPane; public class DisplayGUI extends JFrame { public static void main(String args[]) throws Exception { ButtonFrame buttonFrame = new ButtonFrame(); buttonFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE); buttonFrame.setSize(275, 75); buttonFrame.setVisible(true); } private JButton Fibonacci; private JButton Factorial; public … | |
I have created a Jframe and included 10labels and 10 textfields in it when i try to run the program, it does not show all the labels and textfields.. sometimes all are visible if i run again then few disappear.. at times they r visible for a few secs and … | |
how would one go about loading up sql data into an asp.net (without using dataview, formview, detailsview etc)? any ideas? have my table marked up already and connection strings just need to know how to put the two together. Thanks for your time | |
Hi there I'm new to php and MySQL and I'm busy trying to build a page that when the administrator selects an item from a drop-down list, that has been populated from a database, it populates multiple text fields with the appropriate information from the database. For example, if the … | |
Hello all, in my ASP application i need to upload 6 images. for that i used u function. But the problem is it is operating well only for 1 image upload. And not for remaining 5. Can any one know about this why this is happening. Thanking You. | |
Any help would be greatly appreciated. Goals: 1: Send a username / password based on a username and not someone remembering their email address. 2: If it's possible to send an encrypted key, which would be a link to pass_update.php which would make the user change their password. This is … | |
First of all, please forgive my immature code.. I am a beginner and this is my first one. Could some body take a look at this and tell me why the data in my table is not populating? Thanks in advance for your time. The problem I am having is … | |
There is a another-site such as : [url]http://his-site.com[/url] there is a form on [url]http://his-site.com/submit_something.do[/url] To access this page we need to go through login from [url]http://his-site.com/login.do[/url] Now i have my site - [url]http://my-site.com/[/url] i do have the login information for his-site i need to auto-login and access the form page … | |
Yes it's should be simple.Can anyone tell me why this won't right a string in the flippin body? Thanks [code] <!-- Document : computer_object Created on : Feb 23, 2008, 11:47:50 PM Author : James Howerton --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>computer_object</title> <meta http-equiv="Content-Type" content="text/html; … | |
I have two checkboxes on my Form1, one is called "CheckOE" and the other "CheckCDO" I would like to have an option of sending email message using either Outlook or CDO. Both email codes work fine if placed in the button alone, but I dont' know how to skip either … | |
how to get comp name or user name ??? anyone know this ?? thank you :) | |
hey i got some c homework due Monday and I'm stuck. please help me. I'm going to mark the error lines with **** in place of a tab. build errors are at the bottom. i will be eternally grateful for any insight. [code=c] //patrick allard //program4 //prof ed ryder #include … | |
I have edit a few items in my comboBox1 on my Form. The items in the comboBox exists of dates like this 2000/01/01 2001/01/01 So these 2 dates can be selected from the comboBox. I am doing a calculation with the selected date in the comboBox1. This works without any … | |
I just started using DevC++ (ty Ancient Dragon) to learn C/C++. I am starting with the basic Hello World! The online tutorial I am following (which seems pretty good to me, but what do I know...yet) does not express how to check my work. I remember seeing a C tutorial … |
The End.