Beginners (Page 3)

by jabeh
Overloaded Method
 
For an overloading method we have the method that have the same name, different number of parameters...
[11 replies] Last: I've encountered very similar ambiguities in practice and it's often a... (by mbozzi)
by vysero
Match everything after first occurance of a number
 
Hey guys, I have a bunch of std::string's of versions coming from a map: someProgram-Ver-1_11 someO...
[16 replies] Last: #include <iostream> #include <string> #include <map> #include <regex>... (by againtry)
c++ program that utilizes menu to print specific information from a weather data file
 
I have posted questions about this HW the other day, and I would like to know if I am going in the r...
[9 replies] Last: #include <iostream> #include <fstream> #include <iomanip> #include <... (by againtry)
Trying to format the data to be inline on the right side.
 
Hello, I'm just trying to format the output on the right to make it all inline. I am having a hard ...
[17 replies] Last: I'm back. Now, where were we? (by againtry)
Ways of storing all possible variants of variables for a class
 
I am writing an RPG creator for an RPG tabletop game where each variable has an array of all possibl...
[1 reply] : Was overthinking the problem. (by Elured42)
Put inputs into array
 
How do I make it to where the program takes 10 integers from user and puts them into this array? Tha...
[1 reply] : 'std::cin' is the stream that receives user input. One possibility, a... (by Ganado)
Matching the value from input and value from a text file
 
Hello. I have a text file consisting of member data. I am developing a program where we can use the ...
[1 reply] : using getline you may get a stray space or anything else. equality me... (by jonnin)
Large data file hw assignment
 
I am stuck on a homework assignment where I filter out bad data flags that say -9999 from a massive ...
[14 replies] Last: When working with fixed fields, another approach is to work out the st... (by seeplus)
by jabeh
C++ Classes Program
 
#include <iostream> #include <stdlib.h> #include <fstream> #include <string> using namespace std; /...
[6 replies] Last: @lastchance okay thank you (by jabeh)
Questionnaire/Survey program with the use of if /else if/else statements
 
Hi I’m trying to figure how I would create a validation for the amount of no’s that are at least...
[5 replies] Last: Thanks so much definitely taking all these replies in account huge hel... (by DozoIki)
C++ hangman program (stuck on one problem) (1,2)
 
Goal: Create a Hangman program to guess a 5 letter word. More details: -Users gets 5 letter guesse...
[22 replies] Last: Hey guys, sorry for getting back so late but I have found the solution... (by moosemb)
How to use additional Header and Implementation files in a project that already has a 'header-imp-class' configuration.
 
I have a project in which I have a normal c++ file for my main function and I have a header for decl...
[4 replies] Last: What is in the House.h? (by keskiverto)
Error Codes
 
Hello everyone, I am currently trying to work out a specific problem that I have been stuck on. The ...
[3 replies] Last: What's the format of the file - provide a sample using output delimite... (by seeplus)
Recursion problem
 
Hi, I am having trouble having my code read the recursive search. If I enter above the limit it let...
[2 replies] Last: #include <iostream> int search(int const* xs, int sz, int x) { ret... (by mbozzi)
Objects Classification
 
Hello guys. I am trying to edit the code that I have developed previously. After editing it, I have ...
[2 replies] Last: What is L10 supposed to do? What does ReadFile() return? The loop L23... (by seeplus)
by garyL
Average from array keeps returning address?
 
for my hw assignment, i had to write a program with 2 functions and an array to gather grades and th...
[5 replies] Last: wow, yup that did it right there! been driving me nuts trying to figur... (by garyL)
how to skip over code
 
Hi guys! I'm having trouble with a part of my code. I don't want it to output the given pollutant em...
[1 reply] : Do you mean something like: #include <iostream> #include <string> ... (by seeplus)
My while loop won't do anything after I input the word yes
 
My while loop won't do anything after I input the word yes. I have marked the line that is giving me...
[9 replies] Last: Thank you guys for the comments, they were very helpful! (by BeginnerCoder123)
by Naqq
Building a Recipe
 
For the love of humanity, someone please look at this. This is the shell I have so far. I am trying ...
[3 replies] Last: enum names are mostly used to make your code prettier, similar to cons... (by jonnin)
Help with int variables
 
So I'm making a program that takes a price a trade-in value and a down payment with an interest rate...
[2 replies] Last: @OP You have many problems with your code. This gets you on the right ... (by againtry)
Pages: 12345... 13
  Archived months: [aug2021]

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