Beginners (Page 9)

Map with classes
Hello, I don't know how to output the map in class Running code] class Athlete { std::str...
[14 replies] Last: (by againtry)
by BigTim
Multiple variables in one equation
Ok so I'm working with parrel arrays and I'm needing to calculate how many points are needed for eac...
[8 replies] Last: Thank you for all your help on this! it had me kinda confused but I th... (by BigTim)
by Harlee
Good old hangman
Hello and thank you for your time to possibly help me with this. I have scoured the internet and boo...
[4 replies] Last: you don't HAVE to do anything any particular way. a little extra proc... (by jonnin)
C++ Menu using loops
Hello all. I'm having a hard time with my menu, as we have only just begun to learn loops. I tried t...
[6 replies] Last: You shouldn't have a loop at line 32 at all. After all, you don't chan... (by dhayden)
Converting a string to an integer
Trying to convert a username into how many characters it is (ie the name Bob = 3) to do further calc...
[8 replies] Last: You don’t need to erase anything, just count the things that matte... (by Duthomhas)
by tapni
Strings C++ (1,2)
There are two strings with dynamic size. It's needed to write a function which returns true if these...
[26 replies] Last: @ Duthomhas Ah, I keep forgetting about RVO. What I was thinking w... (by TheIdeasMan)
by MeiMei
Please help me (Shortest path - recursion)
The question ask me to search for the shortest path to reach the target point. The fully runnable co...
[14 replies] Last: @dhayden It definitely took me more than one try as well. Interesting... (by mbozzi)
c++ HW Program that creates a linked list
Prompt: Problem 3: Linked List (35 Points) Using the Linked List program we did in class (or video)...
[2 replies] Last: Lines 52 and 53. You overwrite the first & last name of the first reco... (by dhayden)
by ICantC
Reading text from a file
I have a text adventure game in ANSI C that is trying to load a text file containing the area descri...
[11 replies] Last: also, consider testing small parts at a time. first, hard code a coup... (by jonnin)
Header and object oriented programming
Hello all! I am quite new to C++ and very new to object oriented programming and setting up headers ...
[7 replies] Last: Maybe: #include <iostream> class Square { public: Square() {}; S... (by seeplus)
Print map - help
I dont get it how can i print this map to look like Invoice with stock object in it I have to m...
[5 replies] Last: Structured binding (the first part of the for loop) requires C++17 or... (by Furry Guy)
trying to make a simple console text editor
hi, i'm new here, and i have been trying to make a text editor on c++ since yesterday, because i'm h...
[18 replies] Last: yeah. (by retro 64K)
by jeyc
how to access and use user input variables into another function
Hello, I'm new to c++ I'm trying to create a reservation system for my school project. My question i...
[3 replies] Last: your code is a trainwreck, so I ignored it to give you a simple exampl... (by jonnin)
error: 'else' without a previous 'if'
error: 'else' without a previous 'if' even if there is a if statement, please tell me how to fix it ...
[1 reply] : the code you posted compiles. however, the else is all wrong. -> el... (by jonnin)
Please help me modify this program, assignment is due tonight at midnight
C++ Modify existing program Step 1 2Add to code that after each hand of the game, ask the user...
[6 replies] Last: at midnight UTC or Zulu time? (We don't want to help too early.)... (by keskiverto)
Please help, simple operators problem
Can you please explain the code below? I am mostly confused about the "if" part. If there is no argu...
[9 replies] Last: Much appreciated, thank you very much! (by cloud987)
by jeyc
Where to put break; due to user invalid input
Hello I'm new to c++, I'm creating a reservation system for my school project this is kinda a dumb q...
[2 replies] Last: typically you don't break. input validation is usually do prompt ge... (by jonnin)
Can't make out error in function
I'm having trouble trying to figure out why the function displayResults is not resolving. I'm tryin...
[5 replies] Last: thank you I just noticed I only made the corrections on a copy of the ... (by trmbeef)
ADT and Linked List implementation using C++
Hello! Can someone help me? I have made a framework but I have no idea from where should I take a st...
[4 replies] Last: where should I take(sic) a start Well, @OP here is how I would make ... (by againtry)
C++ Program using structures to create a basic ID
I just now started learning structures and I have my program working, but how can I improve it so it...
[1 reply] : Enum <---> string is a pain. But if you must, you need functions to co... (by Duthomhas)
Pages: 1... 7891011
  Archived months: [oct2021]

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