199,114 Archived Topics

Remove Filter
Member Avatar for
Member Avatar for koolhead17

python -------------------------------------------------------------- [url]www.python302.tk[/url] [email]python302@gmail.com[/email] -------------------------------------------------------------- ALL FOR YOU SPIDY -------------------------------------------------------------- Disclaimer: This paper is not to be copied, or used on any website without my permission, consequences will occur if it has been found on ANY website. Only time it is allowed to be used on a website is with …

1
135
Member Avatar for dark7angelx07

Hi everyone, I'm having trouble with this program, I hope you can help me with it. I have to write a function that takes an integer value and returns the number with its digits reversed. This is what I have so far...... I will put a [U]*/*[/U] where i need …

Member Avatar for Narue
1
650
Member Avatar for bluegirl

Hi, i need help creating a copy constructor. i have a class called CElist (and another called CEmployee) and it contains methods like this one: bool CElist::getFirst(CEmployee& e) { //do some stuff //sets e to the first employee and returns true //returns false if it cant } my problem is …

Member Avatar for Narue
1
214
Member Avatar for George2

Hello everyone, When running the following block of source codes (the MMAPI library I am using is downloaded from [url]http://www.sun.com/software/communitysource/j2me/mmapi/[/url]) [Code] public static void main(String[] args) { try { Player player = Manager.createPlayer"http://localhost/sample.wav"); player.start(); } catch (MediaException e) { e.printStackTrace(); } catch (IOException e) { e.printStackTrace(); } } [/Code] java.lang.UnsatisfiedLinkError …

Member Avatar for George2
1
311
Member Avatar for djbsabkcb

Need help with the C++ programming. I am trying to compute the count of values, the average, and the standard deviation of the input given by user. My output is correct except for the standard deviation. My code is below: Thanks [code]#include <iostream> #include <string> #include <cmath> using namespace std; …

Member Avatar for djbsabkcb
1
504
Member Avatar for catherine1001

Well, Buying a collection is always useful and result is fruitful. I have made 3 test collections for oracle and got total of 20% discounts at all. I know the real exam is so much difficult. you should have the knowledge about whole exam topics. Although ucertify simulation test give …

Member Avatar for Kate Albany
1
160
Member Avatar for myprecious

Hi. Im doing a c++ course. And we are doing a assignment to do with I/O File streams. We are using struct. I can add, update, print, and search for records. Now, I need help to read data into an array and sort the array on any one field and …

Member Avatar for myprecious
1
118
Member Avatar for Dark_Omen

Hello, I am trying to insert true or false into an xml file that has one node <LoggedIn></LoggedIn>. This is what I have so far: [CODE] [size=2]StreamReader xmlString = [/size][size=2][color=#0000ff]new[/color][/size][size=2] StreamReader(Server.MapPath("ResponseMessages/LoggedIn")); XmlDocument doc = [/size][size=2][color=#0000ff]new[/color][/size][size=2] XmlDocument(); doc.Load(xmlString); [/size][/CODE]

Member Avatar for Dark_Omen
1
385
Member Avatar for peter_budo

I am supposed to write an query which will add new attribute to my already existing table So I written this [I][B]ALTER TABLE member ADD e_mail CHAR(20)[/B][/I] which is fine, however when I try insert required data for each row I get stuck [I][B]INSERT INTO member(e_mail) VALUES('johnwhite@msn.com');[/B][/I] Can anyone help …

Member Avatar for peter_budo
1
1K
Member Avatar for smoked_apart

That's my objective in the title.. p.s. does anyone know how to make text inputs opaque? p.p.s does anyone know how to retrieve BBPost addresses to send a post to multiple Boards/Rooms?

Member Avatar for Comatose
1
1K
Member Avatar for Fasola

I HAVE SPECIFIC QUESTIONS!!! 1. Why do you need [b]Self-Referential Classes?[/b] Please provide a "real" life example of when it would be used. [code]class Node { public: Node(int); void setData(int); int getData() const; void setNextPtr( const Node *); const Node *getNextPtr() const; private: int data; Node *nextPtr; };[/code] 2. ^^^What …

Member Avatar for Fasola
1
960
Member Avatar for Layla_2401

Hi, I'm using MS visual studio 6 for a C++ program. I am able to run the program from IDE, but when I've attempted to run it from the command line, I get a message the program name is unrecognizable. I've included the following code: [CODE]int main(int argc, char *argv[])[/CODE] …

Member Avatar for Layla_2401
1
220
Member Avatar for tommy1988

i wanna start programming with c++ what would you guys suggest is the best compiler program out at the mo? :twisted:

Member Avatar for Raven11
1
117
Member Avatar for blackdove

I'm not finished with my program yet, but i've run into a few problems. The first main problem i see is that i seem to be doing something wrong to display the array that the user enters. It only shows one value, and it displays it twice. I cant check …

Member Avatar for blackdove
1
151
Member Avatar for purplefantasy

The Acme Software Company sells its "Adding Tutor" software for $109.Quantity discount are given using the following table: Quantity Discount 10-19 20% 20-49 30% 50-99 40% 100 or more 50% Write a program that asks for the number of units sold and calculates the total cost of the purchase including …

Member Avatar for alc6379
1
187
Member Avatar for dv916

I am having a problem with C++ templates which is actually quite embarrassing for me to admit to since I predict a lot of you will figure my problem out faster than it took me to write this post but I've exhausted my patience for right now. I wrote this …

Member Avatar for Narue
1
944
Member Avatar for eleet

I am trying towrite a C program which will print yearly calendars, given as input the year numbers. Input data will be taken from a text file, which will contain an unknown number of data lines, each containing a single integer giving a year, I first created a function to …

Member Avatar for eleet
1
170
Member Avatar for j.kelly

I'm pretty new to C++ and I'm having a problem with a Uni coursework. I have two classes A & B which need to be able to call each others functions so they each hold a pointer to the other. I had the problem that they #included each other so …

Member Avatar for 1o0oBhP
1
106
Member Avatar for DarkrShadeOfBlu

I'm writing a blackjack program for class and I am having a problem with Aces, jack, queens, kings, my random number generator generates a 1, 11, 12, 13 for those cards, respectively... but Aces should be worth 11, jacks, queens, and kings, as 10, I have attatched my current code, …

Member Avatar for 1o0oBhP
1
198
Member Avatar for Asif_NSU

I want to make a program that will start off by opening a text file(blank). The user will put an expression in the file and as he hits the enter(enters a newline character) the result will be shown in the next line of the same open file. Itz almost like …

Member Avatar for Narue
1
259
Member Avatar for ok555

Ok, im new to c++ and i looked around and couldn't find anything on it.. I have a global char such as the one below, i made a loop to go through and basically "grab" each name in the names list and then display it to me.. but instead of …

Member Avatar for ok555
1
163
Member Avatar for jayrads

I'm writing a c++ program for a class I'm taking. I'm having a problem getting the string variable into the void print_results function. Basically, at the beginning of the main function, I ask the user for their name. I can use the name variable in the main function and it …

Member Avatar for jayrads
1
207
Member Avatar for haria_kishore

Hello guys Actually I am new to the world of datawarehousing. In fact today is my third day. Actually I am working in an organization where I have been given the responsibility of designing a datawarehouse. The operational database is already being created and I have to post the past …

Member Avatar for autocrat
1
141
Member Avatar for Acidburn

[php] #include <iostream> #include <cmath> using namespace std; class point { public: point(int xcoord , int ycoord); //constructor point(); int getX(); int getY(); double getDistance( point otherPoint ); void setpnt(point p); private: int x, y; }; class rectangle { public: rectangle(point p1, point p2, point p3, point p4); void perimeter(); …

Member Avatar for Narue
1
182
Member Avatar for flory

Hi, guys I needs someone to help me.I do have difficulties to understand functions in c++. If you can help with more tutorials.I will saved.. Please,even some good web sites where I can practice. Thanking you in advance

Member Avatar for Pmaster
1
198
Member Avatar for klmbrt

:?: I am attempting to write a C++ program that has the results of a T/F test. It takes the information from a data file and then it compares the students answers to the correct answers. I have two problems. First the data file has the first 8 characters as …

Member Avatar for Tight_Coder_Ex
1
106
Member Avatar for susiestudent

I'm not an idiot but there are times when my computer sure makes me feel like one. I have several arrays declared in my code yet there are a couple of new ones that I am trying to create that it won't accept as greater than one dimension. good arrays …

Member Avatar for Narue
1
101
Member Avatar for chanz

[FONT=Comic Sans MS][SIZE=2][COLOR=Magenta]Write a program which reads a text from a file declared by the user. If the file does not exist a message should state this and the program should be terminated. If the file opens with success the program should read the text and then output the uppercase …

Member Avatar for BountyX
1
233
Member Avatar for rharvison

Hi all. I am very new at this stuff; first C++ Programming class with no background whatsoever. We are asked to create the design work and coding to generate an invoice given certain criteria. I wrote the program using the info and directives provided but I am coming up with …

Member Avatar for rharvison
1
172
Member Avatar for os008

Hi, I have the following problem [url]http://www.ahmedosama.com/buildlog.htm[/url] it's strange cause it's in the built in "include" files of the VC++ (2003), can u please help me out.

Member Avatar for os008
1
237
Member Avatar for kloony

Hi, I wrote a program in C and when I compiled, got the following message (word for word): Error: Unresolved external '_EDGE' referenced from C:\Graph\Test1.OBJ The funny thing is that the error is not the usual compiling error that tells me which line of my program has the error. That …

Member Avatar for kloony
1
186
Member Avatar for magnolia

Here is a little of my program: struct Town { int population, outbreaks; }; const int MAX_ROWS = 39; const int MAX_COLS = 39; void GetInfRate(Town[][MAX_COLS], int); //some other functions int main() { Town coordinates[MAX_ROWS][MAX_COLS]; //I load my data // I display menu, etc. } void GetInfRate(Town c[][MAX_COLS], int MAX_ROWS) …

Member Avatar for magnolia
1
154
Member Avatar for rishiraj_bayerd

Hi all, How i make a call servlet to servlet.... code & description is needed. Please help me.. Thanking you. Rishi.

Member Avatar for jwenting
1
79
Member Avatar for dallin

I have a column of floating point data that I need to right justify and align the decimal points. Help. Data looks something like this. 30.768 1.345 .430

Member Avatar for vegaseat
1
5K
Member Avatar for sid3ways s13

Hello everyone, I've been browsing this forum for small while and have gotten some great information out of it through searching so I thank you very much for that. Currently though I have a C++ program I have to write for class that inputs the full name of the student, …

Member Avatar for alc6379
1
957
Member Avatar for ikanku15

i need to develop a snake game. the simple one. can anybody come out with the skane game source code using java or c++ language, or any recommendation. please!!!!!!!!!!!! i dont want to fail this subject! :sad: :sad: :sad:

Member Avatar for 1o0oBhP
1
120
Member Avatar for Dani

Which of the following is the proper syntax for the latest version of PHP? [code]echo "My name is $name. How are you?";[/code] [code]echo "My name is " . $name . ". How are you?";[/code]

Member Avatar for knight42
1
4K
Member Avatar for chound
Member Avatar for 1o0oBhP
1
230
Member Avatar for yb1pls

years ago programmers used to hand there jobs as a IBM 360 which was sent to a operators to run them. is there a program where there is only 32k in the main memory. can you give me a exaple with only 32 k of memory something lie this At …

Member Avatar for yb1pls
1
136
Member Avatar for the b

I am writing a program that uses a singly linked list. The program is suposed to ask the user for the number of days they have temperatures for and for the corresponding temperature. I seem to be having a problem with the get_temp function. When I run the program it …

Member Avatar for the b
1
129
Member Avatar for cancer10
Member Avatar for mikeandike22
1
213
Member Avatar for gowswan

i am learning "c".i am in the beginning level. i want more explanations about arrays. in arrays what does the garbage means? how it affect the program.

Member Avatar for 1o0oBhP
1
223
Member Avatar for QKSTechTrainee

Hello - here's my problem - trying to set up a lil bit of code that checks win2k disk quota and warns user if they are approaching their disk space threshold. here's the code - (cut down for simplicity - this version doesnt really do much but should work) Dim …

Member Avatar for TimMunro
1
397
Member Avatar for FireNet

[code] Graphics In Pixel Part II B 'Realization of an Enigma' [/code] Introduction ------------ Life's unfair, writing good tutorials take a lot of time, not typing it, but thinking up the content does. Life's fun too, I had quite a good time learning new stuff. My hobby at present is …

Member Avatar for FireNet
1
252
Member Avatar for meabed

[font=VERDANA, ARIAL, HELVETICA, SANS-SERIF][size=1][font=VERDANA, ARIAL, HELVETICA, SANS-SERIF][size=1][font=VERDANA, ARIAL, HELVETICA, SANS-SERIF][size=1]Having bugs in your code may be unavoidable, but crashing [i]*is*[/i] avoidable. Barring cosmic rays playing yahtzee with your memory there is no reason why your program should ever crash. Crashing is totally avoidable![/size][/font] [font=VERDANA, ARIAL, HELVETICA, SANS-SERIF][size=1]What do I mean …

1
172
Member Avatar for SelArom

it's really frustrating to be looking in my textbook and see something like [CODE]void apd(vector& a, int j, int n) for (j = vector[a]; n > j; j--) j++; [/CODE] I would change it to something like [code] void functionName(vector& theArray, int position, n target) [/code] that way I know …

Member Avatar for Chainsaw
1
162
Member Avatar for shdwdrgn517

I'm trying to compare a string to an ArrayList Object. But no matter how I try to compare it, such as just ==, or .equals(), or .compareTo(), or String.valueOf(ArrayList.get()) with all of the above options, it won't compare correctly, even if they are equal when outputted they aren't equal when …

Member Avatar for shdwdrgn517
1
143
Member Avatar for number1tiancai

A part of my hw is generate a doubly linked list which has the data from an input file ("shopping.in") i am using tokenizer, but however, everytime i try to put the token into the list and print, it gives me a memory place (Dnote@1289321wutever) please help me, this is …

Member Avatar for number1tiancai
1
148
Member Avatar for BrownSuga

I have written this program and I have gotten the program to run but when I run the program and I try to run the input validation portion it does not go back into the loop. Also when I calculate celsius into farenheit my output comes out to 0. Is …

Member Avatar for number1tiancai
1
130

The End.