199,124 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for Venom Rush

Hi everyone I'm looking for advice on building up a database. Any sort of general do's and don't s. The one and only thing that I realize is that putting ALL my info into one table is not a good thing. This is the first database I'll be creating so …

Member Avatar for jbennet
0
111
Member Avatar for dsujatha_uns

Hi! I need code to draw a dynamic graph by taking values from database in php. i need in windows. Plz replie as early as possible. byee..

Member Avatar for johnrobert
0
59
Member Avatar for MattEvans

When compiling under MSVC I get warnings about using 'this' explicitly in a constructor's initializer list. I don't get warnings if I use the return from member functions though, even member functions that return 'this'. I also experience no noticeable problems in any test* but; is using 'this' there bad, …

Member Avatar for MattEvans
0
555
Member Avatar for superjacent

[CODE="cpp"]// strgback.cpp -- a function that returns a pointer to char // C++ Primer Plus, Fifth Edition // Chapter 7, Page 312. // Listing 7.10 // 10 Dec, 2007. #include <iostream> char * buildstr(char c, int n); // prototype int main() { using namespace std; int times; char ch; cout …

Member Avatar for superjacent
0
135
Member Avatar for dblbac

i have my whole program written but when it prompts the user if they want to play again(y/n) there is a 1 after it and i cammot figure out why. any help would greatly appreciated here is my program: [CODE=c++]#include <iostream> #include <cstdlib> #include <ctime> #include <conio.h> using namespace std; …

Member Avatar for dblbac
0
118
Member Avatar for Mohammad21

Hey, I decided I'm going to try to make a small game, now I need help though since ussally I use Ruby and Python not C++. The help I need is in find an server / client libary (sorry for my sentences beeing so choppy dunno why today) If someone …

Member Avatar for Ancient Dragon
0
119
Member Avatar for jrice528

Ok, I am setting all elements in the array to 0... If all elements are 0, i want it to display "No inventory" if there is something in the element, i want to display only its contents.. Heres the code, how do I make it display No Inventory only when …

Member Avatar for Ancient Dragon
0
292
Member Avatar for Dean_X

I need this program to be able to display 4th quarter inventory in this format: October 200 November 250 December 350 I need it to display in an array. This what i have so far: [code]#include <iostream> #include <fstream> #include <iomanip> using namespace std; int main() { const int N_MONTHS …

Member Avatar for Ancient Dragon
0
115
Member Avatar for dotNetDummi

Hi all, I have a gridview in my project. There is a cell that contains a dropdownlist, textbox and button. My task is when the use clicks "others" in the dropdownlist, the textbox and button should show so that they can add new value into the dropdownlist. But I got …

Member Avatar for dotNetDummi
0
663
Member Avatar for ytregnn

Hey, I wondering how I can make a "popup"-window (think it is done with Ajax) in the same browser-window? Click on one of the images in the link below for an example of what I mean. [url]http://www.railbirds.com/pictures/2/[/url]

Member Avatar for ytregnn
0
70
Member Avatar for jaepi

Hello there, I'm currently at the peak of my coding when I suddenly experienced this really really weird behavior. My compiler (gcc) tells me that one of my functions are not declared in the class (which resides in my .h file). I used the same global variable object to the …

Member Avatar for jaepi
0
890
Member Avatar for im_desperate

Hey i have to write a program that will prompt the user to write sentences and those sentences will be written until the user type "stop". i though of doing such a thing but its not doing what i want because i want each input to be on a new …

Member Avatar for im_desperate
0
139
Member Avatar for eleonora

Hey i have to create a 2D array of rows and columns which will takes a row and a columns as a paremeter and enters a string into that positions. I managed [i think so] to create the array but i cant find a way of getting from the user …

Member Avatar for eleonora
0
393
Member Avatar for iseedeadpeople

Ok, i used a couple C++ programming books to help me make a calc. A friend of mine suggest that i make a "Would you like to solve another problem? (Y/N)" and Y loops back and N closes the program. here is my code: [code=c++] #include <iostream.h> int Add(int num1, …

Member Avatar for Ancient Dragon
0
102
Member Avatar for nicz888

[code=c++] #include <iostream> using namespace std; void main () { char *tokenString, *c, string[80]; cout << "Input a string: "; cin.getline(string, 80); cout << "The entered string is: " << string << endl; c = string; while (*c) { if ((*c >= 'a') && (*c <= 'z')) *c = (*c …

Member Avatar for Ancient Dragon
0
127
Member Avatar for jaux

Yesterday I saw a question that was asking to prevent creating objects on heap. After some thoughts, I came out the following: [code] class Foo { public: Foo(const Foo& f) {} static Foo getAnInstance() { return Foo(); } private: Foo() {} }; [/code] But this can only guarantee the first …

