199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for justted

Hello everyone, I really really need some help with this as Ive been trying to sort since December and cannot seem to get past it. I only know very basic PHP and still currently learning. Basically I have a website with multiple pages and a membership system which has a …

Member Avatar for Suomedia
0
242
Member Avatar for hobbsalex

Hi there, I'm becoming increasingly confused trying to implement an array of pointers, that themselves point to nodes in a linked list. Basically my problem is that I need to sort through an existing linked list per element, over all other elements (which works fine) based on a particular criterion, …

Member Avatar for hobbsalex
0
3K
Member Avatar for dolphin.rise

I am not able to understand the following points in regard to difference between C and C++, 1.The comma operator can result in an "l-value" (a quantity that can be used for the left-hand side of an assignment) in C++, but not in C. 2.Enumeration constants (enum values) are always …

Member Avatar for Narue
0
129
Member Avatar for knewc

[code] #include <iostream> using namespace std; int fib(int n); int main() { int n, answer; cout << "Enter number to find: "; cin >> n; cout << "\n\n"; answer = fib(n); cout << answer << " is the " << n << "th Fibonacci number\n"; system("PAUSE"); return 0; } int …

Member Avatar for BlackJavaBean
0
107
Member Avatar for mag07009

Given the example of a car that has a color, weight, and can go forward, stop, reverse all at a speed that can be set as well as displayed. Give the names of what the instance variables would be and the methods with what return types and parameters. Also explain …

Member Avatar for jwenting
0
123
Member Avatar for TobbeK

I have a user input form where the user can choose to specify a number of input fields used for database input. So what I did is to create a loop within the same form and then created the fields the number of times the user has specified. Example: the …

Member Avatar for TobbeK
0
91
Member Avatar for sukhy_1

Hello ive got this code of the net just wanted some1 2check it 2make sure, also ive got these two peices of code the ones ive highlighted them in red, but dnt understand wa it means by saying put this code in first line of web page any ideas, ive …

Member Avatar for petr.pavel
0
104
Member Avatar for Jennifer84

I have a coming back problem that I dont know how to get out from. If you put this code in the event handler for a richtextBox control and write this on the First line: [COLOR="Red"]1234567890 [/COLOR]//This will turn red when you press 0 If you instead right away press …

Member Avatar for Jennifer84
0
84
Member Avatar for strictlycustom

So below is my simple code for my simple program, now I have to "Use 2 functions for this program in addition to the main program. The first function should ask for the hours and returns them to the main program. The second function should receive the hours from the …

Member Avatar for vegaseat
0
95
Member Avatar for srinivasrk

Hi, Here I developed Instant Messenger Program. but in ClientTests.java is giving some runtime error. can anybody help me plz. Here I am listing all my four programs. 1. Server.java [code=java]package com.app; import java.io.EOFException; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.net.ServerSocket; import java.net.Socket; import java.awt.BorderLayout; import java.awt.event.ActionEvent; import java.awt.event.ActionListener; …

Member Avatar for Phaelax
0
129
Member Avatar for lydia21

hi i have a html page when the user clicks a button in the parent window a popup window will be opened which will contain the login page.if the user is a valid user then i want the parent window to get refreshed so that i can show him the …

Member Avatar for ExplainThat
0
76
Member Avatar for ad_rulz

Hello All, I have declared one of my fields in the database as PropertyName varchar(100); Now the problem is that when I try to insert the text having an apostrophe using my html form it gives me an error. Can you please help me with the issue as I am …

Member Avatar for nav33n
0
73
Member Avatar for nelsonsu

there're input1.txt command1.txt given files subject asking for create a result1.txt file with the data from the given files. there's no any bug while compile, but when running the program windows system pop out error report that: ***.exe has encountered a problem and needs to close. We are sorry for …

Member Avatar for nelsonsu
0
157
Member Avatar for prs55

Could you guys please help me to solve this pathOk function, the code is: [code=cplusplus] // graph.h #include <iostream> #include <vector> #include <queue> template <typename ItemType> class Graph { public: Graph(){ }; ~Graph() { Clear(); } void AddVertex(const ItemType& theItem); void AddEdge(int n, int m); bool Empty() const; bool EdgeExists(int …

Member Avatar for prs55
0
150
Member Avatar for dolphin.rise

I have a confusion : Is there any specific advantage of using int main() over void main() in c++ programs. Can anybody solve it ?

Member Avatar for mitrmkar
0
274
Member Avatar for naiad08

hi..can you help me? i need a complete program and flowcharts of shell sorting, insertion sort, quicksort, merge sort and buble sort...please help me... in need it on thursday.... thanks a lot! God Bless You! from, grace

Member Avatar for jamshid
0
167
Member Avatar for modaslam

