Beginners - March 2014 (Page 15)

Currency calculator
 
Hello, So i am making calculator from euros to all kinds of currencies. But first i would like you ...
[no replies]
open dat file and print on screen
 
Can some one help me that plzzzzzzz!!!!!! Why I cant open the .dat file and print on screen with thi...
[13 replies] Last: Well your datafile isn't ASCII but its binary and explains why my exa... (by Codermik)
use of struct
 
why cant i use the function deletecontactname and deletecontactroll? actually i want to put any dele...
[no replies]
by cnsk90
TERMINATING THE SWITCH FUNCTION!!HELP!!
 
I DID MOST OF THE CODING I JUST COULDNT FIGURE OUT HOW TO LAST SECTION (NUMBER 3) THANK YOU GUYS!!!...
[4 replies] Last: thank you !!! (by cnsk90)
Error handling problem
 
Hi! I'm trying to make some error messages in my program in case a user tries to input a string o...
[3 replies] Last: http://www.cplusplus.com/reference/cctype/isdigit/ http://en.cpprefere... (by LB)
by rm5393
Help with Posting Winner
 
Having problems with posting which contestant is the winner for my assignment, how do I connect my v...
[4 replies] Last: I was able to get it looking at another example, thanks anyway. (by rm5393)
Comparing 2 elements in array's and counting how many of them are the same.
 
Just as the title states. I have the code of how to compare each array; however I'm not sure how to ...
[3 replies] Last: Ah, what's happening is that the compiler sees that the loops do nothi... (by LB)
Money Program
 
Why is "operator" used in this program or better yet what is its purpose? #include<iostream> u...
[1 reply] : Please use code tags: http://www.cplusplus.com/articles/jEywvCM9/ The... (by LB)
by rshoe
Working with arrays
 
I was wondering if anyone can help me with finding information on arrays? I am trying to find out...
[3 replies] Last: Of course, glad I could help. (by MagicalForestElf)
How to read text file (1,2)
 
I am having trouble understand how to read a file and then print it out. Below the code is suppose t...
[20 replies] Last: Show your whole program as it is now. (by LB)
Count occurrences of every character in a string
 
(Count occurrence of each letter in a string) Write a function that counts the occurrence of each le...
[9 replies] Last: if(counts >0) { cout << static_cast<char>(i + 'a') << ": " << count... (by slothybear)
How to use arrays from user input in seperate functions
 
This is really hard to describe but for computer science we have to create an array that asks for t...
[3 replies] Last: Thank you so much! Helped a lot! (by liquifiednate)
c++ pointer in void function
 
I am writing a program that takes in the amount of test scores the user chooses to enter and calcula...
[6 replies] Last: Now I get it, thank you very much (by Salright)
Merge Sort (Template)
 
When I try to run this program, I get this error: " 'void KW::merge(RI, RI, RI, RI, RI, RI)' : templ...
[1 reply] : Ok, so I figured out that it works when I use the correct parameters f... (by verdude)
Passing Array to Function
 
Hello all, I'm assigned a project for school (due in 2 weeks) and I need to pass multiple array to ...
[2 replies] Last: I inspected my code and I declared 'vol' as a double but tried to pass... (by Jayhawk)
How do you get doubles to round to the nearest tenth or hundreth?
 
Hello all, I'm doing a program that calculates money based on user inputs. I know I was taught h...
[1 reply] : Have a look at this: http://www.cplusplus.com/reference/iomanip/setpre... (by booradley60)
Goto
 
Ok so i've been working on this menu program for a while now, using various methods. I decided to gi...
[8 replies] Last: It restarts the program from where Menu() was first called No, it doe... (by helios)
by ckratz
Validating a phone number
 
I need some direction on how to validate a phone number that is entered by the user. My instructor ...
[4 replies] Last: Oh, c'mon. With that hint in front of you, can't you translate it into... (by JLBorges)
by ak16
Difference beteween Heap and Freestore?
 
Hi friends, Most of the time i came across this "free store" in C++ instead of Heap. Is there any d...
[1 reply] : https://stackoverflow.com/questions/1350819/c-free-store-vs-heap (by Smac89)
by Emilov
Bubble sort exercise problem
 
Hello :) Can somebody help me in writing a code, which arranges the letters in a word (for exampl...
[7 replies] Last: Then why didn't you start your topic by stating exactly this? Instead ... (by Smac89)
March 2014 Pages: 1... 1314151617... 79
  Archived months: [feb2014] [apr2014]

This is an archived page. To post a new message, go to the current page.