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)
Two Dimensional Arrays
 
I am stuck on completing one of my functions, which consists of a two dimensional array that has to ...
[14 replies] Last: That makes sense for a program that is in real life. This program is a... (by stoneJax)
complex numbers
 
how to write coding with complex numbers, just an example to make me understand more. and how to des...
[no replies]
forward trigo
 
how to write forward trigo coding? in process doing my asg. and how to design in it 'myform' in vis...
[no replies]
coding
 
how to write coding with this equation? y=x/lnx? what step to do this equation's coding in visual s...
[no replies]
Help with list homework please
 
exampple:7, 3, 5, 4 -List the total count of odd values in the linked list(from example above: 3) ...
[7 replies] Last: I was able to figure it , Thank you all who helped me. at the end I us... (by Psalazar2016)
quiz score not displaying properly
 
I am working on a quiz for my class project but I am having some issues displaying the grand total. ...
[5 replies] Last: Thank you it did help, I corrected the mistakes with total and guess. ... (by PermThesis)
Ostream To String Help
 
Why is cout giving an error, cannot convert ostream to string? And if that's the problem does anyone...
[2 replies] Last: You are missing the includes of two required headers: #include <str... (by JLBorges)
Checking an object for a combination of identities
 
Hi Say I have an object E, which has multiple members - a bool B, an int I and a char C. Now s...
[5 replies] Last: #include <optional> struct A { bool b; char c; int i; constexp... (by mbozzi)
Converting hours to seconds, seconds to hours
 
Hello, Ive got this assignment where we need to calculate the inputted seconds into hours, minute...
[9 replies] Last: I don't mind helping you as I also learn by trying to figure out stuff... (by Cheddar99)
Help with fairly easy C++ HWK problems
 
Hi! I need some help on these three problems. a) Wirite a for-loop to create the sum of the int...
[1 reply] : For question 1 and 2, http://www.cplusplus.com/doc/tutorial/control/ F... (by chicofeo)
Error printing Arrays on Traffic Jam Game
 
This is a project we're working on for our final project where we have a game field thats populated ...
[3 replies] Last: See how you delete HB on line 78, and then on line 79 you set it to ... (by Repeater)
by Grime
Need help coming up with approach (1,2)
 
So I want to make a hangman game, where the computer tries to guess the word you're thinking of. ...
[31 replies] Last: Eventually I want to add UI for the program itself to allow the user t... (by Grime)
by rad
How to make multiple classes
 
Can someone help.I have been struggling with this for hours can't figure it out how to make it work....
[3 replies] Last: Thanks guys you were helpful. (by rad)
Quick sort with middle element as pivot
 
Question- https://www.codechef.com/problems/TSORT Test cases give expected output. I am getting the...
[no replies]
Levenshtein distance
 
Problem- https://www.spoj.com/problems/EDIST/ I am using Levenshtein distance to find the edit d...
[3 replies] Last: But what is the issue? I did those things to reduce run time. (by suyashsing234)
Hash Table Serialisation.
 
How can I serialise a hash table?
[4 replies] Last: just dump the whole thing as a binary blob This will only work if th... (by dhayden)
Should this function be a member of parent or child?
 
Hi I have a class C, which has a vector of objects of class E. Objects of class E will often 'lin...
[2 replies] Last: I see no reason to involve C: void E::link(E &other) { E.linkedID... (by dhayden)
by DellXT
How to rewrite code using class?
 
How to create class Frame?
[3 replies] Last: The class keys struct and class are indistinguishable in C++, exc... (by JLBorges)
Pages: 123... 38
  Archived months: [oct2018]