Beginners - October 2016 (Page 17)

Call of a structure inside a function
 
Structure: struct yes { int row,column; }stack ; Function: void check(int v ,int i,i...
[1 reply] : You don't have a type name stack, stack is a variable not a type. Your... (by jlb)
Do While Loop unknown behavior
 
Hi guys, I have two questions: I'm trying to run this code in Codeblocks, and whenever I try to mod...
[2 replies] Last: As written (with +=) you are, in line 18, .... taking the current v... (by lastchance)
Need help fixing problem!
 
I am still relatively new to c++ and I need help fixing my code so it will work properly. The pro...
[2 replies] Last: //Odd numbers if(num%2==1){ for(int rows=num; rows>=1... (by vin)
by Geeman
Hi how to get into industry..
 
Write your question here. Hi new here, I am looking to become a c++ programmer But unsure whi...
[2 replies] Last: Hi yes. (by Geeman)
my loop is looping one less time
 
I wrote a code to find the lcm of multiple numbers, but the loop is looping one less time. The first...
[3 replies] Last: let me see if I understand. The second loop was working fine, but you ... (by ne555)
Help with vectors with multiple CPP files
 
I've just stepped into the realm of using multiple files; so far, all has gone well...until... I'm ...
[1 reply] : You don't want to "spread". You don't want global variables. You shoul... (by keskiverto)
by TeeWee
fuction calling need help in cstdio
 
having problem understanding the int main() how to connect the functions to gather. working on a ...
[1 reply] : (getting error message to few argument) Function void help(int a, i... (by Chervil)
by DolanC
removal of highest and lowest number
 
Okay, I have a problem that requires the user to input scores for contestants for five judges (worki...
[4 replies] Last: don't know if this what you asking. But i would find the lowest like ... (by morlok)
Good C++ Interview Question
 
Do you think this is a good C++ interview question (for beginners)? What is true regarding the foll...
[1 reply] : Its a good question I would say. You might also add the "whats wrong... (by Arslan7041)
by lendcs
How can I loop the following code add to the totalFrabjous_numbers
 
I am trying to find a way to add to the totalFrabjous_numbers if the numbers between a desired range...
[3 replies] Last: thanks for the tips guys, as of now I am informed of this so called "p... (by lendcs)
string reverse
 
could someone explains what is line[line.size() - 1 - i] ? i'm kinda confuse with that. also why li...
[6 replies] Last: @Sakurawhatever: You are missing the point. The OP is clearly trying t... (by Arslan7041)
I need help pointing to a function/loop
 
Hey all! Still learning here and I think that is the right terminology. So, basically, I am cr...
[1 reply] : To generate a random number do this: srand( time( NULL ) ); int rand... (by integralfx)
some exercise
 
Hi, I was trying to do a beginner's exercise from here and needed some help. the user puts like ...
[2 replies] Last: Thank you so much! (by Necro77)
typename is not allowed
 
I am just trying to practice my C++ since I got visual studio again and I wanted to make a program w...
[2 replies] Last: Thanks. It is working now. (by nynex n)
i need help with user input text file using pointer.
 
Hello everybody, 1. in case adding : I have a vector and a pointer that store data from input user ...
[2 replies] Last: keskiverto, my bad , i make a wrong coding by using pointer in this ca... (by Superman99)
Help!!! It keeps saying input file did not open in my program output!
 
Here is the program... I need the output to decode a message but it keeps saying input file did not ...
[6 replies] Last: I know what I need to change!! Okay I need to get special out after ... (by tlowe285)
Help with a beginner prog! :/
 
Thank you!
[4 replies] Last: else if (income > 15000) There is no need for this line, else alon... (by N1nJa)
Two set of codes in one program
 
I don't know how to put this style into words. I put two set of { } and the output is the exact as w...
[no replies]
by N1nJa
Absolute beginner, how to implement graphics/user input.
 
Hi all, I have been learning c++ from Michael Dawsons C++ Through Game Programming book, I'm abo...
[no replies]
by Bunjo
Problem entering numbers into an array
 
I am trying to make a program that asks for the size of an array, prompts the user to enter numbers ...
[5 replies] Last: Thank you! I used vectors and it works now. (by Bunjo)
October 2016 Pages: 1... 1516171819... 51
  Archived months: [sep2016] [nov2016]

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