hello, Can any one tell me how to print the patter [CODE] * *** * for n =1 ** **** **** ** for n = 2 *** ***** ***** ***** *** for n = 3 [/CODE] the code i am having is [CODE] for(i=0;i<=n;i++) { for(j=1;j<n-i;j++) putchar(' '); for(k=0;k<=i;k++) printf('* …

Member Avatar for Narue
0
116
Member Avatar for ahjiefreak

Hi, Recently I have a text file which contain a bunch of numbers :- 1,0,0,1,0................ 1,0,1,1,1................ I would like to read these numbers line by line and stored into an array. However, I get seg fault for this. [code=c] char filename[5000]; char dump; strcpy(filename,argv[2]); while(!feof(tfPtr)) { for (i=0; i<16; i++) …

Member Avatar for Narue
0
130
Member Avatar for sukhy_1

hello im doing a driving instructor website for my project, and a driving instructor enters his or her times of booking and the search below gets the results and displays them, but i want the user to be able 2select upto 2results and once they have selected them they click …

Member Avatar for nav33n
0
125
Member Avatar for * moon *

I'm new in this site ^__^ and I really love it ^.* ammmmm ... I have some problem with my assignment ... could any one help me ?? ( sorry but me english weak a little bet)..

Member Avatar for * moon *
0
191
Member Avatar for labby

Hi, I want to do image processing with real-time image and I’m using C#. I got to grab the image from webcam and it runs smoothly. However, I got some error when I attach with other code for image processing. I cannot run more than one time in one execution …

Member Avatar for jonesc5
0
196
Member Avatar for smemflynn

Hi, If someone can help me with this I'd really appreciate it! I installed SQL Server 2000 Standard Edition on Windows Server 2003. This server is due to take over from our present Windows 2000 Server. It was my first time doing a SQL install, so I ended up calling …

Member Avatar for smemflynn
0
162
Member Avatar for alivip

I integrat program to be GUI using Tkinter I try browser direction as you can see [CODE]# a look at the Tkinter Text widget # use ctrl+c to copy, ctrl+x to cut selected text, # ctrl+v to paste, and ctrl+/ to select all # count words in a text and …

Member Avatar for alivip
0
455
Member Avatar for shuban

Hi all, I was trying to create an example WindowsCe device application, and i needed to use the Microsoft.WindowsCE.Forms but the .Net (that i have installed ) intellisence is not supporting this namespace... i.e. using Microsoft.WindowsCE.Forms is not being supported in the .Net IDE that i am using. Well if …

Member Avatar for shuban
0
149
Member Avatar for henpecked1

I'm trying to construct a semi simple dice rolling project. I have two classes, onedie and threedice. The threedice class looks like this: [code] class threedice { public: void rollem(); int getsumFaces(); private: onedie die1; onedie die2; onedie die3; }; [/code] Now, when I try to code the two functions …

Member Avatar for vmanes
0
288
Member Avatar for StephNicolaou

This is a connect four game and I'm trying to show the counter falling. What I have so far is this which is in a for loop: [code] while(fallingCounter == true && x[j][i] < playerTurn) { //Move the counter vertically down the grid's rows appearing to fall fallingCounter(); g.setColor(counterColour); //counterWidth …

0
110
Member Avatar for StephNicolaou

Hi, I've followed the example in my lecture notes and it doesn't work! I want to add an image to a label and then add that label to my sub north panel. I want to do this with creating a new class...I'm not sure if I need an "image loader" …

Member Avatar for StephNicolaou
0
143
Member Avatar for Beginner2008

My aim is to get this value. [IMG]http://aycu40.webshots.com/image/46759/2005193521074775269_rs.jpg[/IMG] What is the best approch to do so ? Do i create a text box ? and place it in the (1,1) (Row, Column). When do i want this number to appear ? When the calculate button is hit. [IMG]http://aycu39.webshots.com/image/49638/2005162900054054381_rs.jpg[/IMG] So i …

Member Avatar for Beginner2008
0
337
Member Avatar for TheFueley

I'm trying to figure out how to write an int (as a record number) and a string (up to 12 characters) into a binary file. So in one project the binary file is created with all 5 records written to it, with blank data, eg string is empty. In the …

Member Avatar for TheFueley
0
122
Member Avatar for Programmer666

Hi Friends, I am new to VB.Net 2005.I need to create a program which will store data from text files,word documents,excel files,xml files to a database.Can anyone help me.it is urgent.Thank you.

Member Avatar for bwkeller
0
207
Member Avatar for Jboy05

After I Prompt the user to get an integer from the keyboard, display the number on screen if it is an even number how do I write the number into a file in A:\ drive under the name OddFile.txt. if its odd. [CODE=cplusplus] #include <iostream> #include <fstream> #include <cstdlib> using …

Member Avatar for Ancient Dragon
0
100
Member Avatar for complexcodes

Hi, I am trying to do my project but I am stuck. It looks like a big project but it is not. here is the question : I am given sample output of rectangles and some code. I need to add few free functions to make the outout like that …

Member Avatar for complexcodes
0
111
Member Avatar for cpp_noobsauce

Heres my code: [code]#include <cstdlib> #include <iostream> using namespace std; //Function prototypes char GetTaxCode(void); int GetProductId(void); int GetQuantity(void); float GetProductPrice(void); char InvoiceInitilization(void); int main(int argc, char *argv[]) { //Variable declarations float gSt = .01; float pSt = .02; int productId; int quantity; char taxCode; float taxAmt; float productPrice; int shippingFee …

Member Avatar for cpp_noobsauce
0
135
Member Avatar for ulyssesmn

I've tried use a program which is will work in sqrt(n),but it got TLE.,please help me [url]http://acm.pku.edu.cn/JudgeOnline/problem?id=1811[/url]

Member Avatar for vmanes
0
85
Member Avatar for big24fan

I just finished an exam that I bombed pretty hard. I just dont know where to begin on this stuff and would love some guidance. Below is the details of the exam. - Write a program that asks a user to enter their full name. Their name including spaces must …

Member Avatar for buddy1
0
164
Member Avatar for gothicmisery85

I'm seeming to have some difficulties with a few things. I don't quite know how to get my program to add interest and charges to the balance, and I keep getting the message in Borland C++ Builder 6, "Unresolved external 'Interest(int)' referenced from C:\Documents and Settings......etc etc." and I'm also …

Member Avatar for gothicmisery85
0
139
Member Avatar for mcx76

I am trying to install script. But getting error.Error is below and can be seen [here](http://www.cravingcatering.com/osc/install/) FATAL ERROR: register_globals is disabled in php.ini, please enable it! If put the php.in with below text.But its not working. register_globals = On I added .htaccess file with below code. RewriteEngine On RewriteCond %{HTTP_HOST} …

Member Avatar for Suomedia
0
286
Member Avatar for lostandconfuzed

Hi guys, I'm working on a program that has to do with Goldbach's second conjecture (any even number larger than 5 can be expressed as the sum of three prime numbers). I have to write a program that takes integer [I]n[/I] (larger than or equal to 6) and finds three …

Member Avatar for knewc
0
143
Member Avatar for raivis

is not working no java script link in ajax-frame content Ajax Tabs Content Script [url]http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm[/url] >>>do not open new ajax link from ajax-frame content! do not open Lightbox v2.03.2 ([url]http://www.huddletogether.com[/url]) link from ajax-frame content! could you find some way how to fix it? for example the link from Ajax Tabs …

Member Avatar for Suomedia
0
153
Member Avatar for Jennifer84

Is it possible to know what key on the keyboard that was pressed through any of these syntax in any way. [I]textBox->KeyPress textBox->KeyUp textBox->KeyDown[/I] I like to find an if statement that says something like this, though I know this is wrong: [code] if ( textBox-> KeyPress != BackSpace) { …

Member Avatar for Jennifer84
0
102
Member Avatar for vark75

i need to create a GUI app that will run on a windows PC, Linux X11, Windows CE PDA, and the Nokia N800. It will be basically a dockable tool bar with some floating bitmaps. It's like the bottom bar in windows with the start button. Normally it's docked, meaning …

Member Avatar for majestic0110
0
113
Member Avatar for nxavier

Hi guys, I've almost finished my assignment but the last question is kind of a curve ball (for me). She wants us to create function that accepts a list of words and then returns the longest word in the list. This is what I've come up with: [code] def longestWord(wordlist): …

Member Avatar for scru
0
97
Member Avatar for awoc

here's what i have so far. I don't understand where exactly to put the (valid = MY_FALSE;) and the (badInput = MY_TRUE;) and the (valid = MY_TRUE;). [I]The directions state that:[/I] [B]Declare a contant for true, use 1 (MY-TRUE) Declare a contant for false, use 0 (MY-FALSE) Declare the integer …

Member Avatar for awoc
0
118
Member Avatar for SHIFA JINDAL
Member Avatar for majestic0110
0
45
Member Avatar for s627y

well, tried using multiview.activeindex, does not work, tried using control.visible, does not work, here is my problem: I have a dropdownlist with 4 items, by selecting a value, it should show me 4 different controls: selected index 1: listbox1 - binds data to field A in table 1, but list …

Member Avatar for s627y
0
95
Member Avatar for TylerTCF

Thanks for your help earlier with the file input everyone...I have another question to ask of you. I am trying to check two vectors against each other to see if the "timeanddate" match up. Then try to output the ones that do match. I am getting errors from the if …

Member Avatar for mitrmkar
0
125
Member Avatar for Lensva

Say i ask a user to input a number, which will be the return value of one of my class members. How do i make it so that it would redirect me another class member, depending on the number input?

Member Avatar for Lensva
0
98
Member Avatar for Traicey

This program is using setw() and setfill() it supposed to output the stars I have included the sample output at the end of my project I hope u gona be able to read the code cause my coding does not print the stars the way they have to be instead …

Member Avatar for Narue
0
2K
Member Avatar for 666kennedy

firstly id like to thank people for helping me with my earlier problems. anyway, for this program im working on, i want the user to be able to select between two patterns. eg. pattern1 makes x=1 and y=0 pattern2 makes x=0 and y=0 i tried using if statements, but it …

Member Avatar for Narue
0
138
Member Avatar for degamer106

I'm trying to put all the buttons (and their icons) into a single class. However, when I try to draw just one button in a frame, it doesn't show up. I can get it to be displayed if I instantiate the button in the same class as the Frame, but …

Member Avatar for javaAddict
0
119

The End.