Beginners (Page 93)

by kenzhu
How to output an isosceles triangle composed of & using c++?
 
the user can type in the size range within 2 and 20, and the triangle orientation ( i.e. which dire...
[7 replies] Last: maybe this site will help you how loops work http://mathbits.com/MathB... (by davez)
by davez
Structures \m/
 
Whats the use of structures in c++ programming?
[9 replies] Last: @Peter87 what is the advantage and disadvantage of creating a struct i... (by Lorence30)
"return 0;" or "return 1;" ?
 
So basically, I was wondering why I've seen many tutorials teach "return 0;" as a way to end a progr...
[5 replies] Last: To understand why program exit codes are useful, you kind of have to w... (by Disch)
Two dimensional array with vector
 
i made function, but I do not know how to test this. #include <iostream> #include <cassert> #in...
[1 reply] : Exercise 10: Flatten (5 points) vector flatten(int a )Íž Write a fun... (by leeli0830)
Compiling issue?
 
Hey guys, I'm wondering why my program won't compile. Thank you in advance! I'm getting errors that ...
[6 replies] Last: Yes, the functions want an integer, but you are feeding them with a fu... (by EssGeEich)
Ending elements in array with period
 
I don't know how to end the elements of the following array with a period instead of a comma. ...
[4 replies] Last: Ah i see now, thanks for your help (by bgold12)
NEED HELP
 
I DONT KNOW WHATS WRONG WITH THIS CODE AND IM FREAKING OUT. ANY HELP APPRECIATED. /* * File: fil...
[1 reply] : Please put your listing above between blocks so we can run it. Whil... (by kemort)
by kali17
calculating the average in a multiset
 
Hi everyone! I'm trying to search a multiset for a two values, then calculate the average of the ra...
[5 replies] Last: Thank you JLBorges and keskiverto :) You were very helpful. (by kali17)
Creating a shell
 
Hello so I am a bit rusty, and by that I mean like SUPER rusty. I have this program that creates a ...
[no replies]
No matching function call in main error
 
I dont understand why I am getting the error, 'No matching function call in main ' each memb...
[2 replies] Last: o wow thanks (by bgold12)
Error with classes and multiple files
 
I've spent the last day fixing the errors in my program and I'm stuck on these. This program messes...
[2 replies] Last: You get the redefinition error because you include both date.cpp and... (by YokoTsuno)
by aggsyb
Creating a header file / managing multiple cpp's
 
Ok this one is probably really simple but all example of header files I have found seem to have all ...
[5 replies] Last: Each of your .cpp files should have #include "MyProg.h" near the top... (by dhayden)
by Danny7
Ending while loop with user input
 
I am stuck with this program. So far the user can guess an age and if they get it right the program ...
[4 replies] Last: @Jacobhaha, thanks. (by InfinityCounter)
Error with strings and referencing, please help.
 
I'm working on a homework assignment and I got rid of all the errors and now I'm getting some jibber...
[5 replies] Last: I don't get any compile errors when I compile your code and the protot... (by jlb)
by Phaxen
The switch statement
 
This lab lets students work with the switch statement. Copy and paste the code below in a fil...
[8 replies] Last: meanie poopoo head:the marines favorite sentence lmao (by DAoliHVAR)
by leo255
Can Someone help me understand this code (sorting)?
 
Hi all, I had a test yesterday. Overall, I got everything correct, except for this one function. ...
[1 reply] : You've got two decks of cards with the face up. At each step you take ... (by ne555)
by cGuru
Vector Randomization Confusion
 
NOTE: If you can provide any help without suggesting anything having to do with " std:: ", that ...
[2 replies] Last: Thanks, exactly what I needed! (by cGuru)
Reading Lines from a txt file into a string
 
Say I have a commant.txt file that contains something like: num_chars logfile.txt num_lines settin...
[2 replies] Last: Crap. I haven't thought about using getline(). This makes it much eas... (by Extreme112)
Recursive return of string
 
I am really new to the idea of recursion, I cannot get this to work properly. It is supposed to retu...
[no replies]
HELP PLEASE I am new.
 
Hello. I am new to coding. I just started and I am following a book called "C++ for Dummies" this bo...
[7 replies] Last: Try posting what you have now and please use code tags (<>). In the m... (by admkrk)
Pages: 1... 9192939495... 109
  Archived months: [oct2014]

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