Beginners - December 2017 (Page 2)

Functions
 
Hello,everyone! I have to write a program that check if a string contains only allowed symbols like ...
[2 replies] Last: think about the process you would do this on pen and paper. Then code ... (by SamuelAdams)
CodeBlocks compiler confusion.
 
Hey everyone, Of course I'm new to programming. I'm using DEV c++, but I have searched on ...
[4 replies] Last: Whether you use Orwell DevC++ or Code::Blocks on windows, you are like... (by Chervil)
Missing ';' after top level declarator problem
 
At the code below there is a simple function with these errors: gastos.cpp:13:6: error: variable ha...
[6 replies] Last: why that? I expect you left out a semi-colon. I am having to use ps... (by Repeater)
push_back not working in loop
 
In the code below, I tried to let the user input text, and it would output the first word. However, ...
[1 reply] : It most likely doesn't reach the cout statement. That's because there ... (by Chervil)
by Handge
Xcode C++ play sound file
 
How does one play a sound file using Xcode on a Mac OS X. For example if I want to play the file t...
[11 replies] Last: Please see if you can run the following. Name the file snd.mm and u... (by cocoaplus)
shutdown command problem
 
How correctly put variable in shutdown command? ... system("shutdown -s -t //variable//"); ...
[7 replies] Last: My third option should have worked, but it's pretty much equivalent to... (by Ganado)
Need help for my exercise
 
Write your question here.\ So i have experimented a bit with this exercise but im still not sure how...
[3 replies] Last: But the thing is that there can be 10 teams with 99 different colors a... (by NOSgraf)
How do i make the board reprint with an X if there is a match
 
How do i make my board reprint the board but with an 'X' in the section that there is a match, and h...
[2 replies] Last: Your initBoard function seems a little unorthodox. Line 19: You do r... (by AbstractionAnon)
I don't know where i made the mistake
 
So i have an exercise where when i put the wrong input for the number of matrixes it shows me the...
[3 replies] Last: OK. It is'nt the smallest # of operations, its the brute force algor... (by jonnin)
atm program
 
In this program when the loop is repeated the balance inquiry gives the standard balance.Not the val...
[2 replies] Last: I like it, I want to use YOUR ATM! it looks like you compute the star... (by jonnin)
Variable and file type to make file
 
Hey everyone, I'm trying to make files by what user has input. my code makes files but it...
[5 replies] Last: I think for the beginning Dev C++ is ok. Here is how to set the compil... (by Thomas1965)
My program does not work.
 
Write your question here. So the exercise i have is to find the biggest sum of the numbers of the ...
[10 replies] Last: "MAXSTAIRS" is in capital to let you know that is defined as a constan... (by jonnin)
Compare
 
I have looked at the compare tutorial here on C++, but I must still be missing something. Origina...
[4 replies] Last: You're missing my point about lines 4 and 16. You declare and set fou... (by AbstractionAnon)
Multifunction Program Assisstance (1,2,3)
 
Only complex ideas make it easier for me to understand program intricacies. Working on a multifun...
[59 replies] Last: Hello codingN00b2017, I believe your problem comes from if (input.co... (by Handy Andy)
Nested ForLoop Help
 
Hello. First post as a very newbie to C++ programming. I've been working through the exercises in ...
[2 replies] Last: OH! now i feel very silly! When you see the whole output it makes sen... (by gconroy09)
Trouble selecting a microcontroller/processor for a robotics project
 
I am having trouble selecting a microcontroller/processor for a robotics project in C++. I have a pr...
[no replies]
Using Classes
 
In Chapter 6 of Beginning C++ Programming, I followed the instructions to code a search program. Ho...
[4 replies] Last: Hi JL, Thank you very much. What a difference braces make!!! (by phztfte1)
Char value == 0? Non-numerical values interpreted as zero
 
I am testing my Calculator program's error message by inputting random letters and punctuation, hopi...
[3 replies] Last: I figured out a way to make that work however it is still throwing out... (by mrberry)
by drs135
Pointers help
 
I want to know how i can output pNum and how i can deference a pointer. Any help is appreciated. ...
[4 replies] Last: #include <iostream> void input_details( int* n1, int* n2 ) { if(... (by JLBorges)
by Handge
How to print out Text File
 
I have a text file that has some ascii art in it, and I was wondering if there is any way to just pr...
[15 replies] Last: > For large files, could rdbuf fail where another method such as while... (by JLBorges)
December 2017 Pages: 1234... 23
  Archived months: [nov2017] [jan2018]

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