Beginners - November 2017 (Page 24)

I can't get all the identifiers to come out not right
 
For example when i enter _3d digit, it comes out saying this is valid. I am confused as to why ...
[2 replies] Last: Why do you think _3d is not a valid C++ identifier? The following com... (by AbstractionAnon)
cin hide input
 
I want to enter password from user in such a way that the input while being input is shown as ****.T...
[no replies]
linked list-delete from beginning
 
In delbeg function why can't we just use start=start->next? #include<iostream> using namespac...
[3 replies] Last: oooooooooooooh @Jaybob66 your answer made it so much clearer (by closed account 1vf9z8AR)
Displaying frequencies of values entered
 
So I'm supposed to display the values entered by the user as well as the frequency of those numbers ...
[2 replies] Last: reusing the i is causing you problems here, i'll reproduce your code w... (by Jaybob66)
I keep getting a run time error but the code compiles and opens??
 
i dont understand //help from Chegg tutors //Ayila Reese #include <iostream> using namesp...
[1 reply] : because of this; report[scoreToGrade(score) - 'A'] += 1; a grade of ... (by Jaybob66)
Initializer list woes
 
Okay. So what I'm trying to do here is pass a number of string objects as function parameters but (l...
[4 replies] Last: It would appear that you need to upgrade the compiler/library to a mor... (by JLBorges)
linked list-deletion at end
 
i wrote simple program on linked list to enter values at end and delete values at end.The inserttion...
[4 replies] Last: Yes, but when you delete the last entry, the entry before last becomes... (by AbstractionAnon)
by shamar
Stuck. Need help please
 
#include <iostream> using namespace std; int main() { string firstname; string lastna...
[2 replies] Last: Duplicate http://www.cplusplus.com/forum/beginner/224565/ Do not doub... (by Handy Andy)
Find partner
 
I am a new learner. I have just started to learn coding c++. I still do not have any about programmi...
[1 reply] : Maybe you can try to get in touch with some of these people: http://ww... (by Enoizat)
Change single word color in a text with NCurses?
 
Hello everyone, i would like to change a single or more word color in a text using NCurses, as fo...
[6 replies] Last: It seems you’re struggling a lot about colourful console programs. I... (by Enoizat)
Why do I get strange values after I use functions to call on a data structure to perform various tasks?
 
Hello, I have set a simple program to compute share variables. Unfortunately, I obtain very stra...
[3 replies] Last: Hello, Thanks very much, I referred back to that and have amended my... (by Shishykish)
How to restart my program ,Help .
 
Write your question here. can anyone please tell me how to restart the program when i type R if an E...
[2 replies] Last: In case you don’t appreciate ‘goto’: // #include <conio.h> <--... (by Enoizat)
How to read a string character by character
 
I have to write a program using a while loop to read a string that represents an identifier characte...
[4 replies] Last: You could try with a logic like this: - if in your string you find som... (by Enoizat)
Need help with arrays..
 
I have to make 2 programs with arrays in c++ and i have no idea how.. im learning c++ for 2 weeks no...
[1 reply] : It looks a pretty complicated program after just two weeks. Don’t yo... (by Enoizat)
l need help
 
hello gyz i really need your help! My professor asked me to write a program of calculating averag...
[5 replies] Last: I would save myself some aggravation and write type avg(data, number_o... (by jonnin)
program doesn't print a values
 
lm trying to print clark.race but it doesnt show anything. lm using a struct Dog. 'clark' and 'molly...
[7 replies] Last: thanks @mbozzi . lm in the good way now (by vincentthorpe)
iterate through something a save it onto an array?
 
I have a var that holds the following information [[code=666]],[[code=777]], I want to iterate tro...
[2 replies] Last: In C++ could use std::sregex_token_iterator to iterate through the std... (by gunnerfunner)
C++ how use formula
 
I have formula x= x0 + sin(a)*R and how i can draw circle with it.
[10 replies] Last: Circles, circles, everywhere .... #include <iostream> #include <vect... (by lastchance)
Return array
 
Hy, I would like to return dynamic array, but I get error with my code and can't seem to find tutori...
[4 replies] Last: "Dynamic array" or "vector"? #include <iostream> using namespace std... (by lastchance)
by div132
Help with my tictactoe project
 
Hey! I'm currently working on a tictactoe project, but I'm having some issues. I have 2 differe...
[3 replies] Last: Thanks alot for the tips! getline started working after i added cin.ig... (by div132)
November 2017 Pages: 1... 2223242526... 33
  Archived months: [oct2017] [dec2017]

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