[try Beta version]
Not logged in

Beginners - February 2019 (Page 16)

What is going on here? 2048
 
I have made a function called game_over which returns a boolean based on whether a grid representing...
Feb 12, 2019 at 12:59am
[8 replies] Last: That's what mbozzi meant with his post, too. :-) (by dutch)
Problem with while loop
 
Hello! So i'm working on a program assignment that requires me to figure out how many plants a flor...
Feb 12, 2019 at 12:51am
[1 reply] : You need to initialize tempOutside to a non-zero value. If you don't i... (by dutch)
Trying to call String Array, with data taken from a file ,into a Function
 
For a class assignment we are to take the roman numerals from 1-20 (I-XX) and place them in an array...
Feb 11, 2019 at 10:49pm
[2 replies] Last: Since you want romanNumerals to be the string representation of i, yo... (by dhayden)
standard constructor pointer to nullptr?
 
Greetings, a short question: If I have a class with a pointer as a member and I call the standard c...
Feb 11, 2019 at 10:44pm
[6 replies] Last: Also, if you're using a pointer, you should ask yourself "who owns the... (by dhayden)
I Have a C++ Assignment I need help with. Please advise.
 
Write your question here. Write a C++ program that the Traffic Department can use when the owner ...
Feb 11, 2019 at 6:36pm
[2 replies] Last: Thank you so much for your help. But how would that else statement loo... (by Elandre)
Explain c++ code
 
Hello, i am not a c++ developer but i need to convert a short c++ script to python. I think this cod...
Feb 11, 2019 at 6:12pm
[6 replies] Last: thats the first step, then it takes the hash and runs dsa on it. Its... (by jonnin)
Error searching
 
Hi, i want to make a program that can search multiple text file. I am still learning. If i enter any...
Feb 11, 2019 at 6:10pm
[2 replies] Last: Hai I change my code and make one function for search. but i just want... (by closed account iN8poG1T)
Error: lvalue required as increment operand
 
I'm receiving error: lvalue required as increment operand. Error: Project1.cpp:131:37: error...
Feb 11, 2019 at 5:48pm
[3 replies] Last: Andy / Lastchance .. thank you for your input. (by thishas)
string search
 
Hi, i have a problem that i can't figure out on my own. How to check in string if first or second c...
Feb 11, 2019 at 5:15pm
[1 reply] : string s = ".a more words"; if(s == '.' || (s >= 'a' && s <= 'z') ... (by jonnin)
by Bopaki
error: 'NO_OF_REGIONS' was not declared in this scope
 
I get these errors when compiling my program error: 'NO_OF_REGIONS' was not declared in this sco...
Feb 11, 2019 at 3:57pm
[1 reply] : NO_OF_REGIONS What is it? Is it an int? Is if a double? What value ... (by Repeater)
Assigning values not working
 
I need to make a program that will determine an odd or even number and when I try to assign a value ...
Feb 11, 2019 at 12:12pm
[2 replies] Last: Why do you even need e or o? Why not something like: int main() { ... (by jlb)
Explain me the question MAGICJAR
 
It has been said in the question that the minimum jar should be so that all junior chefs make their ...
Feb 11, 2019 at 8:24am
[3 replies] Last: Your answer only works if the junior chefs cooperate. > The junior ch... (by salem c)
by az1234
pushing/copying/placing a string into an integer array
 
Hi, I know there are a million different answers on how to do them and I've tried them all but they ...
Feb 11, 2019 at 8:20am
[7 replies] Last: The subtracting 0 part I put in because in the other forums I looked ... (by H00G0)
Collecting Like Numbers in an Array
 
I have a bool function with an array where I am trying to find a pair of matching values. These valu...
Feb 11, 2019 at 7:51am
[6 replies] Last: Thank you for the feed back. I appreciate it! (by stoneJax)
Initialization of 2D Array.
 
Dear friends In my code I am initializing the value of bottom wall and top wall as shown in the cod...
Feb 11, 2019 at 6:23am
[5 replies] Last: Thanks guys. (by usmannazir)
by cash
sin function
 
Why isn't my program outputting the correct sin value? #include <iostream> #include <cmath> #i...
Feb 11, 2019 at 6:08am
[3 replies] Last: x - x^3/3! + x^5/5! - x^7/7!+ ... - Use a more accurate value of pi. ... (by lastchance)
by roselp
Loop error
 
Hello I am having difficulty with my loop. I am very new 5 weeks into class. This program asks a us...
Feb 11, 2019 at 3:03am
[2 replies] Last: Surrounding the initial codes in tags for better readability for all w... (by mpark4656)
Memory Game
 
So i've been trying to piece together a memory game with the goal of using one array called symbols(...
Feb 11, 2019 at 2:40am
[4 replies] Last: Ok so here'es my new code with new problems... The problem is, after i... (by Lunchbox)
Exercise to test self C++ comprehension
 
Hi! Currently I'm doing exercises in the style "what does this program print?" in order to test if ...
Feb 10, 2019 at 11:43pm
[2 replies] Last: Thank you for answering @dutch! In the exercise I can't modify the c... (by cppStudent012)
Won't count number of vowels
 
Program runs but does not count the number of vowels. #include <iostream> #include <string...
Feb 10, 2019 at 11:09pm
[4 replies] Last: Greatly appreciated. Thanks (by ames1951)
February 2019 Pages: 1... 1415161718... 23
  Archived months: [jan2019] [mar2019]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.