• Forum
  • General C++ Programming

General C++ Programming

by admin
Welcome to this board!
 
Welcome to the general programming forum in C++.com! In this forum, users can to talk about any top...
[no replies]
conditions, logical expressions, and selection control structures
 
I am just learning C++ and i am looking for some input into an assignment. use functional decompo...
[no replies]
Extracting a certain part of data from vector
 
Hi there, First time posting so apologies in advance for when I do something wrong! I'm trying to ...
[no replies]
Arrest people for using "new" and "delete"
 
Some people at this forum say that programmers must never use "new" and "delete". I think they say ...
[8 replies] Last: Please, point me. Tell me the line number and explain. reinterpret_c... (by MiiNiPaa)
Array Exerercise-Find top N values in array
 
Hey guys, So for a course I am taking I am have a question which asks me to do the following. Gi...
[9 replies] Last: Is it written in the task? No. Choose simpler solution. First time yo... (by Konstantin2)
Difficulty with an exercise
 
Hello guys, I can't understand what does the question want, to write appropriate code for it. Woul...
[3 replies] Last: Hi, Well at least your book is on the list of really good books :+) A... (by TheIdeasMan)
Receiving Access Violation
 
I am working on a project. The program is supposed display items from a vending machine. The user is...
[6 replies] Last: Thank you for the tip. However, I am still getting an unhandled except... (by techfever)
Primes rage
 
Hello dear readers, this is my first time posting on this forum. I haven't been learning C++ for a l...
[1 reply] : It's not clear what your algorithm is or why it needs 10000 of everyth... (by kbw)
Heap and Priority Queue (Array not storing digit)
 
This assignment is about Heap and PQ's to sort out jobs inside a printer. I'm far from finishing the...
[4 replies] Last: > My issue now is outputting the Job "#" . > I noticed the Job "#" is ... (by ne555)
by abc1
return by reference
 
I am having confusion regarding return by reference and return by value. why return by referen...
[4 replies] Last: Hey. Watch his video, Bucky explains it very well - https://www.youtub... (by TarikNeaj)
Is Timetaken equation correct?
 
I am beginner of C language, and i made this small script to find Download Time Required for Downloa...
[no replies]
by Micard
Dynamic memory problem
 
Hello there! Could you please take a look at this piece of... code. I can't find where I made a mis...
[17 replies] Last: Hi Konstantin2, Sorry for the confusion, I didn't mean for it to be t... (by TheIdeasMan)
Structs in Linked Lists
 
Im having trouble creating a struct within a struct node. the program suppose to hold students fir...
[1 reply] : Comare line 16 second parameter and line 33 second parameter. These ar... (by Konstantin2)
by abc1
dangling else statement
 
hi, I am not knowing dangling else statement.What is it?How to avoid it?Please explain me with e...
[2 replies] Last: Hi Disch, the word Dangling else is very new word, you have given the ... (by Pavuluri)
Splitting linked list
 
I have an assignment where I have to split the linked list at a given position by the user. The l...
[1 reply] : Drawing pictures helps a lot: Before: +---+ +---+ +---+ ... (by Duoas)
Nodes in Linked Lists
 
So I created a bunch of nodes and I made each one before one another. Im having trouble adding anoth...
[3 replies] Last: Hi Forum, It is very nice discussion about the linked list for more in... (by Pavuluri)
Linked List Implementing
 
I'm having a serious issue with implementing a node at user given position, and have to decide to im...
[4 replies] Last: Hi Forum, It is very nice discussion about the linked list for more in... (by Pavuluri)
by mike3
How can you return something containing unique_ptr?
 
Hi. I've been trying out the "new" (new to me, even though it's now 4 years old) C++11 stuff, spe...
[2 replies] Last: I use it in void by using reference the & which you would include with... (by programmercarlito)
Eclipse error boost-filesystem
 
Hi, I have problems when try to compile with eclipse + boost windows32, think what eclipse is no...
[1 reply] : Hi, I have read several posts and all indicate that the solution i... (by raulpuro)
my inheritance class don't work
 
#include <iostream> using namespace std; class Person: public Adress { protected: int homeNumber,d...
[7 replies] Last: There is no class called Adress, you are inheriting from an imaginary ... (by shamieh)
Pages: 123... 50
  Archived months: [dec2014]