199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for bpacheco1227

I'm having problems with if statements present value (PV) should be no larger than $10000 interest rate is not higher than 10 and no less than 2 and number of years at least 3 I've tried the if statements with error messageboxs but I was getting confused with all the …

Member Avatar for bpacheco1227
0
121
Member Avatar for cog_bn

When I run the code, what's supposed to happen is that when I input three numbers separated by spaces (e.g. "[i][u]23 4 5 <enter>[/u][/i]"), it outputs "[b]no more input\n\nReady\n[/b]", when I input four or more numbers (e.g. "[i][u]23 4 5 34 65 <enter>[/u][/i]"), it outputs "[b]is more input\n\nReady\n[/b]": [code] #include …

Member Avatar for cog_bn
0
184
Member Avatar for AcidG3rm5

I have the following in a text file How old are you?:I am 1 year old. Basically, the ":" is the delimiter. "How old are you?" is the question and "I am 1 year old" is what i will reply when i get the question . There is basically 2 …

Member Avatar for Salem
0
118
Member Avatar for powrhouse1

Hi, i'm new to python. I'm trying to input a stack of (prefix.tif) images, modify them to png files and output the new files as prefix.png. One code that i was told to use allows me to modify the input name by adding something to the beginning of the name. …

Member Avatar for powrhouse1
0
96
Member Avatar for bajanpoet

How do I get a textbox to automatically update with information when I select an item from a combobox? [icode] txtCustID.Text = Custds.Tables(0).Rows(cboCustomer.SelectedIndex).Item("custno")[/icode] is what I came up with, and it populates properly when the combobox is first loaded up, but if I select another item, the text boxes don't …

Member Avatar for bajanpoet
0
114
Member Avatar for tonybowry

Hi all I've only been learning C for 6 weeks and have a project to convert arabic numbers to roman numerals. Part of the prgram must do this in batch mode. i.e. read integers from .txt file, convert and write numerals back to .txt file. It seems to be working …

Member Avatar for tonybowry
0
72
Member Avatar for markaman

