Beginners (Page 55)

by erfa4n
problem with Date function(help pls)
 
hi friends i want to write a date function that Receipt a number ( for example 1267859 ) and turn ...
[2 replies] Last: look with this function we turned a date to DAYS...this function show ... (by erfa4n)
by HelenI
If and else if
 
is that correct? void main(){ if(....){ } else if (....){ } else if (...){ statef () } ...
[3 replies] Last: also I missed the semi-colon... statef() should be statef(); ... (by programmer007)
by HelenI
Function and While Help
 
Hello, can i put a function in a while that's in a function...... void main(){ while(......) ...
[2 replies] Last: thank you! (by HelenI)
RunTime Error not working....
 
Hey guys,I was writing a sample program that uses the try and catch block(actually I was trying to l...
[1 reply] : #include<stdexcept> See: http://www.cplusplus.com/reference/stdexcept... (by coder777)
object oriented inheritance
 
EXAMPLE OF INHERITANCE //Base class class Hotel { public: void setName(string hotel_...
[1 reply] : Do you have a question? And no: that's not useful inheritance. (by coder777)
Adding Functionality to Classes
 
I'm not grasping how to go about this, any help would be appreciated... thank you! Exercise 12.0...
[1 reply] : Read this: http://www.cplusplus.com/doc/tutorial/classes/ http://www.... (by coder777)
End of file loop problem?
 
Hi guys. I'm in just an introductory c++ class. A few weeks ago we had a project where we had to wri...
[5 replies] Last: I suggest to place some debug cout if you're not sure whether it runs ... (by coder777)
by ozzone
Help with ERROR
 
Hello, Im having trouble running my program because of this error. Does anyone know how to fix ? ...
[1 reply] : Do not doublepost. See http://www.cplusplus.com/forum/general/162570/ (by keskiverto)
Creating a Phonebook program using classes
 
Hello everyone, second semester CS student here need some help with a programming assignment that I ...
[1 reply] : Posting your code on the forums would make people more likely to help ... (by fg109)
I want to get ride off lists and vectors in this program i also dont want to use classes
 
I want to get ride off lists and vectors in this program i also dont want to use classes,just want t...
[1 reply] : Why? -Albatross P.S. Those strings you're using on lines 7, 9, 10, ... (by TheRabbitologist)
Word Counting with 2 input files & Array
 
My first post here! For this problem, I have to have two text files: one for list of words that nee...
[7 replies] Last: Do not loop on eof, like you do on line 49. Loop on the input operatio... (by LB)
Grade Distribution
 
One last part of my program is to do grade distribution and display it along with starts. I have no...
[6 replies] Last: The values that are different should be arguments to the function. (by Duoas)
FSM using table lookup
 
My question is more a general question. My assignment is to code a FSM using a table look up. We ar...
[no replies]
by s8050
Is there a way to make simple tones in simple console app?
 
Hi It's my first year in learning C++. I just make simple console applications. and I would love t...
[3 replies] Last: Your welcome :D even I cried when I found it. Amazing (by programmer007)
Rectangle class
 
"Write a class definition named rectangle to represent a rectangle. The class contains 1. Two priva...
[16 replies] Last: It runs, but this is the output I get: Rectangle 1 area ia greater t... (by joeaswe1)
It wont update or react to an updated int x
 
I was doing the challenges on this website and came upon a problem The code is supposed to ask you ...
[2 replies] Last: Thanks LB! You really cleared that up for me, i didn't realize that. ... (by RadioactiveRetard)
Pointer
 
I need to calculate the average grade. Here is my code: I keep receiving 0 when I'm trying to calcu...
[8 replies] Last: My pleasure^^ Happy coding! (by TarikNeaj)
Bitset Exercise from C++ Primer
 
Write your question here. #include <iostream> #include <bitset> using std::cin; using std...
[1 reply] : Line 12. What input can be converted into bitset<32>? (by keskiverto)
C++ program works fine locally but gives me errors when I submit it as homework due to -Wfatalerrors
 
Title. The program uses parallel arrays and sorts children and parents into sides. The error I'm get...
[6 replies] Last: Have you tried talking to your professor or emailing them to find out ... (by LB)
Return an error and continue program?
 
I have some code that at times, will divide a number by 0, which is undefined. This still gives me a...
[2 replies] Last: I'm not too sure what sort of program you're trying to make, but why n... (by cactus)
Pages: 1... 5354555657... 83
  Archived months: [mar2015]

Cannot post in this page. To post a new message, go to the first page.