199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for zoroman

Hi, I need to design a sequence diagram for the online ordering system that I will built. This is how the system works: -Customer displays the web page, browses the menu and adds items to the shopping basket - once she wants to checkout, either she has to login to …

Member Avatar for zoroman
0
536
Member Avatar for himanjim

Hi, I' studying various sorting techniques...And one thing I'm not clear about the complexity of the techniques... For e.g the complexity of bubble sort is Average Case=>O(n*n) Worst Case=>O(n*n) Best Case=>O(n*n) Obviously n is the no. of elements in the array... But even in the worst case i.e the array …

Member Avatar for Freaky_Chris
0
153
Member Avatar for bluestar123

hello I want to create a page,where there will be a gridview,with 2 columns. 1st column will have Numbers..1,2,3,4,5........as much as user want. next column is where people will insert data,say a,b,c,d,e,f,g..... After pressing the button, 1,a 2,b 3,c ....all these wil be inserted in database rows. can somebody please …

Member Avatar for leelarani
0
227
Member Avatar for kibosh

Hello, I'm trying to do something I thought would be very simple. I need to display a "degree" symbol as part of my PHP output, and I can't figure it out. I'm trying to use the ASCII &deg code. If I try: [code] echo ° [/code] I get an error. …

Member Avatar for Aamit
0
2K
Member Avatar for squarkman

I am using an existing .aspx form that will submit a few fields and a comment box. It actually works! Now, I open that form in Dreamweaver and copy...let's say...the NAME field and all its guts in the td section for it, and reinstance it to NAME2 in a few …

Member Avatar for 4advanced
0
151
Member Avatar for jaasaria

hi i have an error here could somebody know or expirence this before plss help.. this error enclude dll and i have the site now. this is the link [url]http://support.microsoft.com/kb/248055[/url] i already put the dll in the said folder and already installed mdac. plss any has expirence this .plss help

Member Avatar for aktharshaik
0
239
Member Avatar for zoroman

Hi. I need to do a scramble game. Simply I need to randomly select a word from my set of strings and print out in shuffled string. Such as if the word is "banana" it should print out something like "anaban" and there should be text field for user to …

Member Avatar for peter_budo
0
178
Member Avatar for tech291083

Hi, I am on Windows xp professional edition and looking for a free develeopment tool/ide for some self c++ learning. The one I can across is Dev-C++ 5 (currently beta) from [URL]http://www.bloodshed.net/devcpp.html[/URL] It is supported on XP but it is still beta version and I want something stable. Can any …

Member Avatar for Salem
0
2K
Member Avatar for kyosuke0

the program i have to write involves a dynamically linked stack to evaluate if the grouping symbols '[B]([/B]' , '[B])[/B]' , '[B]{[/B]' , '[B]}[/B]' , '[B][[/B]' , '[B]][/B]' in expressions are balanced. The expression is input through keyboard. For example: expression: {A+(B-C)*D} is balanced expression: T+{(R+M)/G-V*L is not balanced expression: …

Member Avatar for kyosuke0
0
202
Member Avatar for ItecKid

So basically, my assignment was to write quick sort and merge sort using both vectors and arrays, and time how long it takes to sort the the arrays and vectors of various sizes. However, the code is producing inconsistent results. Sometimes it seg faults, other times it produces unfriendly messages …

Member Avatar for ArkM
0
642
Member Avatar for tomtetlaw

Hi all! Im making a mario clone, and i was wondering how to write the jump function in the Mario class, any help would be good, im using PyGame by the way. heres my code so far: [code=python] #usr/bin/env python import sys import os import pygame from pygame.locals import * …

Member Avatar for tomtetlaw
0
162
Member Avatar for xlx16

hello again i have three questions again: how can i use malloc or calloc for a two demontional arrays? is it true that A. calloc allocates memory in contiguous bytes, malloc does not ensure contiguous memory allocation? the third question which is a bit irrelevent to programming how memorey locations …

Member Avatar for Salem
0
371
Member Avatar for sambafriends

Hi, any body guide me a program how to convert octal to hexa decimal number using c lnaguage without using %x %o regrards, samba

Member Avatar for Demonisya
0
71
Member Avatar for netshops

I am wondering how to securely build a sign in application through a modal window. Is it possible to make a modal window secure? I have two examples of what I am talking about: 1) [url]www.ae.com[/url] - they have a sign in section on their header - not SSL on …

