Beginners (Page 3)

Trouble getting lambda to work correctly
 
How might this be fixed to get the lambda to work? Trying to evaluate if the string rating contains ...
[4 replies] Last: Peter87, thank you a lot. I really asked a stupid question and wrote a... (by Enoizat)
need to convert single character to string for function call
 
I have a function that loops through an array of strings, trying to find a match. I read that I'm s...
[4 replies] Last: Thanks for all the effort you took in analyzing this. I just wanted t... (by zydeholic)
by AM111
unable to ru
 
When I run the code, the program tell me that it is unable to open the three files. Can anyone help...
[2 replies] Last: thanks! I had the files on a contentfolder . It works now (by AM111)
Number guessing game
 
This program's supposed to randomly generate 6 numbers for the user to guess and calculates the priz...
[10 replies] Last: Makes sense. I'm curious, but what was it before the edit? (by Nwb)
by AM111
C++ error
 
When I run my code, It appears an error in this part saying: "error: expected ';' before 'newCais'" ...
[4 replies] Last: Thank you very much!!! It works now! (by AM111)
Sort Specific Column of 2D array
 
Greetings plusplussers. I'm strugging with creating a user defined function. It has three purposes. ...
[1 reply] : Currently you sort only the first row. Since mincol is a copy you on... (by coder777)
Help with selection
 
Hello guys, I tried to make a kind of a menu but I don't know how to make the selection I ha...
[6 replies] Last: Thanks @kkeskiverto, @FurryGuy, @Handy Andy, (by OshriMakk)
help getting program to run until stop is entered and memory access errors
 
hello I'm am needing help with some code I wrote that reads a text file of 1000 most popular female ...
[3 replies] Last: The first element in the array is the one at offset zero from the begi... (by mbozzi)
Recursive Definition Clarification
 
"Consider the following recursive definition, where n is a positive integer. F(1) = 3 F(n) = F...
[1 reply] : https://lmgtfy.com/ https://stackoverflow.com/help/how-to-ask (by TheIdeasMan)
Find Max of 2D Array: Finding value and index of largest element
 
I have a problem in my Intro to C++ study guide for my final that asks for a user-defined function t...
[9 replies] Last: No, I'm saying return the "index" to the calling function and do any p... (by jlb)
A question on classes
 
I am writing a menu driven program and I want to use classes to display the different sections of th...
[1 reply] : Hi, Is this because its return type is void? Yes. should I be ... (by TheIdeasMan)
clock - very incomplete, but trying to understand classes
 
Im working on this clock project and im trying to set it up so it checks if hr is greater than 12 fo...
[5 replies] Last: What I riginally wrote worked better in the short run but I changed be... (by diggty66)
gettin the average
 
Hi, i have a file with these following numbers and i want to take it as an array and take the averag...
[5 replies] Last: oh i got it i just needed count++ after the loop, thanx guys (by aliklz92)
Do programmers write reports/essays?
 
Hello. My writing skills in school are lacking, and I was wondering whether they are important for p...
[1 reply] : I have hired good communicators who are adequate programmers, ahead of... (by Repeater)
how can I simplify this chess square program in a more c++ way?
 
ok so in this simple program I'm checking the content of input against odd and even strings from sqn...
[2 replies] Last: ya, I was thinking that could be another way after c++ 11. I need to g... (by doulos24)
Convert integer to roman numeral function
 
I need to create a function to convert an integer to a roman numeral, this is what I have so far. ...
[1 reply] : Line 3: You can't nest one function (Roman) inside another (main). L... (by AbstractionAnon)
Array + Function (Void functions and sum)
 
Task: 1. Build the function f(x) that creates an array according to formula: Ai=(i+1)/(x)*(-1)^i 2. ...
[2 replies] Last: Thank you so much my friend. It works and I will study what you sent m... (by polishprogrammer88)
Output numbers in reverse HELP
 
Hello, So I need to write a code that will output numbers in reverse. Which I plan to read into a...
[2 replies] Last: Yes thank you ( I'm personally still having trouble with functions). S... (by Marcos8701)
Mastermind COde
 
I am unsure on how to fill out the rest of the code. I need arrays for the number of tries and spots...
[10 replies] Last: can you open your pms (by YeetParadox)
Print even numbers between two integers
 
Hi, What's the easiest way to print all even numbers between two ints? I know it would be a whil...
[5 replies] Last: I got it thank you I was looking at the wrong section on the link (by glasseater)
Pages: 12345... 36
  Archived months: [oct2018]

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