Beginners (Page 5)

Mail Order type application
I'm trying to do an application that allows the user to enter a 4-5 character string consisting of a...
[6 replies] Last: So I should be using ==? (by Databend)
what excactly are atrributes in a class?
so we got a assignment from school and we have to create a class but I don't quite understand what ...
[1 reply] : Hello king2105, PLEASE ALWAYS USE CODE TAGS (the <> formatting button... (by Handy Andy)
by pevecg
Setting value to dynamic class object
Hello, so I am playing around with classes and I pretty much understand them apart from the fact how...
[1 reply] : Nevermind, I realized that when testing this, I didnt initialize the a... (by pevecg)
by pizza
Why Pass String By Reference
Hello. I learned that when you pass something by reference not by value, the program doesn't make an...
[12 replies] Last: Even without threads, the function may not be able to assume that the ... (by helios)
Verifying correct input
I'm creating a program that requires the input to contain a certain parameter, that being 3 digits f...
[2 replies] Last: Thanks! Works perfectly. (by Databend)
by Fojaxx
Prevent characters from being entered into int variable type
Hey, so i spent all yesterday working on a ratio calculator for purchasing items. the program tak...
[8 replies] Last: In most cases, the best (simplest, most straight-forward) way to valid... (by mbozzi)
Visual Studios c++ Square Matricies
i am having trouble creating a square matrix with my code. I am not allowed to use the vector librar...
[3 replies] Last: Your question is not entirely clear. On one hand you talk about some ... (by keskiverto)
what excactly are atrributes in a class?
I have been googling for 2 hours and I still don't know what an attribute is in a Class. could so...
[1 reply] : (by d1g1talarts)
Vector loops
Im not sure why vector d is only getting the "dog" string and not the "catd" string as well. ...
[5 replies] Last: std::string::npos (by FurryGuy)
functions and array
my codes not working #include <iostream> #include <string> #include <iomanip> using namespace...
[1 reply] : not working Please describe that in more detail. * Fails to compile?... (by keskiverto)
by urby
Why does the output value always equal 1?
Hello, I am sorry for a basic question, however, I can not figure out why this function obtains the ...
[6 replies] Last: Thank you for finally showing the relevant code. A compiler says: I... (by keskiverto)
Count the average from an external textfile. (containing strings)
Hey, Im trying to make a program with an external .txt file. It should contain First name, last nam...
[8 replies] Last: Thank you! you´re the best! I have to study more.. (by dannehess)
How to use to_string function
I am creating a function that takes two integers and adds them returning as the string "a + b = c". ...
[1 reply] : #include <iostream> #include <string> std::string addition( int a, ... (by JLBorges)
Array of pointers
Hello everyone, From my reading and web studies, I have not found anything relating to the above t...
[2 replies] Last: Hello everyone, responding to jlb. I stand corrected and disappointed.... (by mycuser)
Tax Rate Calculator
I wrote this code for a class assignment, but when I run the program the output doesn't make any sen...
[8 replies] Last: Hello DeathShaman1, Your last post showed up before I finished mine.... (by ar2007)
Baby Names Project
I have to make a project that I need for school where I take a file and print the top baby names for...
[14 replies] Last: Remove lines 32 & 33. The number of boys and girls at that point is ze... (by dhayden)
Operator overload
You should overload the operator+ such that you can perform the following operation in the main func...
[10 replies] Last: You can test that. Your array does currently store int s. Replace th... (by keskiverto)
broken for loop or equation
Hello, I'm having issues somewhere either in my for loop or my equation. The program I was asked to ...
[1 reply] : You can't take the log of a negative number (line 6). Reconsider your ... (by lastchance)
Only Letters On String
Hi I am new in c++ i would like to ask if how to put only letter on a string if the user put a...
[1 reply] : Hello portrap099, Welcome to the forum. I through this together quic... (by Handy Andy)
my first program
This is my first true program who i made 80% myself 20% from tutorials , i'm newbie in C++, so what ...
[4 replies] Last: Hello Andreiz112dn, I must apologize, my bad I referred to being cons... (by Handy Andy)
Pages: 1... 34567... 49
  Archived months: [jan2018]

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