48,985 Topics
|
|
i am inputting numbers as characters, then i need to change to their numeric value then add |
|
This is what I have so far, I haven't corrected the input prompt display, nor the output display of the time into `HH:MM:SS`. Please give me any suggestions on the program. thanks! :mrgreen: /* Program definition: The program will ask for and read an elapsed time in the following format: … |
|
This is our assignment:An STL List Container that adds at least 5 elementes, display i order, and reverse. That part I've got. I'm still doing research on the write to, store ina file and read from a file. Any help would be appreciated. Thanks Smarkles. #include<iostream> using namespace std; #include<list> … |
|
Hi folks, I'm some difficulty getting my program to read in multiple data types off one like of data being input. The way it works is someone enters a name, age, and date of birth, and I then have to process this so that it'll read in these different data … |
|
can any1 tellme how to access the sql file using c++. what i've to do is to take a sample file from oracle and one from access(a table having employee's personal info with different attribs,obviously) then i've to print them in c using standard format which i'l define in c++ … |
|
ok I am required to write a program that reads text from one file and writes it to another. I can do that easily enough but the second file the text is wrote to is supposed to have no spaces in between the words. how do I do this? here … |
|
Hello everyone, im glad i have come across this forum, im sure its going to be a lot of help for me! I have been reading through the forum here to try and find some help with a problem i am currently experiencing. My problem is that i am trying … |
|
i'm using Dev C++, and when i write a program, it compiles it fine then when i execute it the program window closes after the program has finished. does anyone know how to keep the window open. im running on XP(SP2). i've tried right clicking on the .exe but theres … |
|
Posted it in the wrong place, sorry;) Hello peoples, as you can tell by my name, ima newbie coder, and barely know the basic concept of a non object oriented scripting language comonly known as QBasic. I wanna learn advanced programming to make games, and random programs i may need … |
|
i wrote in my prog #include <iostream> using namespace std; int main ( ) { int arraysize = 25; int a [arraysize] = { 2, 3, 5, 19, 4, 20, 35, 123, -3, 45, 82, 93, 62, 35, 29, 21, 19, 57, 35, 64, 62, 324, 242, 0, -3 } … |
|
sup guys im trying to implement a nested for loop for a 2 dimension array that initializes the array to the character '*'. but its just printing out garbage, i think im messing up on my syntax :sad:.....some help would be appreciated here is what i got so for: char … |
|
Im trying to write a struct for a binary header of a sun raster file to a file on disk. i have a struct for the header data: [CODE] struct rasterfile { int ras_magic; int ras_width; int ras_height; int ras_depth; int ras_length; int ras_type; int ras_maptype; int ras_maplength; }; which … |
|
hi i have a C++ assiggment and have no clue how to do it! the instructions are : write a program that calculates the bill of a simple restaurant. on the menu there are only 3 things to order - orange juice, vegetable salad, pasta. it is possible to order … |
|
can anyone tell me whether i can access databases using c++ i want to access a file one in ms access and one in oracle file. have to make it in standard form using c++(ETL concept) is this possible and how to get connect to the respective data bases. thx … |
|
I am supposed to figure out what the output produced would be from this equation..can anyone help me and explain it to me char var1='s'; char var2='x'; char *ptr1, *ptr2; ptr1=&var2; *ptr2=*ptr1; cout << *ptr1 << " " < var2 << endl; |
|
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 … |
|
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 … |
|
i am little bit confuse with dynamic polymorphism can any body help me out |
|
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 … |
|
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 |
|
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 … |
|
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 … |
|
#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) … |
|
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? |
|
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] … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
|
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 … |
The End.