199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for matt611

I need to read a file one word at a time. When I read the word it needs to be stored in a char* so I can pass it into my hash function. Whenever I try getline or infile>> my program just crashes. could someone please tell me what I …

Member Avatar for ravenous
0
123
Member Avatar for cupryk

I need a login page. A registration page that has dropdownlists controls. for example: gender. occupation: date of birth: time zone: state/provinces: countries: I was designing using webservices for the dropdownlist but I want to see how other sites do this. I do not want to use webservices. I would …

Member Avatar for cupryk
0
84
Member Avatar for rdonr

Hi: Can anyone help me with this homework? Been trying to work it out but I'm still not getting how to do this. arggh..getting really frustrated:confused: This is impossible or sumthing yikes!

Member Avatar for Salem
0
137
Member Avatar for r5ingh

Hello, i'm a noob C programmer, learning it at university. We have been given an assessment which i need to complete asap. I have figured out the solution to the porgram (almost) but need some assistace. I have a Java and VB background and i cannot seem to get my …

Member Avatar for r5ingh
0
475
Member Avatar for DREAMER546

hey .. please i need tutorial 4 vector .. because i'm tring to convert this code from array to vector .. but i failed .. so i think my way is wrong .. :( [CODE=c++]#include<iostream> using namespace std; #include<string> #include<vector> class student_recored{ vector<int> ex; string name; long ID; public: void …

Member Avatar for DREAMER546
0
102
Member Avatar for iamconfused

[U]Hello...[/U] First of all hello to everyone... this is my first post. I did some 'googling' for help with C code and found this place, the reason I need help is because I am working on a (what I consider hard) project and (only) a week and a half to …

Member Avatar for iamconfused
0
218
Member Avatar for eleonora

Could you please help me / explain me how to create a four in a row game in python? Thanks!

Member Avatar for G-Do
0
2K
Member Avatar for nanaman

Ok I have to write a program that creats an ADT to store a set of cards that are imput so that i can use the command (a-card rank suit) and (rank card) (suit card) to firstly construct the card and then return its rank and suit. Unfortunately I am …

Member Avatar for Duoas
0
117
Member Avatar for DeadJustice

Hi, its me again. I need help one last time. This time my problem is pretty simple, I just can't find it myself it seems. Please lend some assistance. Here's my assignment. [QUOTE]Create a program that takes in 2 integers and displays the result of dividing the two integers. This …

Member Avatar for DeadJustice
0
96
Member Avatar for dmah2007

HELP.....our web server requires we use an ASP page to redirect our 20 URLs to subwebs. This I can deal with. However, we want clients to be able to go directly to a page within a site by typing in [url]www.WillametteValleyCrane.com/payment[/url] and get redirected to the page in the web. …

Member Avatar for CertGuard
0
276
Member Avatar for drvd80

Hello Peers, I have a sequence of data files (Site_1.txt, Site_2.txt,.....,Site_N.txt) that i need to read into my main program. Although I managed to construct the file names (as character arrays using sprintf), I am not sure of how to pass them to the ifstream, as it needs the file …

Member Avatar for Duoas
0
2K
Member Avatar for Duki

Ok, I'm going post all of my code, and hopefully someone can tell me where my error is at. I'm guessing I need to do a cin.ignore() somewhere, but I'm not sure where. I've tried it in a couple of places, but nothing has fixed the problem completely. [code=c++]#include <string> …

Member Avatar for jbennet
0
242
Member Avatar for puneetkay

Hello all, I have created few programs & then i reinstalled windows on my pc & now all programs isnt working ? Whenever i try to run them its shows Application Error - [B]The application failed to initialize properly (0x0000135). Click on OK to terminate the application.[/B] then i try …

Member Avatar for zandiago
0
101
Member Avatar for picklesandmayo

I am writing a program that generates 2 random #'s then asks the user to give the product of the 2. I have everything (close to) working except the input. I even added a "cheat" to display the answer [inlineCODE]prod[/inlineCODE] and when inputting the exact same #, it is registering …

Member Avatar for vmanes
0
96
Member Avatar for scru

Why is direct x so hard for me to understand? Usually I'm fast to catch on to things relating to programming, but this gives me headaches. Has anyone tried learning Direct X? What was your experience? Is it that it's just not up my alley?

Member Avatar for addy999
0
175
Member Avatar for anshul.dilli

hi plz help me overcome a few errors in my encryption project.... thanks [CODE]#include <iostream.h> #include <stdlib.h> #include <fstream.h> #include <stdio.h> #include <string.h> #include <dos.h> #include <conio.h> char passwrd[6]="",pw[7]; char pass[7],code; void genpassword(); void getpassword(); void doCrypt(char *cool) { int cryp; //the main int this function uses char x; //to …

