General C++ Programming (Page 7)

array - copied or not copied
Is the array below copied or not copied when called? Told to use & in the type of the function so it...
[9 replies] Last: Thank you everyone for helping me. (by technologist)
by a10e29
union questions
Hi, I'm new to unions, made a little toy program that brought up some questions. #include <stdlib...
[1 reply] : > Can unions be private? Yes. struct A { // both type and membe... (by JLBorges)
by Kernul
Problem with C vectors of class 'Team'
This is my code: Team.h //File header of class "Team". #include <iostream> #include <cstring> /...
[2 replies] Last: Oh, I got it. Thanks for the help! (by Kernul)
Poor performance of COM-component
Hi ALL! I've faced the following issue while programming C++/COM: 1) there is C++ code, let's say...
[no replies]
Im a beginner at c++ and i have no idea of what im suppose to do
Write an interactive program that allows a user you update am ordered list of numbers. You may use y...
[3 replies] Last: I know what the questions is asking me to but writing the program is t... (by CoreyS18)
Solving quadratic equation in system
I need to find a parabola's equation given 3 points. How can I solve with a program a 2nd degree sys...
[1 reply] : For a parabola, I don't think you need a special library, or even a pr... (by Michael37)
sorting linkedlist
Greetings all, I'm sure this is a topic that's been well traversed allready but i just can't figure...
[3 replies] Last: When sorting a linked list, you're not meant to dump them all into an ... (by Moschops)
How to read equations from text file ?
I am relatively new to C++. I would appreciate if you guys could help me out. Fundamentally, I am tr...
[1 reply] : Something along these lines, perhaps: #include <iostream> #include <... (by JLBorges)
Program not progressing
When I type in the file I want to use to proceed in checking for characters, words, and sentences it...
[1 reply] : Have you tried stepping through it in a debugger, so that you can see ... (by MikeyBoy)
Garden Services program
[2 replies] Last: The sad thing is that, often, when it happens, right after we explain ... (by MikeyBoy)
Implement linked list to circular singly linked !
Hello , i want to implement this header file to get a simply linked circular list , i know that ...
[5 replies] Last: No, I won't write the code for you. That's how you learn. If you tak... (by doug4)
Count Only ".", "?", and "!" from a text file.
I am trying to create a function where it will count each ending punctuation such as periods, questi...
[6 replies] Last: You didn't read my full post. Next, you are comparing p to 3 differe... (by doug4)
Compiling Error
How to Fix
[1 reply] : You need to make sure your link path includes the directory containing... (by MikeyBoy)
how to use a function from a class
Hello i want to use the function getscore() from the following and keep on adding 50 point to the sc...
[1 reply] : Please use code tags when posting code. You've been asked this severa... (by MikeyBoy)
I'm fairly new to programming and i have an exam in the morning. Need some help!
So my Student Instructor sent me a practice exam an hour ago and my exam is in the morning I'm havi...
[1 reply] : Hi, I have an idea of how I am supposed to do it but i cannot put it... (by a10e29)
class string code
The purpose of this code is to use functions from the string class to obtain information about a str...
[1 reply] : My what a mighty fine description. It certainly needs help. Quick some... (by a10e29)
by SidV
Input Array Values and Compare
Okay so I have an assignment that asks me to create a program to compare two arrays. The program has...
[1 reply] : How do I pass arrays through functions? like this int arr ; filla... (by a10e29)
im trying to learn c++ on yown but i dont understand some of the things the question is asking im still a beginner
Write an intereactive program which allows the user to enter values into subscrioted variable 'x' of...
[1 reply] : Please do not double-post. The other thread: (by keskiverto)
by ct180
Avoid printing garbage memory from vector container?
I am at the early stages of creating a VERY simple graph. The code below reads commands from a text ...
[3 replies] Last: ugh I reverted back to storing vertex objects directly because I have ... (by ct180)
by ct180
Class does not name a type
I'm attempting to build a graph class and have the following Graph.h: #ifndef GRAPH_H #define G...
[3 replies] Last: Awesome! That did it. (by ct180)
Pages: 1... 56789... 25
  Archived months: [mar2016]

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