199,114 Archived Topics
Remove Filter ![]() | |
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 … | |
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 … | |
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! | |
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 … | |
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 … | |
[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 … | |
Could you please help me / explain me how to create a four in a row game in python? Thanks! | |
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 … | |
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 … | |
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. … | |
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 … | |
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> … | |
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 … | |
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 … | |
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? | |
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 … | |
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. … | |
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, … | |
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 … | |
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 … | |
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 … | |
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 … | |
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] | |
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 ? " … | |
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 … | |
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 … | |
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. | |
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 … | |
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. | |
plz give me the code to make a frame transparent so that only its contents are visible.... | |
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 … | |
i want to do hobby project in c please can u help me? how to implement that? | |
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 , … | |
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 … | |
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! | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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) { … | |
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 … | |
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. |
The End.