Beginners - October 2021 (Page 4)

Copying more than one variable continuously to clipboard
 
Hi! I'm new to both C++ and this website, and I haven't yet explored advanced C++; I've just learned...
[1 reply] : Get comfortable for a nice long read. https://docs.microsoft.com/en-us... (by salem c)
by Jhokuu
Extracting specific data without the rest in a .txt file
 
.txt file: Johnson 60 12.50 Aniston 65 13.25 Cooper 50 14.50 Gupta 70 14.75 Blair 55 10.50 Cla...
[2 replies] Last: Your second number is a double not an int. You don't have to ignore() ... (by againtry)
by Shizzy
Reading only numbers and not letters?
 
Hello beginner question, I had a similar problem before. I'm trying to get this program to not crash...
[5 replies] Last: Oops! I didn't read @OP's problem as thoroughly as I should. The input... (by againtry)
byte representation of program objects
 
Can someone help me with this topic " byte representation of program objects" using pointers in Cpp ...
[1 reply] : Leo2505 (1) Can someone help me with this topic " byte representation ... (by jonnin)
Why is it not printing the names
 
I am trying to put information from a file into arrays but I am not getting it right. The data is no...
[3 replies] Last: http://www.cplusplus.com/forum/general/280454/#msg1212549 (by againtry)
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)
October 2021 Pages: 1234567
  Archived months: [sep2021] [nov2021]

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