199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for towhoe260

This is our assignmenWrite a program to convert between yards and meters. Your solution must utilize functions to perform the conversions. Your functions must meet these requirements: One of the functions must use pass-by-value, returning the converted measure One of the functions must use pass-by-reference to store its result (the …

Member Avatar for WaltP
0
202
Member Avatar for jray344

I need to write a recursive function reverseInput that until the user enters zero it keeps on accepting numbers, then when done, outputs them in reverse order. Only thing, i cannot use strings or arrays or anything of the like and it must be done in one recursive function. It …

Member Avatar for Ancient Dragon
0
117
Member Avatar for Kishor.hegde

what is the source code for this [code] ABCDEFGFEDCBA ABCDEF FEDCBA ABCDE EDCBA ABCD DCBA ABC CBA AB BA A A [/code]

Member Avatar for carlarolan
0
151
Member Avatar for rani_techie

Hello Everyone, In my application i need to select a file using open dialog box. And then i dont need to open the file. I just need to display the name of the selected file in a text control. And then open the file in later part of the program. …

Member Avatar for rani_techie
0
517
Member Avatar for blramsey

Hi everyone I am working on this project that involves programming the EEPROM chip using assembly language but I do not know how to go about doing this. I am suppose to be able to read from, write to, edit, and erase the eeprom. What can I do? Where do …

Member Avatar for vigneshvh
0
109
Member Avatar for WhitePunk

I formatted my computer and I want to install the visual basic 6.0... I can’t install it using my installer... I’m enjoying making programs and of course experimenting… hehehe… So I just wanna ask... If there’s any possible website where I can download to install visual basic??? Thanks and more …

Member Avatar for WhitePunk
0
90
Member Avatar for Simran3

Reading from text files........I have to read in a file which contains the list of all service calls to be done today, the calls have to be assigned based on how far the area is in the 10X10 grid of the sector, assuming the office is in the middle say, …

Member Avatar for Simran3
0
104
Member Avatar for verbob

This is an annoying error...tried re-writing the code a few times...deleting and recreating the table...etc...still the same result: " ... You have an error in your SQL syntax; check the manual that corresponds to your MYSQL version for the right syntax to use near 'desc) VALUES ( '', '1', '1', …

Member Avatar for verbob
0
115
Member Avatar for jray344

I don't understand functions that accept a variable number of arguments. I want to make a program with a max function taking any number of type double and returns the greatest of them

Member Avatar for jray344
0
269
Member Avatar for jbstin

Please help me to write a programme to add two matrices. The matrices should be o 3*4 and must have necessary commend lines so that i can catch it correctly. anyone help me pls?

Member Avatar for WaltP
0
115
Member Avatar for squidd

I have it coded to where a small list can have dupes removed rather efficiently. But, the larger the list gets, the longer it takes to the point that it is better to not even try. A list of 15,000 lines would takes hours and hours... probably longer to remove …

Member Avatar for squidd
0
807
Member Avatar for nemoo

[COLOR="Green"]here is my program i think that it's right[/COLOR] [code=c++] #include<iostream.h> int main(){ int n,i=3; cout<<"please enter number to see weither it is a prime one or not"<<endl; cin>>n; if(n==2||n==3){cout<<n<<"is prime number"<<endl;} else if(n%2==0) {cout<<n<<"\t is not prime"<<endl;} else{ for(i=3;i<n;i+=2) { if(n%i==0) {cout<<n<<"\t is not a prime number"<<endl;break;} else { …

Member Avatar for vmanes
0
107
Member Avatar for Brent.tc

I have newly made my bcstring class, and it is having some strange errors. I have given it the ability of dynamically allocating memory. If the memory to be allocated is already allocated, nothing happens (correct/non-problematic); If the memory to be allocated is greater than that that is allocated, and …

Member Avatar for Ancient Dragon
0
158
Member Avatar for chris53825

Hey guys, I'm trying to read from a file and put each column into it's corresponding array. [code] % P_ID CPU_burst I/O_burst Priority 0 10 4 2 1 8 2 1 2 12 0 5 while ((Line=myInput.readLine()) != null) { StringTokenizer s = new StringTokenizer(Line); //System.out.println(Line); pid[counter]= Integer.parseInt(s.nextToken().toString()); cpu[counter]= Integer.parseInt(s.nextToken().toString()); …

Member Avatar for chris53825
0
99
Member Avatar for Rick1980

Hello All, I know that there is a similar thread about my problem, but I can't find it anymore. Well basically I want 2 objects to know from each other. I know that in C++ I have to use pointers to do that. I wrote some sample code to show …

Member Avatar for Rick1980
0
2K
Member Avatar for sunrise2007

hi:: i back with small problem and i wish to help me. i have problem with getline() i search about the solution and i find it but the problem is still see the example [CODE]#include<iostream> #include<string> #include<iomanip> using namespace std; #include<ctype.h> void validate_name(string &name)//validate_name for each student { int i; …

Member Avatar for sunrise2007
0
89
Member Avatar for sai_kishor5

hi, I am a beginner of visual basic programming. I know form designing and can write the source code also.But i would like to know how can i store my data in the project or programming.Means how to create and use databases in VB. Please give me the reply as …

Member Avatar for steve585
0
110
Member Avatar for gjr1829

please help me create the first part of date class project. Date Class Project (part #1) Create a class named Date The class has 3 int variables for month, day, and year (05 points) The class has a Boolean value for whether the date is a leap year private int …

Member Avatar for Ezzaral
0
516
Member Avatar for Racoon200

Hi... I have this addLink button, that calls the addLinkClick function. content is a multiline text control. The following are variables: href,target,linkName I want this button to print [CODE] print "<a href='"+href+"' target='"+target+"'>"+linkName+"</a>" [/CODE] into the content control. How do I do this? Also...does anybody now how to run a …

Member Avatar for Racoon200
0
103
Member Avatar for Punkr63

I need to create a Java program that implements both a stack and a queue (and not a palindrome problem) any suggestions?

Member Avatar for Nickk
0
187
Member Avatar for dno117

Hello all, I am an online student in an intro to Java programming course and am a little stuck on my current program. I do not want the answer, but rather help figuring out what it is I am doing wrong. The program is supposed to prompt for an employee …

Member Avatar for dno117
0
875
Member Avatar for van2006

I have done coding for custmization of web page using drag and drop. After customization i need to save the change they made using javascript.please give some idea.

Member Avatar for ~s.o.s~
0
144
Member Avatar for leeqiang

i wanna write a othello programm myself.i Googled a platform to test programm.that's very good i think.there is a abstract player(source attached) .i don't how to start it.any good-heart people can give me a sample? use the alpha-beta search is i want to do. THANKS soooooooooo much

Member Avatar for Jishnu
0
156
Member Avatar for emilio

hello does anyone knows the meaning of the error undefined reference to main. i'm getting the error when trying to compile a file without a main function with -Wall option

Member Avatar for emilio
0
91
Member Avatar for jbstin

cn anyone sugest any e book or sites to study the assembly language well? i am searching forr it.

Member Avatar for Salem
0
82
Member Avatar for kobi

Hello There, How can i use in the code the " character witout the complier will throw en error im trying to create the following string : what i need : <A NAME="ppp" A> hello</A> when the ppp is an object myString ="<A NAME=""+object+"" A> hello</A>" as you see i …

Member Avatar for kobi
0
100
Member Avatar for DrTsus

I'm dying here. I can't find out why my code isn't working. I get "illegal start of expression" in Blue J. It's on line 34 ( if((menuchoice = = 0) && (gender.equals("M"))) ) [ICODE]/** * Brandon * November 14, 2007 * TDEE */ import java.util.Scanner; public class TDEE { public …

Member Avatar for iamthwee
0
183
Member Avatar for Tom Tolleson

Hi! I've got some basic javascript and XML skills. I'm wanting to learn about AJAX but preferably without .asp or some other technology involved (I'm not running .asp on my server). Are there any books you guys can recommend to me? Thanks! THT

Member Avatar for salehCoder
0
85
Member Avatar for Tamose

I'm trying to make the canvas (or window) created from the turtle module, but the code listed in the docs at python.org doesn't work. I've done some research online, and I keep coming across 'Tkinter', which is only confusing me further. I'm trying to make a soduko game, but first …

Member Avatar for bumsfeld
0
909
Member Avatar for siri_lito

hi, can anyone give me idea how to do this please as i am new to shell scripting write a shell script(varcount) that takes a c++ program and counts the number of words which could be a valid c++ variablename. thanks for the help in advance

Member Avatar for swetha321
0
70
Member Avatar for jbstin

please help me to find how to find the factorial of a number in a easy way? the methods i have seen are difficult to me .can any one heelp me to solve the problem?

Member Avatar for zandiago
0
103
Member Avatar for diamond_2b1

Hi all. Im a newbie and need help creating flowcharts for my class projects. I worked on them for a few days now and cannot figure them out. I am running out of time and have to get thru this class. Here is what I need them to do #1 …

Member Avatar for Ancient Dragon
0
153
Member Avatar for tgifgemini

Hi everyone, I am attempting to access a database that is located in a shared server/ directory "K:\". Assuming I don't know where the database is located, how can I programatically tell vb to locate this database by searching all the network server directory? My database name is called: `PTS.mdb` …

Member Avatar for debasisdas
0
145
Member Avatar for xmile

i designed a form that has labels on it that you are expected to insert value (Alphabets and Numbers) an then it will do a calculation and give you a result on that page this page contains about 200 -250 labels i want to make a "save" menu that will …

Member Avatar for debasisdas
0
99
Member Avatar for Subhobroto

Guys, without saying anything much, I have such data at hand (rows from a database table): [code]111 | xyz | a, b, c[/code] Following someone's wise words, I would love to have this transformed to : [code] 111 | xyz | a 111 | xyz | b 111 | xyz …

Member Avatar for debasisdas
0
101
Member Avatar for pdwivedi

i have a program which outputs a [COLOR="Green"].prt [/COLOR]file for printing barcode. But i want to send the file directly to the printer port LPT1 for printing instead of having [COLOR="Green"].prt[/COLOR] file please any body suggest a solution. [COLOR="Red"]Regards Prashant[/COLOR]

Member Avatar for Salem
0
111
Member Avatar for sheida

Hi, I Hold a MS degree in Information Systems and I work in a University as a turore, I am to tutore visual basic 6 for next semester, I sont know where to start? I dont know anything about VB. I know Pascal, fortran, and C++ but I have no …

Member Avatar for debasisdas
0
107
Member Avatar for Fenerbahce

Hi, I use VB6 with Access. I have 4 records in my DBF file. When i do Recordcount, it says that i had -1 record. Why not 4? Help please Thanks Dim Conn As New ADODB.Connection Dim Rs As New ADODB.Recordset Dim Query As String Private Sub Form_Load() Conn.ConnectionString = …

Member Avatar for debasisdas
0
100
Member Avatar for ace_joker_bt

I can make this program to copy diverse format wihout losts. example: C:\\animal.exe to D:\\animal.exe (The File location write in locale) [CODE=c++]#include <iostream> #include <fstream> using namespace std; int main () { char data[50]; char inputFile [100]; cout <<"Insert inputFilePatch :"<<endl; cin >> inputFile; ifstream inputFilePatch; inputFilePatch.open(inputFile); if(!inputFilePatch) { cout …

Member Avatar for ace_joker_bt
0
357
Member Avatar for GrazBurya

Hello All, I am trying to write a C program that reads a text file and output unique words sorted alphabetically using /usr/bin/sort. All non-alphabetic characters serves as delimiters and are discarded. I am having a problem just parsing the text file into words, getting SEG FAULTS. dbx gives error: …

Member Avatar for Salem
0
158
Member Avatar for holy_boy

I have been trying to write a code for Conways Game of life, the thing is I need to generate a matrix of char filled with the elements * or o(o marks a dead cell,*marks an alive one). The Rules: For a cell that is alive: Each cell with one …

Member Avatar for WaltP
0
273
Member Avatar for BHance

Hi All, Newbie poster here. I have an, I guess, architectural question. I am still very much a beginner in mysql so bear with me. I have an e commerce site in which the prices of my products fluctuate very often. By default, my customers see the regular prices or …

Member Avatar for Antoro
0
99
Member Avatar for notorious_pan

we have a strin which is stored in a text file...we have to read that string from text file ....them we have to make the fragments of a string and we have to count tht word number of thye string...finally we have to put this string into the structure.... like …

Member Avatar for Ancient Dragon
0
107
Member Avatar for Love Story

hi everyone, it's my first thread here and i need help plz with this question below: The purpose of the program is as follows. A line of programming code is to be entered from the keyboard. Part of the code will be contained between a “Begin” string and an “End” …

Member Avatar for zandiago
0
103
Member Avatar for RichardNero

i keep getting this error (error C2447: '{' : missing function header (old-style formal list?) can someone give me a hint or help me out, I went from 23 errors to 1. [code=c++] // Enter a grade which is 1 and 100 for user. #include <iostream> using std::cin; using std::cout; …

Member Avatar for Salem
0
108
Member Avatar for Justmehere

All I want to do is for some block of code to run every 10 minutes or about. Can anyone tell me is there some standard or common way of implenting a block of code that just buys some time or is it a simple loop like the following: int …

Member Avatar for Justmehere
0
198
Member Avatar for Justmehere

Can anyone tell me if its possible to declare a function and use it with multi parameters with the special character like "..." as part of the parameter list. I'm not intested in function overloading. What is the ... used for then if I'm incorrect on its useage ? Thanks …

Member Avatar for Justmehere
0
287
Member Avatar for k88joshi

Hi , I want to read in a file that has string in it and i want to convert all those strings to hex and want to find a pattern. For Example, string = "dsofijdsoifjaslifdjaslidjlasjdlasjdlsaj" and i want to find a sequence of something in Hex: " 5A 1b 1b" …

Member Avatar for iamthwee
0
132
Member Avatar for Racoon200

Hi. Iam making an app to write and append to an html document blog-type blocks. I have the GUI finished, but I need to fusion it with my script. Look at this snippet of my script: [CODE] def link(href,target,linkName): partA = "<a href='"+href+"' target='"+target+"'>"+linkName+"</a>" print partA [/CODE] Now, this is …

Member Avatar for Racoon200
0
146
Member Avatar for tuxman

Hi all. First of all let me apologize by my english. I've googled a lot about my problem, but I had not find anything conclusive. I have the following piece of code: [CODE]vector < map < int , char * > > bank; bank . reserve ( 10 ); if …

Member Avatar for vijayan121
0
97

The End.