Member Avatar for freshfitz
0
119
Member Avatar for FrancisC07

[CODE][/CODE] average=a[counter]+b[counter]+c[counter]+d[counter]/12; can someone can help me? modify to modify this code using an for loop? thanks

Member Avatar for vmanes
0
279
Member Avatar for BattlingMaxo

I need to learn more about this before i can even think about starting coding, problem is i can't find a thing on it except a few papers. I am speaking about no keyframes, you just manipulate the bones through algorithms. i need to see some source code on this. …

Member Avatar for electroreactive
0
198
Member Avatar for kodak

I have developed a program in an XP enviroment using Borland Builder 6. It has since been installed on a computer with Vista. The program opens text files which are stored in the root directory of the program. The pathname is set in global constants like "name.txt". This works fine …

Member Avatar for kodak
0
122
Member Avatar for Kavitha Butchi

Hi All, I am trying to set background image. I retreived it from the database into $xyzimage variable and then trying it to display in the <body > tag. When i am trying to display it a tabel cell like <td> it works, but not in <body> tag. Is there …

Member Avatar for Kavitha Butchi
0
2K
Member Avatar for VBNick

I posted this question in the regular C++ forum and havn't gotten any answers. hoping I will have better luck here, here was the question: [URL="http://www.daniweb.com/forums/thread160790.html"]http://www.daniweb.com/forums/thread160790.html[/URL] I need to load a bitmap from file, and get an array of bits that I cain use. I have used CreateDIBSection() to create …

Member Avatar for VBNick
0
165
Member Avatar for VBNick

hi, I have used LoadImage() to load a bitmap as HBITMAP. If I use SelectObject() to attach it to an HDC, and then BitBlt() it to the screen, that works fine. I need an array that would be compatible with the one produced by CreateDIBSection(). I have tried GetBitmapBits(), and …

Member Avatar for VBNick
0
475
Member Avatar for php2sheik

hi, is session_id is generated by javapage in one website is equal to session_id generated by phppage????.because i integrated php pages to java pages in that website. so i maitain session based on that java page. is this possible to session_id from java page to php page, if i get …

Member Avatar for digital-ether
0
183
Member Avatar for tomtetlaw

Im testing out blit() and i ran into this error: [code=python] Traceback (most recent call last): File "/home/tom/Desktop/pygame/test/main.py", line 15, in <module> screen.blit('image.jpg', (10,10)) TypeError: argument 1 must be pygame.Surface, not str this is my code: import pygame pygame.init() running = 1 while running == 1: screen = pygame.display.set_mode((800, 600)) …

Member Avatar for tomtetlaw
0
2K
Member Avatar for sleepytoast

The idea of the entire program is to play a simplified version of war that's why its 28 cards. Anyway my problem comes from the dealRandomCard function when I compile it it says there needs to be another ) before time. I'm not sure what to do. I appreciate the …

Member Avatar for VernonDozier
0
126
Member Avatar for sivak
Member Avatar for serkan sendur
0
74
Member Avatar for rana2011

the programe output the sum of the factor of a number entered by user and when he enter 0 the programe should display output with no result for 0 here is the code #include<iostream> #include<iomanip> using namespace std; int main() { int x,i; int z=1; int sum=0; while(cin>>x) { if(x!=0) …

Member Avatar for Freaky_Chris
0
75
Member Avatar for Rocket452

