64,152 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for sfurlow2

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?

Member Avatar for sfurlow2
0
469
Member Avatar for slayman89

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 …

Member Avatar for Ancient Dragon
0
83
Member Avatar for ulasu

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 …

Member Avatar for twomers
0
161
Member Avatar for cbattagler

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 …

Member Avatar for cbattagler
0
111
Member Avatar for Matt You

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( …

Member Avatar for Matt You
0
121
Member Avatar for landercat

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 …

Member Avatar for landercat
0
4K
Member Avatar for manzoor

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 …

Member Avatar for manzoor
0
113
Member Avatar for Jennifer84

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 …

Member Avatar for Jennifer84
0
185
Member Avatar for majestic0110

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 …

Member Avatar for serkan sendur
0
79
Member Avatar for maydhyam

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.

Member Avatar for maydhyam
0
113
Member Avatar for johnny.g

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 …

Member Avatar for serkan sendur
0
46
Member Avatar for nish88

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 …

Member Avatar for nish88
0
173
Member Avatar for behnaz

hi, i have 1 question ebout this file : in the program , when we include this file? #include<dos.h> #include<graphics.h>

Member Avatar for WaltP
0
68
Member Avatar for sfurlow2

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 …

Member Avatar for codeaa
0
153
Member Avatar for ebabes

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?

Member Avatar for ebabes
0
120
Member Avatar for lordx78

[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. …

Member Avatar for lordx78
0
72
Member Avatar for lordx78

[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] …

Member Avatar for nav33n
0
165
Member Avatar for korman66

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 …

Member Avatar for sistie23
0
107
Member Avatar for jesseb07

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 …

Member Avatar for jesseb07
0
6K
Member Avatar for lordx78

[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.

Member Avatar for lordx78
0
111
Member Avatar for jtapp

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 …

Member Avatar for nav33n
0
74
Member Avatar for gingercookie

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 …

0
61
Member Avatar for jinchiruki

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">&nbsp;</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'; } …

Member Avatar for nav33n
0
100
Member Avatar for Olsi009

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 …

Member Avatar for brijkiran
0
206
Member Avatar for Sawamura

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.

Member Avatar for Jx_Man
0
126
Member Avatar for nicolamoore

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 …

Member Avatar for Bookman
0
178
Member Avatar for Nemoticchigga
Member Avatar for Barbarrosa

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]<<" …

Member Avatar for Ancient Dragon
0
111
Member Avatar for jtapp

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. …

Member Avatar for SheSaidImaPregy
0
285
Member Avatar for Impact4ever

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 …

Member Avatar for Impact4ever
0
76
Member Avatar for sura17

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 …

Member Avatar for sura17
0
139
Member Avatar for behnaz

when we use this file: #include<graphics.h> #include<stdio.h> #include<conio.h>

Member Avatar for Ancient Dragon
0
106
Member Avatar for fgn89

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 …

Member Avatar for Duoas
0
607
Member Avatar for gedcraw555

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 …

Member Avatar for gedcraw555
0
133
Member Avatar for maydhyam

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

Member Avatar for maydhyam
0
135
Member Avatar for plgriffith

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, …

Member Avatar for plgriffith
0
2K
Member Avatar for gallantmon1

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 …

Member Avatar for gallantmon1
0
147
Member Avatar for Shveetis

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 …

Member Avatar for javaAddict
0
84
Member Avatar for majestic0110

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

Member Avatar for majestic0110
0
172
Member Avatar for Venom Rush

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 …

Member Avatar for b_scorpian
0
189
Member Avatar for sbv

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.

Member Avatar for sudharsanam007
0
73
Member Avatar for Vai

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 …

Member Avatar for nav33n
0
119
Member Avatar for jtapp

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 …

Member Avatar for nav33n
0
126
Member Avatar for naju

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 …

Member Avatar for naju
0
92
Member Avatar for ceyesuma

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; …

Member Avatar for DangerDev
0
77
Member Avatar for leokuz

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 …

Member Avatar for leokuz
0
136
Member Avatar for Jade_me
Member Avatar for Jx_Man
0
79
Member Avatar for chopficaro

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 …

Member Avatar for chopficaro
0
510
Member Avatar for Jennifer84

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 …

Member Avatar for Jennifer84
0
133
Member Avatar for jeffige

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 …

Member Avatar for Ancient Dragon
0
134

The End.