Beginners (Page 60)

error: return-statement with a value, in function returning 'void' [-fpermissive]
error: return-statement with a value, in function returning 'void' [-fpermissive]What does this mean...
[1 reply] : void means dont return anything . yet you return EXIT_SUCCESS... (by shadowCODE)
error: expected ';' before string constant
error: expected ';' before string constant Why does that error keep occuring? cout << (1) ...
[3 replies] Last: Thanks it worked (by Magnes34)
The 3n + 1 problem
The 3n + 1 problem Consider the following algorithm to generate a sequence of ...
[8 replies] Last: Thank you. I finally solved it. (by stefoka)
Reading Integers from 2 text files and Merging into another text file
Hi, I am struggling to get my program working. The directions are to write a program that re...
[2 replies] Last: oops... deleted my post while editing. your while() loop is now techn... (by Esslercuffi)
Help making classes
I know this is asking a lot but it will really help me learn. So I have trouble making classes becau...
[9 replies] Last: Thank you very much @turtlesavage, l am totally newb but am trying to ... (by andy1992)
by slovit
switch case where did i go wrong
Needs to show total price with tax of four different apple type using switch case #incl...
[2 replies] Last: #include <iostream> using namespace std; int main(){ char applet... (by slovit)
Creating Unique Pythagorean Triples in VS2013
Hi, I'm rather new to programming, and while I get a lot of the concepts, I have trouble when trying...
[5 replies] Last: #include <iostream> #include <iomanip> using namespace std; int mai... (by shadowCODE)
My First Program
it has been two days since i started learning c++ following from youtube, i have made a math exam as...
[4 replies] Last: thank you very much :) this helps (by martin74302)
implementation of zig zag
I am trying to implement the zig zag movement which and splay tree has. i am kinda having a hard ti...
[no replies]
Assist in using array for word game
Hello, I'm a beginner and new to this forum. I'm really confused and stuck with a certain codes. I'm...
[2 replies] Last: @Alyssa, thanks for the info. :) oh and im using visual studio right ... (by Russell Santos)
Numerals >> Roman Numerals
I'm Having trouble with this program, this simple program supposedly converts any number from 1 - 99...
[4 replies] Last: @taoden21 1. can string be used in arrays then? Yes. More help co... (by whitenite1)
I verily know how to write classes and include some destructors, Copy constructors etc. What am not...
[6 replies] Last: Ooh well now I see , lemmi check this links. Thanks. (by andy1992)
Print a box shaped with recursion?
I want to make a program that print a box shaped like this if i input 4 **** * * * * **** i k...
[3 replies] Last: It is not supposed to "work". Mere food for thought. There is no "ne... (by keskiverto)
design pattern : adding new function to pre-written class in library
I have a library provided by the vendor. All i have is header files and library files. Library co...
[1 reply] : Short answer: do not do that. If possible, use a freestanding functio... (by MiiNiPaa)
Why is this happening??
I am trying to code a splay tree, for which i try to map the path from node to tree root. the probl...
[8 replies] Last: Even if I return it still does the same thing. You want me to return ... (by DrJones)
C++ Counting
Hi There Not sure if anyone has time to help me but I Am looking for a tutorial to wright a program ...
[8 replies] Last: type identifier is another way to say type name volatile is a t... (by MiiNiPaa)
by brenP
Celsius temperatures into Farenheit
The prompt I was presented with is: Write a program that displays a table of the Celsius temperature...
[2 replies] Last: Thank you very much I realized what I was doing wrong on the original ... (by brenP)
by manjoo
Problem with de allocating dynamic memory in desrtuctor
my program runs well when I do not delete the double pointers(int **).When i try to delete , the pro...
[1 reply] : Show declaration of your class and everything you do with std::string ... (by MiiNiPaa)
Question about parameters
I don't know if my English isn't good enough but I just don't get what this task is asking me to do:...
[2 replies] Last: Yeah that's a bit clearer, but I still don't understand 100%. I don't... (by guirampani)
Average, Minimum and Maximum temperature using functions. (1,2)
So there comes the task: Write a program that takes a maximum and minimum temperature of the cit...
[31 replies] Last: Ahh I get it now, yeah done for maxTemp too... Thanks for your help me... (by guirampani)
Pages: 1... 5859606162... 122
  Archived months: [aug2014]

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