Hi, I am using a C# application that interacts with a TSQL stored procedure. The problem is that my SqlDataReader property .RecordsAffected always returns -1 regardless of whatever kind of select, update, or delete query I run. Here is my relevant code: [code] SqlDataReader myReader = null; SqlCommand command = …

Member Avatar for LizR
0
166
Member Avatar for ItecKid

Hello, I am trying to write the quick sort algorithm to take in an array of 20 random integers and sort them. However, it is producing weird output for the sorted list. My code is as follows, can anyone give me a little help here? [code=C++] #include <iostream> #include <vector> …

Member Avatar for Freaky_Chris
0
109
Member Avatar for Lukezzz

How will it be possible to add "Gray" lines in a Menu (MenuStrip). I have attached a picture of how I meen. Example WordPad in Windows uses these type of menus to separate MenuChoises.

Member Avatar for Lukezzz
0
131
Member Avatar for jbennet

basically i have a 3d array of chars, i need to be able to save and load it using text files. Any as to how i would actually do it? Im familiar with reading lines using BuffererdReader and stuff. Im thinking use a loop to save each element to a …

Member Avatar for ~s.o.s~
0
110
Member Avatar for veledrom

I don't want to repeat writing $value in if statement. Is there any way to write once and add conditions like below? Thanks [code] if ($value==1 || $value== 2 || $value== 3) { echo "I don't want this way"; } if ($value==1 || 2 || 3) { echo "I want …

Member Avatar for veledrom
0
71
Member Avatar for koa636