Member Avatar for jaux
0
120
Member Avatar for ahmed_hossni

hi all ;; i'm so glade to join u ,, i want ti ask about my problem in using borlandc++ 3.11 under windows vista home edition , i wrote the following program ..& i runs perfect on windows xp(on my desktop computer) but while trying it on my laptop dell …

Member Avatar for ahmed_hossni
0
106
Member Avatar for orcboyx

I cannot get the bullseye to replicate itself 5 times even though I've already set the count to 5... any suggestions? import java.awt.*; public class Bullseye { /** Creates a new instance of Main */ public Bullseye() { DrawingPanel Target = new DrawingPanel(300,400); Graphics g = Target.getGraphics(); bullseye(g,100,100,50,5); } public …

Member Avatar for orcboyx
0
750
Member Avatar for majestic0110

HI all, this app is a simple game where the objective is to avoid incoming balls (adversaries) however at present I can only figure out how to get one ball on screen at a time. What I'd really like is, when a player hits 100 points, a second ball is …

Member Avatar for majestic0110
0
118
Member Avatar for infomanas

Hi, maybe can you can help me. I need to write a pascal a program which would read text file from hard disk and would sort all text's words to 3 columns, and would save results to the another file. Let's say that we have no more than 1000 words …

Member Avatar for Duoas
0
78
Member Avatar for ally1002

hello all. i am creating a program that helps write quizzes,(quizcreator),(the user chooses the type of question like t/f or multiple choice and i set it up for them and they just add the text for the question) but the thing is i need to save the final quiz created …

Member Avatar for ally1002
0
84
Member Avatar for ConfusedMuchMor

