132,726 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for haringmunti

Hi Guys, Im learning about ADO and Im learning it from a website. I followed all the directions and copy pasted the example. For button next, previous and last command button, it tells me there is an error. the error say that an Identifier is expected in Me.BindingContext(DataSet21, _ "table1"). …

Software Development dataset vb.net
Member Avatar for haringmunti
0
103
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 …

Software Development c++
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 …

Software Development asp asp.net
Member Avatar for cupryk
0
84
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 …

Software Development c
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 …

Software Development c++
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 …

Software Development algorithm c
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!

Software Development python
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 …

Software Development
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 …

Software Development java
Member Avatar for DeadJustice
0
96
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 …

Software Development c++
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> …

Software Development c++
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 …

Software Development
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 …

Software Development c++
Member Avatar for vmanes
0
96
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 …

Software Development c++ encryption file-stream
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. …

Software Development c++
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, …

Software Development c++
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 …

Software Development delphi pascal
Member Avatar for Duoas
0
111
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 …

Software Development c++
Member Avatar for Nick Evan
0
282
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]

Software Development vb.net
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 ? " …

Software Development c++
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 …

Software Development java java-swing
Member Avatar for scunnywhite
0
84
Member Avatar for c.kiranmayee

c prg to simukate a car wheel and steeering

Software Development c++
Member Avatar for ithelp
0
85
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 …

Software Development c++
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.

Software Development c linked-list
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 …

Software Development java
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.

Software Development c++
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....

Software Development java
Member Avatar for peter_budo
0
51
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 , …

Software Development c++
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 …

Software Development java
Member Avatar for masijade
0
80
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 …

Software Development pascal
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 …

Software Development shell-scripting
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 …

Software Development c++ unix
Member Avatar for bilalb1
0
744
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 …

Software Development c++ operating-system
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 …

Software Development vb.net
Member Avatar for Jx_Man
0
77
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 …

Software Development c++
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 …

Software Development visual-basic
Member Avatar for kehar
0
104
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) { …

Software Development c++
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 …

Software Development c++
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.

Software Development visual-basic
Member Avatar for dc_24l
0
152
Member Avatar for PicoDoM

So, I am slamming my head into my desk right now. I am trying to take a string containing unicode character codes and convert it to a python unicode string. I thought it would be simple, but I am having major issues. Any help would be greatly appreciated. This is …

Software Development python
Member Avatar for PicoDoM
0
664
Member Avatar for dev.cplusplus

Hi to all, I have the following request/question: I’ll tell my history: I’m working in a company like a C++ programmer (for almost a year), lately I feel like I’m not going forward professional talking. I’ll explain myself: I receive assignments like fix BUGS or write small functions in the …

Software Development c++
Member Avatar for Ancient Dragon
0
101
Member Avatar for rogenie

here is my code. I don't know why it always returns the value that i do not ask for.?? This code display the name I typed in if it is inside the array. [CODE]//this will sort strings using selection sort #include <iostream> using namespace std; const int NUM_NAMES = 20, …

Software Development c++
Member Avatar for WaltP
0
128
Member Avatar for ricnyx

im the newbie among the newbie .....need a nice and patient guy who willing to guide me of my assignment.....cause the deadline is tis weekend......i dun know or can say hard to post the problem out...cause too many.............need urgent reply.........can msn ??? pls pls pls pls...........i got plenty of question …

Software Development c++
Member Avatar for bilalb1
0
110
Member Avatar for picklesandmayo

Hello, I am a new CS student and I am taking a C++ course. I am running into problems with a simple number generation program. Basically, I have to generate 2 single digit numbers and then request the user to multiply them. (I know there is nothing in there yet …

Software Development c++
Member Avatar for picklesandmayo
0
125
Member Avatar for hatemkhzouz

Hi All , this is the first time i've entered this site ,and welling to help me about using visual basic 6.0 to connect with an excel sheet to be retreived it's data into the V.B. So, If you please i need the V.B Code to complete my object. thanx …

Software Development visual-basic
Member Avatar for hopalongcassidy
0
157
Member Avatar for malathuis

Need to Modify my codes to include a function for both A and B. The function for A should have the quantity of numbers passed in as a parameter and needs to return the largest number. The function for B should have no parameters and return the smallest number. What …

Software Development c++
Member Avatar for malathuis
0
125
Member Avatar for newlive

Hello all, i want to get soap message with xpath my code is: [CODE] <?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE xml (View Source for full doctype...)> <xml rde-rd:content="spreadshirt2.xml" rde-rd:datalanguage="de" rde-rd:leasingtime="0" rde-rd:locale="de" rde-rd:project="testwebservicegoogle" rde-rd:rdeContentType="0" xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:rde-dm="http://www.reddot.de/rde/ns/dm" xmlns:rde-fdl="http://www.reddot.de/rde/ns/fdl" xmlns:rde-idea="http://www.reddot.de/rde/ns/idea" xmlns:rde-rd="http://www.reddot.de/2000/rde/rd" xmlns:rde-rdf="http://www.reddot.de/rde/ns/rdf" xmlns:rde-xmaps="http://www.reddot.de/rde/ns/xmaps" xmlns:rdf="http://www.w3.org/TR/REC-rdf-syntax/" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:xsl-template="http://www.reddot.de/rde/ns/template"> <dynaments> <SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://www.spreadshirt.net//services.php/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> …

Software Development xml
Member Avatar for pgfearo
0
88
Member Avatar for johnpmii

Hello, I'm tring to read a text file and pull pieces of the line into separate functions. I can open and close the file in the main. When I use the getline() it reads the whole line, I only want to read up to a certain point using strings instead …

Software Development c++ file-system
Member Avatar for Duoas
0
161
Member Avatar for phalaris_trip

I know this is a slightly esoteric question, but I'm just curious how you guys define your function macros. Do you put a semicolon at the end or not? For example: [code=cplusplus] #define EVENT_RESIZE(_event) ::SDL::HandleEventResize(_event, hScreen, fnSDLKey); // or #define EVENT_RESIZE(_event) ::SDL::HandleEventResize(_event, hScreen, fnSDLKey) [/code] In the first case, the …

Software Development c++
Member Avatar for phalaris_trip
0
96
Member Avatar for Dha_King

Hello, i have a easy problem for u guys =). I have searched the webb but can't find a solution for it. How do i solve this kind of problems, Sorry for the spelling as usual ;)? [code] Text::Text(const char ch) { strcpy(m_str,ch); }[/code] m_str is a char *. ch …

Software Development c++
Member Avatar for Dha_King
0
1K

The End.