Beginners - March 2019 (Page 24)

A good place to host C++ code and create GUI?
 
I've made a C++ code that I want to create a GUI for and host. I'm new to this and I've been told th...
[1 reply] : There are a couple of different options available when it comes to mak... (by Tom56785)
by obeeey
Kruskal's algorithm - cpp graph program
 
Hi :) I'm trying to figure out where should I change this code to get the valid answer for MST grap...
[3 replies] Last: Hey Duthomhas, you helped me with this... thanks a lot. As you predic... (by obeeey)
Back engineering simple code with classes
 
Hi all, so at the moment Im doing some assignments involving C++ classes, I think I understand them ...
[8 replies] Last: computer.h #ifndef COMPUTER_H #define COMPUTER_H #include <string> ... (by JLBorges)
by mke48
Cannot Declare Abstract Variable errors
 
I have the following code: https://pastebin.com/UZayX96v https://pastebin.com/haqnCLGU https://...
[1 reply] : You cannot define the same class twice. When you implement the member ... (by Peter87)
Application using File I/o
 
I am writing an application that will figure out the hotel occupancy. I previously wrote the program...
[1 reply] : I think you can replace all the old cins with inputFile eg inputFile ... (by jonnin)
Answer
 
Here’s an answer: No. For your future reference, social norms, not just online norms, really ...
[1 reply] : looks like another codechef cheater, nothing to see here. (by jonnin)
Chars, Strings and Pointers (1,2)
 
As a long-time VB programmer and neophyte in C++, I am going mad trying to sort out how to manipulat...
[20 replies] Last: Whoa! Let's dial it back, guys! I'm far too long in the tooth to get... (by PhilTilson)
by Alb13G
Clarification Needed on teachers statement
 
My teacher made this statement regarding the attached code "In the tip program, move common stateme...
[3 replies] Last: Thanks for the help Andy and Grimes (by Alb13G)
preference question
 
Write your question here. #include <iostream> using namespace std; int engima(int a, int& b) { ...
[5 replies] Last: "Precedence" is only about the placement of invisible parentheses. I.e... (by dutch)
by Horror
Homework Issues
 
So I'm writing a program that has the user input five Candidate names and their total votes. The cod...
[5 replies] Last: Hello Horror, You define your arrays with a size of 50. Why all the w... (by Handy Andy)
What topics does this cover in ?
 
Hi. Im currently a student enrolling for object oriented programming c++. I have a code I couldn't s...
[2 replies] Last: thank you for the links :D and also the solution (by rarian10)
Unused parameter Warning in Polymorphism
 
I'm trying to eliminate Warning: Unused parameter. Shape has 4 parameters. Shape(float a,...
[8 replies] Last: Thank you. That's exactly what I needed. (by darkknight914)
Nested for loop. Help Please!!!
 
Im trying to write a nested for loop that gets the data from an input file. The for loop will check ...
[1 reply] : dbarclay100, instead of double posting http://www.cplusplus.com/forum/... (by Enoizat)
Smart Pointer Inside a Class/Struct
 
I am reasonably familiar with the concept of smart pointers. But I struggle to get my head around ho...
[13 replies] Last: Thank you, Cubbi! I wouldn't have found those information. (by Enoizat)
C++ Draw Card function
 
I am reading Brain Overland book and my brain is having a seizure trying to understand the logic of ...
[9 replies] Last: Heh, modern C++, if written correctly , looks strange because it is c... (by Duthomhas)
I need help
 
Hello, I am 14 years old, I am interested to learn C++ but I don't know what is the use of C++. I ...
[5 replies] Last: c++ is a high performance general purpose language. It can do most th... (by jonnin)
How to Access Data in a Set of Vectors?
 
I am trying read in a bunch of words from a file, store the words in a set (thus getting rid of any ...
[2 replies] Last: #include <iostream> #include <algorithm> #include <vector> #include <... (by closed account z05DSL3A)
is std::map appropriate here?
 
Hi I have a function where one of the arguments needs to be a series of associations between an e...
[5 replies] Last: If the map makes the user’s life harder, then don’t use it. Howev... (by Duthomhas)
by Alb13G
Problem with 'while' validation Y or N statement
 
For the weather program, validate that the temperatures are between -20 and 120 degrees and validate...
[2 replies] Last: Thanks Ganado I understand why Thanks again (by Alb13G)
by tsofb
Loop within a loop
 
Hello, My homework assignment is to output the first 5 even numbers on 3 lines, similar to below: ...
[3 replies] Last: #include <iostream> using namespace std; int main() { for (int c... (by Manga)
March 2019 Pages: 1... 22232425
  Archived months: [feb2019] [apr2019]

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