sorry didnt attach the file so here we go!! Hi Everyone I'm using a timer to shink a form, i've got it working now, but I don't understand why it didn't work is the first place, or why my change made it work!!???!!! in line 38 of my code (Toggle …

Member Avatar for scru
0
86
Member Avatar for sbenware

I'm getting the following errors at compile time in Cygwin using gcc, but I'm not sure what they mean. My program runs without problems. Do I need to change the names of these operations? I'm afraid to tweak anything since it's working. 42: Warning: translating to `fmulp' 53: Warning: translating …

Member Avatar for sbenware
0
216
Member Avatar for kobi

Hello , I have created an treeview control in C# form,how can i load this control to my HTML page? Thanks

Member Avatar for yagiD
0
94
Member Avatar for mikp_mik

hi friends iam working with c graphics i need to convert color images to grey scale using c graphics. If any algorithm available to help me please post.. waiting for replies.

Member Avatar for Duoas
0
138
Member Avatar for Caldrifter

I am using this computer (specs below) for gaming (Flight Simulator). On the former system before this one, I used a utility called GameGain which seemed to help increase my frame rates. Since this system has much more muscle than the system that I replaced, if anyone has used GameGain, …

Member Avatar for FireNet
0
126
Member Avatar for its.romi

Added binary Tree just to help others..... [code=c] #include<stdio.h> #include<conio.h> #include<stdlib.h> void formatting(void); int input(void); struct binTree* createNode(struct binTree*,int); void insert(struct binTree*, int); struct binTree* searchNode(struct binTree*, int); struct binTree* search(struct binTree*, int); void dispTree(struct binTree*); struct binTree{ int item; struct binTree *leftChild, *rightChild; }*root=NULL, *node; void main(void) { char …

Member Avatar for Narue
0
119
Member Avatar for vardhani

if my url is [url]www.x.com[/url] n i have an inner directory [url]www.a.x.com[/url] how do i check the url is right or not n lead it to an error page

Member Avatar for FireNet
0
189
Member Avatar for emmanueloladele

Hello All, I learnt Curl can solve some of my pressing PHP problems. I can't seem to get enough documentation on how to fully use the power of Curl- I need a helper. Can Somebody so kind, send me an electronic document on Curl ? It will be impossible to …

Member Avatar for FireNet
0
158
Member Avatar for ConfusedMuchMor

Hi Everyone I'm using a timer to shink a form, i've got it working now, but I don't understand why it didn't work is the first place, or why my change made it work!!???!!! in line 38 of my code [code] this.Width -= 30;[/code] the 30 was originally 10, the …

Member Avatar for scru
0
120
Member Avatar for ibeast

hi well i have a program that can print wav data in a text file. Is it possible to make a wav file with the available data from the text file and play it in VB. Playing the file isn't that difficult, but i m still scratching my brains as …

Member Avatar for hkdani
0
180
Member Avatar for strangeplant

Hi All, I need the help of a real expert because I'm still having difficulty with this Ajax technique. I have posted before about this on another site forum, but no replies (sigh). The script below works with FF only when the alert is in the code, and doesn't work …

Member Avatar for hielo
0
991
Member Avatar for Ravenous Wolf

am i the only one who thinks that c# screen development really sucks? i have just completed the silly task of repeating the same 30 lines of code sixteen times. and why, some might ask, are you so silly to do that? it is because, unlike java and visual basic …

Member Avatar for latitude7ds
0
100
Member Avatar for talk2tisa

Hi again, I've figured out how to get the program to do what I need it to do, except it is doing the last thing twice and I can't figure out how to change it so it does it only once. Please provide some direction. I've attached the files.

Member Avatar for WaltP
0
102
Member Avatar for johny112

this is the exact problem: Write a routine to sort the ten-number list shown in ‘Sample Screen Output’ below, and then make the following modifications to improve the performance of the bubble sort: Sample Screen Output Data items in original order 2 6 4 8 10 12 89 68 45 …

Member Avatar for WaltP
0
95
Member Avatar for Oxiegen

Hi! I don't know if this has been answered already and a search gave to many results. I have a website that is built with ASP.NET and that uses some javascript. When I run a debug on localhost to check for errors the ASP.NET code works just fine, but every …

Member Avatar for hielo
0
205
Member Avatar for 71monaro

The brief ive been given is to write a Java prg to take some command line arguements of the form JavaProg -n[anInt] -o[inputFileName] -o[outputFileName] -s[aStringWord] and then use them. Now I understand very basic args[] use. But in the brief there may be missing args and placed out of order. …

Member Avatar for masijade
0
108
Member Avatar for rayy

i want to write a c++(console) programme for a voting system that accepts names of candidates and the votes they had and sort these votes in descending order to show the winner. how do i go about it. thanks. this is the what i have been able to do so …

Member Avatar for Nick Evan
0
87
Member Avatar for nazrulcckl

Hi I am new in VB.net . I dont know how to connect vb.net with sqlserver. Would any one help me regarding this . Thanks Nazrul

Member Avatar for Jx_Man
0
85
Member Avatar for Nidaa87

radix sort: an example : Original, unsorted list: 170, 45, 75, 90, 2, 24, 802, 66 Sorting by least significant digit (1s place) gives: 170, 90, 2, 802, 24, 45, 75, 66 Notice that we keep 2 before 802, because 2 occurred before 802 in the original list, and similarly …

Member Avatar for Nidaa87
0
93
Member Avatar for FallenPaladin

Hi I am experimenting with VBScript and SQL and am unsure if the following code will actually work. I do not have access to IIS at present so I am unable to test it. I would be greatfull if anyone could just take a brief look at the code to …

Member Avatar for SheSaidImaPregy
0
116
Member Avatar for jjamd64

#I'm quite new to scripting and my boss has asked me to solve a simple problem and sadly, I can't figure out how to do it. Any help is appreciated very much. #The following is a small shell script and the output that it produces for google.com. #!/bin/sh whois $1 …

Member Avatar for radoulov
0
127
Member Avatar for bpage

Hi, I am trying to do a pretty basic project for my computer science class. The part that is giving me trouble is where the user needs to input every letter of the alphabet in a random order but only each letter can be inputted once. I was wondering if …

Member Avatar for bpage
0
158
Member Avatar for Jananee
Member Avatar for driplet

there is a intrinsic function, ichar(C), to convert character to a numerical value (ASCII?) in FORTRAN. Can any one tell me a similar function in C++?

Member Avatar for Ancient Dragon
0
90
Member Avatar for Roebuc

Hello all, I do hope it is not a sin to say Mod in a Game Development Forum but I coudn't find another one that would cover this. I would like to do a pretty big overhaul to a game. I am IT and I do some web development, I …

Member Avatar for FireNet
0
87
Member Avatar for radha_athithan

hai, I need complete java code for image to binary conversion. Please help me.

Member Avatar for raja baba
0
90
Member Avatar for Ruzhyo2000

How would you go about making a game using a text user interface? I would rather this my game not use a command line input / output interface but instead a TUI like those in the multitude of rougelike games out there. I already have a pretty good understanding of …

Member Avatar for FireNet
0
75
Member Avatar for mugenoid

I am doing a game and i need to refresh the screen to make it less messy, Can anyone teach me how to do plz?

Member Avatar for FireNet
0
750
Member Avatar for bcm

<applicationSettings> <WindowsApplication1.My.MySettings> <setting name="Astrology" serializeAs="String"> <value>6</value> </setting> <setting name="Cricket" serializeAs="String"> <value>7</value> </setting> <setting name="Foreigncurrency" serializeAs="String"> <value>8</value> </setting> <setting name="Jobs" serializeAs="String"> <value>9</value> </setting> </WindowsApplication1.My.MySettings> </applicationSettings> I want to display 6, 7, 8, 9 in different textboxes. How can I do that in [COLOR="Red"]VB.NET2005[/COLOR] Please help

Member Avatar for bcm
0
81

The End.