49,761 Topics

Member Avatar for
Member Avatar for Midnight Skulke

I have design two program and both have errors on it. the first is supposed to handle queue on integer, double, string and date. I have done for integer and double. When I compile it there was error on it. If you can just help me debug it and i …

Member Avatar for Narue
0
227
Member Avatar for NAjAM AHMeD

hello! i am a brand new user to this site ihope that my experence with this site would be better than previous ones, i am studying BS(computer science), recently i had trouble with a program that ihave made well that thing is that its is complete and working as well …

Member Avatar for Narue
0
118
Member Avatar for manoj9_5

i am little bit confuse with dynamic polymorphism can any body help me out

0
71
Member Avatar for lvdude

Hi all, First off, I'm relatively new to the world of C/C++. I've taken some courses in University years ago and haven't used it much since. What brings me back is the following dilema I have: I've built an application using National Instruments LabVIEW ([url]www.ni.com[/url]). For those not familiar its …

Member Avatar for lvdude
0
202
Member Avatar for m-soft

Hello I have a number from maximum 255 digits. I must compute the cube root of this number with 10 decimals. Time of execution is 1 second Could you help me ? 10x

Member Avatar for vegaseat
0
138
Member Avatar for NitrousGT

I think I know how to initialize the program, but i am doing a self learner and i am not sure how to begin or what to initialize. If anyone has any ideas please help me out. Here is a problem if you dont have the book... C++ HOW TO …

Member Avatar for alc6379
0
349
Member Avatar for Waskar

