Beginners - October 2013 (Page 46)

Switch statement
 
My switch statement is not working properly. It keeps giving me an error wherein line 46 and 48 are ...
[2 replies] Last: Thanks! (by colinjames12)
by GaDiBo
I get stuck when my sort function does not work, or anything else?
 
I get stuck when my sort function (void process) does not work, or anything else? #include<ios...
[6 replies] Last: So here is the complete program of ranking students #include<iostre... (by GaDiBo)
Could we pass the arguements to inside function from outside function
 
I have two functions abc() and cdf(). I have called cdf in abc. I had passed input to abc() and pass...
[1 reply] : The syntax above is pretty tangled up. Here it is straightened out a b... (by Chervil)
by Anna22
Last function's coding needs correction
 
Everything calculates except for the last line: Total Cost of Paint Job. It gives a crazy number. He...
[3 replies] Last: code and output tags make it look like this int main() { double ... (by freecody24)
Arithmetic Calculation
 
I don't really understand about the question...The question is as below: Assume i=1,j=2,k=3 & m=2...
[1 reply] : I'm not sure how else I could phrase the question. You need to evalua... (by Zhuge)
help on a c++ code?
 
how can i turn the number like 5 in to 5 asterisks like ***** but the user hast to enter the number...
[1 reply] : you can use a for loop to cout the number of asterisks that you want. ... (by jugggle)
for(;;) syntax information
 
what does mean by ;; in following code for (;;) {} Regards cam
[3 replies] Last: http://www.cplusplus.com/doc/tutorial/control/ (by BitRat)
help on a easy c++ code
 
i need to make it so that the numbers will make * so if the numbers used were 5,6,5,6,9 it would l...
[2 replies] Last: thanks for the help i need to have a loop on it so if they dont enter... (by freecody24)
Declaring Char Array in a Structure
 
Ok, I can't declare a char array(not a string, an array of single chars)in a structure so what I did...
[12 replies] Last: What chervil was saying is that a std::string is the same as a char ar... (by giblit)
Stack Code Help
 
Having some issues with figuring out syntax. The assignment: Stack Homework: Write a stack...
[4 replies] Last: As in stack::push.... Wow, you know what the sad part is, I have done ... (by elite zero)
by layzer
Money counter problem.
 
Hey guys i have a problem. This is our original homework assignment: Write a program to displa...
[no replies]
Boolean Expressions Unnecessarily Long
 
I need to write a program the inputs 15 numbers and displays only the highest and lowest number. The...
[2 replies] Last: Or like this. It uses just 3 variables, and one more as a loop counter... (by Chervil)
Can you guys give me some pointers with this code?
 
Need help with a problem. Can you guys give me some pointers with my code? The question is: The Bore...
[5 replies] Last: > My teacher actually told me to avoid using a break unless I absolute... (by JLBorges)
If else if ladder help with simple calculator program
 
Can someone help me modify this program using the if-else-if ladder so that instead of the program...
[no replies]
Post and Prefix Increment Operators
 
I'm still stumped on this subject. Why do I get different values whenever I use either, and what wou...
[14 replies] Last: Nowhere in the topic until just now did we write or discuss any code w... (by LB)
Copy data from text file into array
 
Hi! I am trying to build a code to read the data from a text file into the array and display all re...
[2 replies] Last: because you only extract the name and not the values ? And another: ... (by nvrmnd)
Confused after initializing variables. Please Help !
 
Hello Everyone I got an assignment as follows Write a program to calculate the standard deviat...
[12 replies] Last: Please use code tags when posting code. int n; float data ; This ... (by MikeyBoy)
Learning, need help with endless loop and quit
 
Write your question here. I was wondering how I could put my program into an endless while loop and...
[1 reply] : #include <iostream> #include <string> int main() { std::string c... (by LB)
While loop problem.
 
can someone help me with this problem. Do i need a while loop within a while loop? in the pressure.d...
[1 reply] : Do you want to read the data until until it encounters a pressure grea... (by nvrmnd)
by amj89b
Assistance with data validation within if else or switch statements
 
Hi, This code is supposed to go through some calculations regarding fat content for various meal ...
[6 replies] Last: So, would my method of just defining as char variables at the beginni... (by nvrmnd)
October 2013 Pages: 1... 4445464748... 86
  Archived months: [sep2013] [nov2013]

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