Beginners

by admin
Welcome -- read before posting!
 
Welcome to the beginner's forum in C++.com! In this forum, users can to talk about any topic relate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (1,2,3,4,5,6,7)
 
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the cons...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duthomhas)
Help please
 
I need help with this assignment I do not know what im doing wrong. Write a program that accept...
[2 replies] Last: Are you intending to enter your interest rate as a percentage or a dec... (by lastchance)
by swa9
Object meaning
 
What is an object in terms of variables, I know that a object with an identifier is known as a varia...
[6 replies] Last: Variable and object are the same thing. It is called object because ... (by dexter1224)
While Statement Isn't Being Read Correctly
 
I'm trying to write a function that allows a user to enter a name. The name cant be over 10 characte...
[2 replies] Last: The issue is with your condition here for the loop: while (decision ... (by zapshe)
Ncurses.h function problems
 
I was looking at the ncurses.h header today because I discovered I had it already, and I just basica...
[2 replies] Last: Many systems deviate a little from the correct way... The header is <... (by Duthomhas)
by swa9
Variables
 
Could someone explain what a variable is in depth, Ive read a lot of articles but none of them expla...
[15 replies] Last: Maybe a good analogy is think of a variable/object as a room. I named ... (by dexter1224)
Strings with Spaces
 
I am trying to create a program for fun that will recite the Tragedy of Darth Plagueis the Wise, and...
[2 replies] Last: you can try to add cin.ignore() (by nakami88)
What does the clone_prefix used for?
 
I am studying coding by watching videos. The guy has the keyword clone_prefix in his code. I am wond...
[2 replies] Last: Oh, ok lol, it is a variable.. It looked like a keyword to me at first... (by dexter1224)
puts vs cout vs printf
 
Hello! When watching different tutorial videos on C++, some teachers still use C keywords printf...
[5 replies] Last: C++17 has two high performance alternatives ("intended to allow the f... (by JLBorges)
by Ocine
Help with error codes in RSA code
 
I am trying to make a code that tests the throughput performance of RSA with given parameters. I'm g...
[6 replies] Last: What are you linking with? A cursory search shows you need to link wit... (by Ganado)
testing validity of ISBN
 
Hello, I am having trouble with a homework assignment where I need to check if the ISBN code is vali...
[7 replies] Last: In case it isn't clear: Duthomhas' code does not use std::string. It's... (by Ganado)
Morse Code Project Help
 
If we are not allowed to use arrays in this project, I am confused on how to make "a morse code get/...
[9 replies] Last: A slightly obscure way is to define your whole morse conversion dictio... (by lastchance)
by Ocine
Extended Euclid Algorithm Help
 
I am trying to implement a code for Extended Euclid Algorithm that takes the input of two values (u,...
[2 replies] Last: Thank you for looking at it. I had -176 at first, but I thought both n... (by Ocine)
Help cleaning up a verbose loop (loop to remove additional white space from an array)
 
Hello, I am trying to create a program that allows a phrase to be stored, but the program will clean...
[6 replies] Last: It worked great. Thanks again. (by confundido)
Linked List question, pointer comparasion.
 
ptr->getNext() == entry_ptr can someone tell me how this is being compared? I know that pointer are ...
[1 reply] : they are compared as if integers, usually of the machine's word size, ... (by jonnin)
Kindly explain this binary tree array
 
Kindly explain this binary tree with array representation. https://www.geeksforgeeks.org/binary-tree...
[11 replies] Last: there was a morse code problem on here a few months ago that I can't f... (by jonnin)
i can't change the text colour!
 
Write your question here. I'm trying to find a way to change the colour of the code. It worked a...
[6 replies] Last: I suppose if I had ever posted my own library anywhere it could be cla... (by Duthomhas)
4 digit lottery random generator
 
Hello, I'm trying to create a random four digit lottery number generator that outputs five differ...
[4 replies] Last: I havent got anywhere yet. Don't know where to start Learn how to ge... (by Furry Guy)
by hbcpp
Pass function Pointers as argument
 
I want to pass a function pointer, which is an argument, to another function taking a function point...
[3 replies] Last: I just want to say that I got it working I edited this line in functi... (by hbcpp)
Pages: 123... 23
  Archived months: [aug2019]