48,985 Topics
|
|
:sad: hi friends my name is A.Siddhartha currently iam pursuing my masters in information technology and i have to do project in C++ as iam very new to information technology as my background is chemistry so iam having problem in doing this project. so pls help me how to do … |
|
can some please tell how can u hide whatever u are typing when typing in c++ exe. file? |
|
:o [COLOR=Red]When I start the program it just spits out a continuous line of numbers; Can anyone give me any suggestions, OR better yet, just tell me how so I can start my Thanksgiving break early?[/COLOR] :o [CODE]/* Program Description: The program will read a file named Scores.dat, and will … |
|
I am a beginner. As I know stdlibc++ v2 includes a random variable geneator class. but stdlibc++ v3 does not include those classes. what I want is to generate Normal random variable. anybody can tell me how to use stdlibc++ v3 to do this? Thanks! |
|
I just can't figure out why this program isn't reading in the entire file. It will only read in the second line, nothing else. Here are my read and write functions: bool Write(string Text,string FileName){ fstream Write; Write.open(FileName.c_str(),ios::out|ios::app); if(!Write){ cout<<"Error in opening file"; return 0; } Write<<Text; Write.close(); return 1; … |
|
You know, when my brother was learning C in college I took an interest and learned a little (that was back in 1998. I have forgotten C by now) but shall I tell you what really put me off ? In his class, they were teaching him one version of … |
|
I need help ladies and gentlemen, I am writing a program that validates ISBN numbers both from file and from console input. However my program is unable to open the file even though I have it in my Debug folder. Here is a piece of my code. I need help … |
|
hi every body can any one help how to start with this project using the c++ ADT class ,write aprogram that simulates the operation of telephone system that might be found in asmall business, such as your local pizza parlor.Only one person can answer the phone(aingle server queue). but there … |
|
hello there..! can somebody help me how to call this function...the program function will appear when i select the case no 3 at swich code... however there is an error appear...bytheway is it correct i using ` "void loan_schedule ();"`..to Generate loan payment schedule coding...when i choose number 3 at … |
|
hi..im new here and i am having trouble with my program..using DOS-based C++, i have to create a program that will use a mouse pointer but unfortunately i don't know how to create one because that is beyond our topic..so if anyone could help me..please give me the code and … |
|
Days since 1/1/1800,that day was Wednesday. Need to convert a date in the form mo/dy/year into this single number. Need a function to print out the day of the week, and a function to print out the date in the form month day, year where the month is completely spelled … |
|
Hi, This is really a logic problem more so than a stright up C++ problem. For class I have written a program that takes dates from a text file and then finds the number of days from January 1st 1800 that days is. The program also has to be able … |
|
Apache Web server for windows I wrote a helloworld.pl and that works fine when i try to view it through a webbrowser. I then wrote the following: #include <iostream> using namespace std; int main() { cout << "Content-type: text/plain" << endl << endl << "Hello, World!"; return 0; } compiled … |
|
Hello ladies and gents, could someone explain what I'm doing wrong here, the ideas of this excercise is: - Declare an array with 10 firstnames using pointers! - Show the array on screen using a function! - Sort out the names alphabetically and show the array again sorted! I want … |
|
[FONT=Verdana]New Member[/FONT] Hi everyone. I am brand spanking new. Like, just a few minutes born to the new kid in the DaniWeb block. Today I will just get the feel and browse. However, I will host a lot of questions that my experienced curiosity has brought to mind and many … |
|
I need help with my homework assignment. The assignments asks to enter a list of double values with the maxium to be entered is 50. I need to print out the list entered and find the largest and smallest values entered by the user. This is what I have but … |
|
This is kinda like "part 2" of my other post. Have also been working on this one for about 3 weeks. A suggestion was made that I should consider using the map container to accomplish what I want. My textbook doesn't talk about maps but I found some info on … |
|
I've been fighting w/ this problem for about 3 weeks. My school's forum and another programming forum I belong to have been unable to help me (I can't get ahold of my instructor but the school is looking into that). When running the attached program, I get the errors /home/cody/Projects/wavelength/src/wavelength.cpp:19: … |
|
I'm trying to complete the following problem: write a problem that generates a table showing tuition and fee costs. the table continues to print up to and including a maximum number of credits that has been input by the user. The program should check that this value is between 12 … |
|
[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 … |
|
Can anyone tell me the complete algorithm analysis of Tower of Hanoi for n pegs and n disks.I really need it :sad: |
|
Hey everyone. I actually have a homework assignment that is due Tuesday afternoon that I've been struggling all weekend with. The assignment is located at: [url="http://cs.hofstra.edu./~cscsxd/hofstra/teaching/cs155-04/course_info/project/Recursion.cpp"]http://cs.hofstra.edu./~cscsxd/hofstra/teaching/cs155-04/course_info/project/Recursion.cpp[/url] As you can see, the function we have to write is: [code]int *Rectangular_Shortest_Path(int startx, int starty, int endx, int endy, int r[][6], int a[][6]) … |
|
hi , i need a program for tollbooth simulation using arrays implementing queues in C++. can some one please help me out. prashant |
|
Hi, There are many versions of C and C++ built by many different companies. So, which version : 1. more easier to learn 2. more easier to remember 3. more easier to debug 4. helps me find errors fast and professionally 5. more portable 6. has the biggest community 7. … |
|
Hi there, I recently recieved some intructions to make a program using a "do while loop". Here is the questions below....by the way i am very new to C++: "Your program begins by randomly assigning the user an amount of money (from $1 - $1000), and then after each round, … |
|
I am having trouble coming up with code for removing a node in a binary search tree. This is what I have so far: [CODE] void remove(int n) { node *current=root; node *gptr; while(current != NULL){ if(n<current->key){ gptr=current; current=current->left; }else if(n>current->key){ gptr=current; current=current->right; }else if(n==current->key){ if(gptr->right->key==n){ cout<<"1st ==key = "<<gptr->key<<endl; … |
|
I am writing a turtle graphics program and I need help with 2 characters to show when the direction of my turtle is up or down. I am using cout << ">"; cout << ">"; for right and left and right directions. Any help will be greatly appreciated since my … |
|
Hi I've been asked to write a program for this figure 1234 2 3 3 2 4321 I have tried writing this,don't know if its correct or not :?: my program is #include <iostream.h> void main() {int n,r,c; cout<<"enter the value of n"<<endl; cin>>n; for(r=1;r<=n;r++) c=r; cout<<c; cout<<endl; for(r=2;r<n;r++) for(c=2;c<=r;c++) … |
|
OK PEOPLE I NEED HELP AGAIN........pls dont do my homework..........thats y i havnt given the question this time aroung :) the question im asking is simple : the program asks user to input product id ( a,b,c,d or e) and its quantity sold......it then saves total sale in "int sale" … |
|
[IMG]http://img.villagephotos.com/p/2004-8/807060/resultwanted.JPG[/IMG] the picture shows the result i wanna achieve but my program here which i modified: [CODE] #include <iostream> using namespace std; int main() { int k, m; for(k = 1; k <= 10; k++) { for(m = 0; m < k; m++) cout << "*"; cout << endl; } … |
The End.