Hi to every one :cheesy: (I'll say it once: forgive my bad english :sad: ) I have a question!!! Is there any way to get information aboute Dial-tone PHISICALLY presense without performing a call dail?????!!!!! I've write a code, in vc++, to make connections over 16 Comm Ports (throw a …

Member Avatar for Waskar
0
346
Member Avatar for hill0ster

#include <iostream> #include <cstring> using namespace std; bool equalStrings (char[], char[]); //given here but must complete // on midterm int main() { char str1[80]; char str2[80]; cout << "Enter your first string: " << endl; cin.getline(str1); cout << "Enter your second string: " << endl; cin.getline(str2); if (equalStrings (str1, str2) …

Member Avatar for Narue
0
136
Member Avatar for Beau

this is a little question is microsoft visual C++ the same as any other C++ programing tool? and if it nearly the same is there any little differences wat are they and what do you recommend?

Member Avatar for Narue
0
171
Member Avatar for quasimof

We are supposed to write a program which asks for the month, date, and yr and then outputs the day of that date. **input:** Month: 7 // This is July Day: 4 Year: 1776 **output:** July 4, 1776 was on a Thursday Formula: day = (r + [2.6m - .2] …

Member Avatar for ZuK
0
557
Member Avatar for Tomas Lopez

I have to write this program that prompts the user for the size of the tiles in inches and the number of rooms to be input. It should then input the dimensionsfor each room, and output the tiles needed for that room. After the last room is input, the program …

Member Avatar for jwstickley
0
154
Member Avatar for kwongchungying

hello, i have been stuggling with c++, i need to compile the following files but it never works always tell me the redefinition error i have tried both g++ and visual c++ but i can't make it work, i wish anybody can tell me why here are my codes please …

Member Avatar for Ejaz
0
282
Member Avatar for Young Teck 06

Need a little help here. Seems as if whenever I run the program, it closes before showing the results. Here is the code below: [code] // // Program to convert temperature from Celsius degree // units into Fahrenheit degree units: // Fahrenheit = Celsius * (212 - 32)/100 + 12 …

Member Avatar for Young Teck 06
0
114
Member Avatar for bryan7890

Write a complete program that creates an array of characters, 3 times the size of ASCII table and itinializes the contents of the array to correcponding ACSII values; when end of ACSII table is reached, you should loop back to the beggining and start again. Print the contents of the …

Member Avatar for bryan7890
0
129
Member Avatar for GoldenGreg007

i can't figure out how to solve this error, i've searched online, but any solutions i've found use terms that are beyond me (as i am still a beginner at C++)..so it's been a little tricky to crack this. basically all i'm trying to do here is find the length …

Member Avatar for GoldenGreg007
1
145
Member Avatar for coolmel55

Here is a link to the actual assignment [url]http://bluehawk.monmouth.edu/~rscherl/Classes/CS503/hw2.pdf[/url]. At this point I am able to build the linked list from a users input string as well as display that list. Here is the code that I have up to this point. I have two classes a Node class and …

0
89
Member Avatar for gwenny

I need help writing a program using a character Queue. I am using the Queue to determine if the two sequences of characters are the same as each other. Also I have to implement my character Queue as a linked list (using Nodes). Can anyone out there help me write …

Member Avatar for Narue
0
137
Member Avatar for laura_cornel

Hello, I am trying to code an eVC++ programm on scanning barcodes. My problem is that each time I scan in an Edit type field, there only the first character of the barcode who is scanned. Meantime, if I try to scan anything in Notes (for instance), all the code …

0
105
Member Avatar for Young Teck 06

A bit excited here people, just completed my first (well from the book) C++ script code. Its a Temperature Converting code from the C++ for Dummies book. Unfortunately, I haven't even made it through the first chapter and am having problems with the reading. So i need to ask a …

Member Avatar for Young Teck 06
0
107
Member Avatar for pratima

i must write a program that reads a number between 1 and 100 then calls a function to check if the number is part of the Fibonacci series.the main should display if the number is part of thr Fibonacci series.thanks #include<iostream.h> #include<conio.h> int check_fib(int a) {char ans1,ans2,ans; int sum,x,i; sum=0; …

Member Avatar for Narue
0
135
Member Avatar for KittyGirl

I have to write code that will prompt you to input a sentence, then it will output the number of vowels in the sentence. This is what I have so far. Can someone tell me what is wrong with it? Thanks so much! [code] //Input a sentence, then return number …

Member Avatar for Narue
0
130
Member Avatar for pratima

:rolleyes: i have to write a program which ask the user the height of a pyramid between 1 and 15 and displays a pyramid of this height made up of "*" characters on screen.for example how high would you like the pyramid?:37 pick another height(must be between 1 and 15):6 …

Member Avatar for Narue
0
120
Member Avatar for confusedmind

hi i am having trouble understanding that what is the difference between having class xxx { } in the .h file and not having it? say i have these two code, can anyone tell me the difference? [CODE] #ifndef sample_h #define sample_h class sample { function1 (); function2 (); }; …

Member Avatar for Ejaz
0
139
Member Avatar for kwongchungying

hello, i posted a thread before but i attached files so i guess it's too much trouble, i wish somebody can help me coz i have spent more than 5 hrs just to compile a very simple program, i have tried visual c ++ 6.0, g++ and gcc all have …

Member Avatar for Narue
0
918
Member Avatar for Asif_NSU

I had been using old turbo C++ compiler and with i had the help files on C++. However, the documents with my old version of turbo c++ is quite obsolete now. I want to get the latest docs so that i can look up specific function and class details with …

Member Avatar for vegaseat
0
246
Member Avatar for prathys

hello guys, I came across a strange thing when doing program in c++ in visualc++ environment.just run this code and after entering the array elements press up arrow and down arrow. Here's the code #include<iostream.h> void main() { int arr[5]; cout<<"Enter the array elements : "<<endl; for(int i=0;i<5;i++) cin>>arr[i]; cout<<"\n\n"; …

Member Avatar for Asif_NSU
0
135
Member Avatar for hill0ster

Narue, thanks for all your help with this program! I really appreciate it. I have one last problem. In the function tryAgain, if user presses 'q' or 'Q'; the program terminates. No problem there, but if they hit anyother key; the program should allow them to re-enter pyrllSt (payroll status …

Member Avatar for iumair
0
123
Member Avatar for JBazil

ok heres the deal... i took a C++ class as an undergrad WAAAAAY back in the day and have forgot almost all of it. i recently DLed a C++ program that came with several files. i have tried to run this program to see if i obtain the same results …

Member Avatar for JBazil
0
225
Member Avatar for confusedmind

ok, here are the questions. QUESTION NO. 1: I am asked to build a complete binary tree using linked list. According to my knowledge, you are not able to sort the tree with a complete binary tree otherwise it is impossible to get it complete. I searched thru google and …

Member Avatar for confusedmind
0
1K
Member Avatar for aminura

Hi.. I have to make a program in c++ for plotting a sine curve..using arrays ..taking x axis in horizontal direction and y axis in vertical direction... Please help me out in making this program :) thanks

Member Avatar for alc6379
0
107

The End.