Member Avatar for anshul.dilli
0
112
Member Avatar for picklesandmayo

I have a switch statement with 2 functions. I put 2 test [inlinecode]cout [/inlinecode] statements, both of which get displayed, but only one function is actually performed. A third test [inlinecode]cout [/inlinecode] statement is made in the second function, but that does not get displayed. "switch" and "switch2" get displayed. …

Member Avatar for picklesandmayo
0
102
Member Avatar for johnnyjohn20

Hi, I am trying to set up a program to allow the user to enter an odd number between 3 and 31. The program will then divide 360 between 1 and the user input-1. For example say the user enters 7, the program should divide 360 to each value 1, …

Member Avatar for vijayan121
0
109
Member Avatar for ferhatkuskaya

Hi Can you tell me how I will add labels to buttons in delphi? When I add labels to button the labels are coming under the button but I want to see the labels on the button just as tag of buttons can you help me about that problem. Thank …

Member Avatar for Duoas
0
111
Member Avatar for n5eea

Hello, I'm a newbi to both scripting and asp. I aneed to understand this error message being received from an existing web page. This is displayed on most page refreshes. “Microsoft VBScript runtime error 800a0005 invalid procedure call or argument ‘mid’ /notify_shipped asp, line 24 The website uses MySQL for …

Member Avatar for CertGuard
0
763
Member Avatar for mikeandike22

The program calculates the standard deviation by having the user input the list of numbers into an array. So i get these errors on the program error C2057: expected constant expression error C2466: cannot allocate an array of constant size 0 error C2133: 'Nums' : unknown size here is the …

Member Avatar for Nick Evan
0
282
Member Avatar for KiltedScot

OK, I'm fairly new to PL/SQL, adn I have a query to write, which is confusing me. Let me explain: I have a table, with three fields, CustID, CustName, Number What I want to do, is identify and display all rows in the table, where the last four digits of …

Member Avatar for debasisdas
0
110
Member Avatar for pritia

hi can anyone tell me in which site i'll find good [U]detail steps[/U] for [U][B]deployment[/B][/U] steps in [U]vb.net 2005[/U]

Member Avatar for emurf
0
121
Member Avatar for blackslash13

Which is the most suitable source code? I need a programmer with a large experience on C++ to answer this question. [code] #include <string> #include <iostream> #include <limits> int main() { using namespace std; const int THISYEAR = 2007; string yourName; int birthYear,bad_input; cout << "What's your name ? " …

Member Avatar for Salem
0
104
Member Avatar for scunnywhite

import javax.swing.JOptionPane; public class conversionweight { public conversionweight() { String ans; ans = JOptionPane.showInputDialog(null, "Enter Weight in Stone.Pounds" ); double stones = Double.parseDouble(ans); double pounds = 14 * stones; double kilos = 0.45359237 * pounds; JOptionPane.showMessageDialog(null, " weight in Kilos = " + kilos); System.exit(0); } } my task was …

Member Avatar for scunnywhite
0
84
Member Avatar for c.kiranmayee
Member Avatar for Amnah AL-Abdi

hello..... iam new memeber,and may be my quistion is easy to ask it,but really i need to help me in my problem. we know that the size of any array must be determined befor the running time,since it static location, my quistion is: if i need to make aprogramme in …

Member Avatar for ithelp
0
84
Member Avatar for adikesan

Hi I want to know about the use of linked list in C and also about its working and syntax. Please tell me about this.

Member Avatar for rajusankar28
0
125
Member Avatar for Java-Newbie

Hello and Happy Thanksgiving (to those who celebrate it), I have a small program that needs to read data off of a text file (name, city and age) and store it in an array. The program asks the user for a city name, and it's supposed to loop through the …

Member Avatar for Java-Newbie
0
508
Member Avatar for mauriciomf

I tried strcpy() to copy AnsiStrings, but is only for (char *) type. Anybody knows how to do this, i'm using Borland C++ 6.0.

Member Avatar for mauriciomf
0
90
Member Avatar for cullguy

plz give me the code to make a frame transparent so that only its contents are visible....

Member Avatar for peter_budo
0
51
Member Avatar for mike4

Hey, Ad like to know the capabilites of users browser in code so that i give her the codes for her browser I would like to do this without using the deprecated globals like $http_user_agent and $http_accept Actually I would like to have two php scripts for my site one …

Member Avatar for mike4
0
61
Member Avatar for trupti
Member Avatar for addy999
0
154
Member Avatar for kidjl

Hello everybody. I am beginner in programming.....However, recently i recieved a simple assigment from my Professor. The assigment asks me to use C++ and create a programe that will display a series of Fabonacci numbers after the user enter a number . For example if the user enter 10 , …

Member Avatar for jbennet
0
145
Member Avatar for pickachu

