199,124 Archived Topics
Remove Filter ![]() | |
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 … | |
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.. | |
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, … | |
[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 … | |
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; … | |
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 … | |
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 … | |
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 … | |
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 … | |
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] | |
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 … | |
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 … | |
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 … | |
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, … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
Hello , I have created an treeview control in C# form,how can i load this control to my HTML page? Thanks | |
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. | |
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, … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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. | |
![]() | 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 … |
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 … | |
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. … | |
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 … | |
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 | |
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 … | |
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 … | |
#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 … | |
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 … | |
| |
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++? | |
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 … | |
hai, I need complete java code for image to binary conversion. Please help me. | |
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 … | |
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? | |
<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 |
The End.