I've tried this multiple ways, the latest below. Maybe I'm on the wrong track. Thank you. [code]<?php do { ?> <?php [COLOR="Red"]$class='class="other"';[/COLOR] ?> <?php if($row_rsFrontPageAds['AdLink']) echo "<a href=\"" . $row_rsFrontPageAds['AdLink'][COLOR="Red"]"\"".$class."\">"[/COLOR]; ?> <img style=" " src="<?php echo $row_rsFrontPageAds['AdPath']; ?>"alt="" max-width="" border="" class="imgright1"/> <div align="justify" class="style48" > <?php if($row_rsFrontPageAds['AdCaption']) ?> <?php echo …

Member Avatar for markaman
0
75
Member Avatar for elsa87

hi everyone..i really need help as fast as possible..i have 14 errors in the program..it is a linked list implementation for reversing a stack using recursion.. here is the code: [CODE]#include <iostream> using std::cin; using std::cout; using std::endl; #include<cstdlib> #include <fstream> using std::ifstream; using std::ofstream; #include"ItemType.h" using namespace std; struct …

Member Avatar for Salem
0
102
Member Avatar for jakeiscrazy

OK so Christmas time is here again and i am thinking about computer controlling my Christmas lights. I understand the easiest way to do so is thru the parallel port. I also understand that this is possible thru c++. I have the dll fill needed but dont understand the code …

Member Avatar for Salem
0
523
Member Avatar for CodeBoy101

How would I draw an ERD for a situation like this: professors can teach the same course in several semesters, and each offering must be recorded. If I know that: Professorss can have an SSN and courses can have a courseid. Any helpful suggestions are welcome.

Member Avatar for CodeBoy101
0
109
Member Avatar for CodeBoy101

I was wondering how do you countdown to a given date, like for and enevnt or something. Let's say you know the target date is let's say Christmas and you have the current date, how do I calculate how many days are between them?

Member Avatar for CodeBoy101
0
135
Member Avatar for mahaboob Basha

Hi i created one jsp form with 2 fields..now in the first servlet i want check whether those 2 fields values are presented in the Database or not..if not then i want move those values to another servlet .. how can i do this?how to get the values (parameter values …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for squidd

Another problem I am looking into is the following: How does one use a command button to run private sub's (again) or (at all)? For instance if a website isn't available at the exact moment that it is being checked for certain information on it. I have it set to …

Member Avatar for kain_mcbride
0
151
Member Avatar for myndcraft

I have a JSP page that creates a link to a php page. (..:: I have ZERO JSP experience ::..) and I need to do some encoding or string substitution because a '&' is being passed and interpreted by the php as a separate variable rather then part of a …

Member Avatar for ~s.o.s~
0
177
Member Avatar for nikesh.yadav
Member Avatar for Dannyo329

Ok, Im not trying to be evil or anything but is there anyway I could use C++ to open a website in a window, then record what the user types? So the website is google, and some random guy decides to search up dogs:twisted: , dogs would be recorded some …

Member Avatar for BeyondTheEye
0
119
Member Avatar for zatin

I have a Person Class, binarySearch needs to be performed on surnames. I need help with binarySearch algorithm. This is what I have so far: public class Person implements Comparable { private String firstName; private String lastName; public Person(String firstName, String lastName) { this.firstName = firstName; this.lastName = lastName; } …

Member Avatar for ~s.o.s~
0
1K
Member Avatar for pragtos

Well, im just in the learning process of c++ cant seam to make my loop work with 2 simpel choises :( #include <cstdio> #include <cstdlib> #include <iostream> using namespace std; using std::boolalpha; int main() { int start; char choise; char y; y=1; char n; n=0; cout << "whant to run …

Member Avatar for pragtos
0
124
Member Avatar for antwan1986

Hi everyone and thanks for reading. I'll give you a quick insight into my project and desired goal. I've a client who wants a purchase order system that will send purchase orders in the form of emails, and log them into a database. PHP and SQL are my core skills …

Member Avatar for jonnyhitek
0
157
Member Avatar for miso66

Hi guys! I wrote program, which read data from file(you can modify this file) and than it paints in to JPanel containing Canvas.But it doesn't work. [COLOR="Red"][B]class MainWindow:[/B][/COLOR] [code] package my; import my.MyCanvas; import my.Rectangle; import java.awt.*; import java.awt.event.*; import java.io.*; import java.util.*; import javax.swing.*; import javax.swing.border.*; import katka.Circle; import …

Member Avatar for peter_budo
0
109
Member Avatar for ronan_40060

Dear Experts In our application the values that are sent from FRONT end( Java) are stored in a C++ Structure on Unix box and then a remote procedure call is made . To store the values that are coming from front end , Im allocating the memory using operator new …

Member Avatar for ronan_40060
0
308
Member Avatar for Basma.A

Hi all; i dont know how to access data stored in C: Drive (folders) where i want to retrieve this data and put it into a TreeNodes please i need help quickly thanks in advance yours; Eng.Basma Ahmed, Symbian Developer, ASGATech Company, Cairo.

Member Avatar for serkan sendur
0
143
Member Avatar for jbennet

Okay, i have two classes. One needs to access (public) methods within the other . If i declare [code]ClassB objectName = new ClassB(); [/code] in one method of class A , then use objectName.methodname() in that method then it works fine. Butif i then try and call objectName.methodname() from another …

Member Avatar for masijade
0
103
Member Avatar for asus2008

hye everyone, i'm finding someone that could create a mobile game application using java and netbeans as the ide..the mobile game im trying to create is a chinese board game called "go"..I JUST need a simple application..dont need extreme graphics..i need it as soon as possible..i am willing to pay..RM …

Member Avatar for jbennet
0
104
Member Avatar for ttano173

I need to write a program that asks the user to enter a string and then ask the user to enter a character. The following steps each need to have separate functions... • Check the validity of the character • The program should display the index number of the character …

Member Avatar for ttano173
0
372
Member Avatar for stevehart808

Hi everyone, Any ideas how to change this code so I can have a square thumbnails instead of always the same width but not height? Thanks [code] function CreateSiteThumbnail($srcFile, $destFile, $width, $quality = 100) { $thumbnail = ''; if (file_exists($srcFile) && isset($destFile)) { $size = getimagesize($srcFile); $w = number_format($width, 0, …

Member Avatar for stevehart808
0
229
Member Avatar for ALAZHARY

Hello, everybody. first, look at the following code: [CODE]#include <iostream> 1 using std::cout; 2 using std::endl; 3 using std::cin; 4 5 double* treble(double); 6 7 int main(void) 8 { 9 double num = 5.0; 10 double* ptr = 0; 11 ptr = treble(num); 12 cout << endl 13 << "Three …

Member Avatar for ALAZHARY
0
655
Member Avatar for zanzo

I have two input textbox with the same name, when submiting the page I get only the value of the second textbox. how can i get the value of both fields???

Member Avatar for Aamit
0
121
Member Avatar for karang

Hi I am new to C++ Can anyone please tell me how to refer .lib files in C++ Regards Karan |

Member Avatar for Agni
0
90
Member Avatar for XxAaronxX

Hey I am trying to teach myself C++ and i am having trouble with a measurement converter I am pretty sure my problem is in the line [CODE]Yards = Meters * 1.094;[/CODE] but i don't know how else to write it, this is my code: [CODE]#include <iostream> namespace std; int …

Member Avatar for XxAaronxX
0
100
Member Avatar for mailtoramesh

Hi friends, I am Ramesh. I am a B.E. Graduate. Currently i am doing "ATTENDANCE AUTOMATION SYSTEM ", mini project in VB. I am supposed to generate a new access sheet(i am using MS ACCESS as my back end tool). I tried my level best, but i can't. FRIEND IF …

Member Avatar for mushkin
0
103
Member Avatar for atv161

how can I select which data I want on a report from code in vb.net? I've been trying to use a dataset but that isnt working.

Member Avatar for gomathinayagam
0
182
Member Avatar for Undermine

[B]HEADER..[/B] [ICODE]#include <string> using std::string; class Blackjack { public: Blackjack(string); void Shuffle(); void Intro(string); void InitDeck(Card deck[],int numCards); void PrintCard(int); // void Card(int); private: int deck[52]; //deck of 52 cards. }; [/ICODE] [B]BODY[/B] [ICODE]#include <iostream> #include <fstream> #include <cctype> #include <cstdlib> #include <ctime> using namespace std; const int NUM_CARDS = …

Member Avatar for Undermine
0
81
Member Avatar for Shanti C

Is there any possibility to do online chatting with php. In clear, if we post our message ,the other person for whom we post will get that message with out inserting that message into the database... Can any one please help me out... Thanks...

Member Avatar for shivjamesh
0
519
Member Avatar for atman

hello., in a few examples i noticed that pointers are declared in functions parameter list. ex [CODE] #include <stdio.h> void SwapEm (char *p_grade1, char *p_grade2); int main () { char grade1= 'D', grade2 = 'A'; printf ("At the beginning grade1 is %c and grade2 is %c\n", grade1, grade2); SwapEm (&grade1, …

Member Avatar for devnar
0
290
Member Avatar for riahc3

Hey I have this code: [CODE] void menu() { char opt do { system ("cls"); printf ("1 - Option 1"); printf ("2 - Option 2"); printf ("3 - Option 3"); [B]scanf ("%c",&opt);[/B] [B]}while ((opt!="1") && (opt!="2") && (opt!="3"));[/B] [/CODE] The lines in bold are the ones Im not sure about. …

Member Avatar for riahc3
0
161
Member Avatar for Undermine

[B]HEADER FILE:[/B] [ICODE]#include <string> using std::string; class Blackjack { public: Blackjack(string); void Shuffle(); void Intro(string); void InitDeck(); void PrintCard(int); // void Card(int); private: int deck[52]; //deck of 52 cards. }; [/ICODE] [B]BODY PROGRAM.[/B] [ICODE]#include <iostream> #include <fstream> #include <cctype> #include <cstdlib> #include <ctime> using namespace std; #include "bj.h" Blackjack::Blackjack(string name) …

Member Avatar for Undermine
0
131
Member Avatar for adam291086

Some languages like C# create an Auth object to authenticate themselves on a soap server. for example [CODE] cpLatestBrief.authValue = new auth(); cpLatestBrief.authValue.username = "username"; // your aql username cpLatestBrief.authValue.password = "password"; // your aql password [/CODE] how can you do this with python?

Member Avatar for adam291086
0
99
Member Avatar for patkhor

Hi, I'm using fgets() to read lines of text file and display them. The fgets() is in an infinite loop. The problem occurs when I remove lines from text file while program is running. The lines count is correct, but the program display the old content of the file up …

Member Avatar for patkhor
0
104
Member Avatar for cosby

hi everyone,i am having a problem with the maximum file upload i have read the forums about the maximum file upload and i went to php.ini to change the maximum file upload from 2mb to 3mb but if i upload 2.6mb file still the upload file doesn't work can you …

Member Avatar for cosby
0
91
Member Avatar for msundastud

ok, once again, I'm back...after this program I don't plan to write anymore...here's the task... Program # 1: Write a program that can decrypt the following string Ukjv!lt#xkz#DVT#sxmht1 Each character must be decrypted by applying the decryption algorithm to its ASCII value. The decryption algorithm is: • if array index …

Member Avatar for devnar
0
118
Member Avatar for Pgmer

Hi all i need one help. i have a text file something like this date time employee name Department id Employee id Jan 2007 12 pm abc 001 676666 ''''' ''''''''' '''''' '''''''''' ''''''''''''' ''''''''''''' '''''' '''''''''' '''''''''' '''''''''' Feb 2007 9am xyz 005 434367 all are tab delimited and …

Member Avatar for Pgmer
0
168
Member Avatar for kempablavitt

Hi! I need help with a memory game. I dont know how to do when I want the users choice to appear. The function guessing. I want the user to first write e.g. A1 and then B2. and the doldmatris() is the one with the words. Then the start function …

Member Avatar for Murtan
0
270
Member Avatar for Albinoswordfish

As of now I have the below: [code=C++]#ifndef RUNNER_H_ #define RUNNER_H_ #include "Maze.h" #include <QtGui> class Runner{ public: Runner(QColor c); int runnerSize; void setLocation(int,int); void setMaze(Maze); virtual void redraw(QPainter * painter) = 0; virtual ~Runner(); protected: int rXcoor; int rycoor; Maze * rMazePanel; QColor rColor; private: }; #endif /*RUNNER_H_*/[/code] [code=C++]#ifndef …

Member Avatar for Albinoswordfish
0
110
Member Avatar for practica

i have a problem with a mikhail gorbachev trivia game, the number at the end where it tells you how many questions you got right is always wrong but i can't tell why. also how can i reset the radio buttons after each question here is the code [code]#pragma once …

Member Avatar for Murtan
0
119
Member Avatar for OmniX

Anyone know how to get a custom layout when sending email's via mail()? At the moment I would just like to start a new line in an email but eventually throw in images and etc. Any information be much appericated. Regards, X

Member Avatar for OmniX
0
159
Member Avatar for sbv

Hi I am doing a task of mail sending from different mail id's to different mail id's . I have a domain of rediif. when i am sending mail using my domain id then all mails are sent successfully but from other mail ids its not .. can anyone help …

Member Avatar for sbv
0
89
Member Avatar for hbmarar

Hi , Wishes! I am doing a iterative calculation and in the last iteration, i update few of my tables. What i am trying to do is , make this update more perfect. Is it possible for me to do updates in small steps with using LIMIT. i do not …

Member Avatar for hbmarar
0
131
Member Avatar for mails4vijay

i have customer details in my sql database. then i have a textbox, combobox & button. if i type customer name in a textbox i should get his id in combobox. if there is more than one customer with same name that id also should fill in combobox. i need …

Member Avatar for reena12
0
164
Member Avatar for gp04lch

hi, just added an mdi form into a tabpage with the following code: [CODE]frm_ASN f_New = new frm_ASN(0); f_New.Dock = DockStyle.Fill; f_New.FormBorderStyle = FormBorderStyle.None; f_New.MdiParent = this; this.components = new System.ComponentModel.Container(); ExtremeTabPage tab = new ExtremeTabPage(); tab.Text = f_New.Text; tab.Name = f_New.Name; tab.Controls.Add(f_New); this.Text = "[" + f_New.Text + "]"; …

Member Avatar for gp04lch
0
122

The End.