error message cannot find constructor `lottery(int[])` import java.util.Random; public class Lottery { private final int NUM_DIGITS = 5; private int[] lotteryNumbers = new int[NUM_DIGITS]; private int[] userNumbers; private int matches; public int[] getLottery(int[] l) { // Create an array the length of l. lotteryNumbers = new int[5]; // Random object. …

Member Avatar for Ezzaral
0
115
Member Avatar for jproducer

Okay, i just want to get this out of the way. I do know that this subject has been tackled a couple times and I'm not cutting to the end without reading what has been already written. I can't seem to find the explanation that i'm looking for and a …

Member Avatar for jproducer
0
153
Member Avatar for gothicmisery85

I am working on a program, and I can't figure out what I'm doing wrong. Any help would be appreciated. Here is what I have to do: [b] Write a procedure named St_concat that concatenates a source string to the end of a target string. Sufficient space must exist in …

Member Avatar for crunchy_frog
0
3K
Member Avatar for asifjavaid

Hi, I am new to COM Programming. I want to initialize COM library. I am calling hr = CoInitializeEX(NULL); but hr = S_FAIL. and my code is stopped. What I have to do further to execute COM program written in VC++.NET 2005. -- Regards, Asif

Member Avatar for Laiq Ahmed
0
203
Member Avatar for FrancisC07

oopss i still have a problem!!.. What's wrong with my code? [code=cplusplus] main() { int a[4]; int b[4]; int counter,sum=0; cout<<"JANUARY"; for(counter=0;counter<4;counter++) { cout<<"Numbers of Rainfall:"; cin>>a[counter]; } for(counter=0;counter<4;counter++) { sum+=a[counter]; } cout<<"The numbers of rainfall in the first month"<<sum<<endl; cout<<FEBRUARY; for(counter=0;counter<4;counter++) { cout<<"Numbers of Rainfall"; cin>>b[counter]; } for(counter=0;counter<4;counter++) { …

Member Avatar for MosaicFuneral
0
112
Member Avatar for asurmen28

guys! i realy need your help! i have this big problem of how to convert hex to decmal. theoreticaly it is very easy but the problem is that in assembly, everything is done in hex example if u add 10d+10d, assembly will add it as Ah+Ah = 14h. thats where …

Member Avatar for abello00
0
129
Member Avatar for bradbobak

[code] #include <iostream> class base { public: void print() { std::cout << "base" << std::endl; } }; template< class B > class der : public B { int i; public: virtual void print() { std::cout << (B *)this << std::endl; B::print(); } }; int main(int, char **) { der< der< …

Member Avatar for bradbobak
0
307
Member Avatar for idontexist

I am trying to update my roguelike game, 'Get Out!!'. I have one simple question. How do I print an int at an xy coordinate using pdcurses and c++. i only know how to print char and const char[]. Thank you

Member Avatar for Salem
0
83
Member Avatar for zyaday

I got a BSc. in computer science over two years ago.. now i'm thinking of getting some more education on mostly programming and staffs. What does the MSc in computer science cover. Anything diffferent from what is mostly covered in the BSc programm??? I'm jsut confused if it would be …

Member Avatar for Rashakil Fol
0
139
Member Avatar for Seamus McCarthy

Hey can anyone offer me any advice on updating my customer file, I created the blank records and can create a record in the newCustomer function but can’t seem to access that record again for updating, does anyone know where I’m gone wrong. Any help would be greatly appreciated. [CODE]fstream …

Member Avatar for ku.bis
0
166
Member Avatar for MxDev

Hi guys, i've a problem when running java application connected with sqlite database the connection is done with netbeans IDE, but when i trying to run the application i get the following error [COLOR="Red"]init: deps-jar: compile: run: 06/12/2008 04:42:49 ص org.jdesktop.application.Application$1 run [COLOR="Green"]SEVERE: Application class desktopapplication3.DesktopApplication3 failed to launch javax.persistence.PersistenceException: …

Member Avatar for stephen84s
0
171
Member Avatar for mm2409

Hi, i have a html form for questionnaire whr i have few question. each one has 2 radio button (yes/no). if value for radio button 'yes' is selected then activate text box to write the comment. if radio button is selected for 'No' then text box should be disable. similarly …

Member Avatar for mm2409
0
937
Member Avatar for MxDev

hi, i'm trying to reference a class outside the current working package how to reference this class to create an object???

Member Avatar for stephen84s
0
48
Member Avatar for 666kennedy

basically here is my code, sorry if its untidy. you will see in the crossover function i want to use the rand. i get errors like "too many arguments for int rand()" [CODE] #include <iostream.h> #include <conio.h> #include <iomanip.h> #include <math.h> #include <stdio.h> #include <stdlib.h> #include <ctime> #include <cstdlib> #pragma …

Member Avatar for ArkM
0
155
Member Avatar for FrancisC07

i need a help on how to add the value of an array to another value of an array? i dont need the whole program.. i just want to know what will i do in order to add the 4 values of an array using the for loop statement. for …

Member Avatar for FrancisC07
0
191
Member Avatar for Tom Tolleson

Hi! I've got a table of, let's say, widgets. Each has a unique id (primary key) and a few other attributes such as widgetid (unique, number) widget_name (string) widget_price (varchar) widget_color (string) BUT, for each widget, I also want to list other widgets (that are listed in the same table) …

Member Avatar for Tom Tolleson
0
124
Member Avatar for asmit1987

Hello People , I am creating a project in VB.net . now the problem is there are several forms and i start with the login form my login consist of three major fields username , password , type now the type here is the type of user accessing the application …

Member Avatar for kinyuadave
0
170
Member Avatar for krhillery

Alright, so for the output: 0 2 4 6 8 10 1 3 5 7 9 11 3 6 9 12 15 18 6 10 14 18 22 26 ... (the pattern presented goes on forever) a code must be written to create it. I know I need a for …

Member Avatar for stultuske
0
127
Member Avatar for cVz

Hey can anyone give me the query to retrieve a list of databases on a server rather than this query [code]SELECT NAME FROM sysobjects[/code] which gives me a list of tables ???? Thank you

Member Avatar for cVz
0
175
Member Avatar for Kshiteesh

Dear frens, from your help I succeeded in creating data grid . Thank you for it. Now i need to generate report from data grid. my data grid code is as follows; Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Db1DataSet1.Clear() Dim conStr As String = …

Member Avatar for gomathinayagam
0
476

The End.