Hi. Can anyone help me on my code? I wanted to delete a data inside a array, so what I did was to move the the array into another array without the one that is to be deleted. It is working if the user only wants to delete a single …

Member Avatar for masijade
0
80
Member Avatar for powellinthesout

I don't know which one to use, cC or C++. I want the user with the client to be able to register, login, interact in the game with others, and log out. Can anyone point me in the right direction? Thank You!

Member Avatar for powellinthesout
0
118
Member Avatar for ferhatkuskaya

Hİ THANK YOU FOR YOUR LABEL COMMENTS LETS FORGET THAT QUESTION. I have chosen it with a different solution and :). now I want to know how I will use the message buttons with if conditions... I dont know why my message dialog box's message values are passive in my …

0
94
Member Avatar for bilalb1

hi hope u guys are well... i am using a linux command (with system() call in my c++ code) to search all files with in the system and then store the results in the a file(say filename). i am piping this with tail --f filename to display the results while …

Member Avatar for bilalb1
0
232
Member Avatar for bilalb1

Hi Hope u r all well... here is my problem... i want to remove duplicate entries from a text file while maintaining the order of the text say if the text file contains 123zabc 456def 123abc 456def. 123def 456def 123abc i want the result to be like 123zabc 456def 123abc …

Member Avatar for bilalb1
0
744
Member Avatar for lydia21

hi All jobtitle will be displayed in a table with hyperlink.when the jobtitle is clicked.it should fetch description,email etc from the database and display it. please tell me how to link the pages based on the tobtitle or id....when the hyperlink is clicked it is not displaying the data from …

Member Avatar for lydia21
0
132
Member Avatar for java.cream

[CODE]1 write out “Enter the amount: ” 2 readinAmount 3 WithVat ← Amount * 1.175 4 write out “With VAT added that becomes ”, WithVat[/CODE] If a design (or program) is purely sequential, with no loops, [COLOR="Red"]it might be thought to be very limited; the above VAT design is not …

Member Avatar for java.cream
0
102
Member Avatar for LudwigFF

I am using VB 2005 Express Edition. I have adatagrid that cloumns bound to 3 different sql database tables. There are 2 columns that I want to link to each other. The one is a Client column and the other a clientid column. Both these columns are bound to a …

Member Avatar for Jx_Man
0
77
Member Avatar for adrive

guys, I can't seem to find any info on how to pass a list of checked checkboxes through POST method of ajax. Unlike traditional forms, when you submit a button, a list of selected checkboxes with the same name will allow you to retrieve it at the server side (php …

Member Avatar for somedude3488
0
97
Member Avatar for enuff4life

the function, IsPalindrome is recursive. it checks character array from 0 to end of it. i have warning message control reaches end of non-void function... whats wrong with this code? [CODE=C]int main() { length = strlen(string); boolean = IsPalindrome(string, 0, length); ... } int IsPalindrome (char* string, int left, int …

Member Avatar for WaltP
0
145
Member Avatar for kehar

Hi, I have downloaded data recovery software to recover my deleted data from Hard disk from [url]www.softperfect.com[/url] but when I try to open the recoverd file both by double click method and from file menu of the application, every time a message saying the document name or path is not …

Member Avatar for kehar
0
104
Member Avatar for NoobertGames

i am a newbie as far as game programming goes and i was curious what would be the best programs to learn if i was to make a 1 player rpg for the pc. i have always wanted to make one and i came up with a really good idea …

Member Avatar for addy999
0
124
Member Avatar for Tauren

Hello, Everyone ever think ok World of warcraft How they made it??? Well now is your chance for YOUR skills to come together in a MMORPG We will need information!!! I also Am wondering will C++ Work for A game or do I need some other skill??? Need level designers …

Member Avatar for addy999
0
746
Member Avatar for snowflake

Here is the implement for the Merge Sort function in my ADT. I am able to get Bubble Sort and Quick Sort working, but I get a Heap Corruption Error. template<class Type> void listType<Type>::mergeSort() { recursiveMergeSort(0, (maxSize - 1)); }//end of "mergeSort" template<class Type> void listType<Type>::recursiveMergeSort(int first, int last) { …

Member Avatar for snowflake
0
164
Member Avatar for enuff4life

in doing C, in my function OpenData, it takes a point to array in main, take command-line argument name, and arraysize pointer. i get warning passing arg of 'function' makes integer from pointer OR pointer from intgeger without a cast... what does it mean? and i get con [CODE=C]int main(int …

Member Avatar for Ancient Dragon
0
120
Member Avatar for dc_24l

hey i would just like to ask. example i have lstbox named lst1 and another listbox named lst2 when i click on a certain data on the lst1 it would also select the corresponding array of the data in lst2. anyone has an idea? thanks.

Member Avatar for dc_24l
0
152

The End.