
please wait
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 the basics of it, or at least I think they're sufficient, t... |
Oct 17, 2021 at 6:10am
[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 Clark 40 18.75 Kennedy 45 20.50 Bronson 60 20.00 Sunny 65 18... |
Oct 17, 2021 at 3:24am
[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 if a letter is entered instead of a number. Before I used c... |
Oct 17, 2021 at 3:04am
[5 replies] Last: Oops! I didn't read @OP's problem as thoroughly as I should. The input... (by againtry)
|
by Leo2505
byte representation of program objects
|
Can someone help me with this topic " byte representation of program objects" using pointers in Cpp I dont know how to make it in cpp Thanks in advance |
Oct 16, 2021 at 1:03pm
[1 reply] : Leo2505 (1) Can someone help me with this topic " byte representation ... (by jonnin)
|
by Thestarfish
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 not getting saved into any of the arrays. What am I missing to... |
Oct 16, 2021 at 8:11am
[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 or argument but will the return type be same or not? |
Oct 16, 2021 at 5:53am
[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 someOtherProgram-Ver-2_13 anotherProgram-Ver-5_11 and I am tryin... |
Oct 16, 2021 at 2:11am
[16 replies] Last: #include <iostream> #include <string> #include <map> #include <regex>... (by againtry)
|
by gigacapybara
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 right direction with this program, it is next in sequence fro... |
Oct 15, 2021 at 6:42am
[9 replies] Last: #include <iostream> #include <fstream> #include <iomanip> #include <... (by againtry)
|
by PhoenixS2020
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 time getting that all aligned. /** * @file Salary.cpp ... |
Oct 15, 2021 at 6:04am
[17 replies] Last: I'm back. Now, where were we? (by againtry)
|
by Elured42
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 possible values. Currently those variable arrays are stored as Glo... |
Oct 15, 2021 at 2:18am
[1 reply] : Was overthinking the problem. (by Elured42)
|
by audioni
Put inputs into array
|
How do I make it to where the program takes 10 integers from user and puts them into this array? Thanks! #include<iostream> using namespace std; int m... |
Oct 14, 2021 at 8:58pm
[1 reply] : 'std::cin' is the stream that receives user input. One possibility, a... (by Ganado)
|
by Mathavan
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 account number to match the account number in the program to... |
Oct 14, 2021 at 7:32pm
[1 reply] : using getline you may get a stray space or anything else. equality me... (by jonnin)
|
by gigacapybara
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 weather data file, and create a new file from that, I omitte... |
Oct 14, 2021 at 1:13pm
[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; //Defintion of Dog Class class Dog { public: Dog(); //Constr... |
Oct 14, 2021 at 10:19am
[6 replies] Last: @lastchance okay thank you (by jabeh)
|
by DozoIki
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 used more than 5 or more times and if the person does Say... |
Oct 14, 2021 at 3:15am
[5 replies] Last: Thanks so much definitely taking all these replies in account huge hel... (by DozoIki)
|
by moosemb
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 guesses, and 5 word guesses. -NO switches, loops, goto statements... |
Oct 13, 2021 at 10:57pm
[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 declaring a class with its member functions and fields, and I ha... |
Oct 13, 2021 at 1:32pm
[4 replies] Last: What is in the House.h? (by keskiverto)
|
by Anongonex
Error Codes
|
Hello everyone, I am currently trying to work out a specific problem that I have been stuck on. The question is as follows: Design a flow chart algorithm to rea... |
Oct 13, 2021 at 8:24am
[3 replies] Last: What's the format of the file - provide a sample using output delimite... (by seeplus)
|
by Shawske
Recursion problem
|
Hi, I am having trouble having my code read the recursive search. If I enter above the limit it lets me know and I can try again or if I go below it does the s... |
Oct 13, 2021 at 12:09am
[2 replies] Last: #include <iostream> int search(int const* xs, int sz, int x) { ret... (by mbozzi)
|
by Mathavan
Objects Classification
|
Hello guys. I am trying to edit the code that I have developed previously. After editing it, I have some problem with MOVIE movies; if (readStatus = R... |
Oct 12, 2021 at 8:20am
[2 replies] Last: What is L10 supposed to do? What does ReadFile() return? The loop L23... (by seeplus)
|