Beginners - November 2015 (Page 6)

compare 2 vectors...
 
I have two vector, which each contains a pair of ints. vector<pair<int,int>> A vector<pair<int,int>> B Each of them contain a set of coordinate, and i h...
[1 reply] : If there are no duplicates you could sort the vectors before comparing... (by Peter87)
by csharp
Read and write to from/to file
 
Hello, I was given this question, in all honesty I didn't understand the question completely, but below is the code that I tried Part 1: Create a text file...
[4 replies] Last: The second part builds to some extent upon the first, but is enhanced ... (by Chervil)
class problem
 
create a class name address, any public member can listed?
[6 replies] Last: why u delete my city and state? u can fill in the rest (by closed account 48T7M4Gy)
C++11 on DevC++ 5.11
 
How can I use the latest version of GCC compiler and enabled C++11 on DevC++ 5.11? I've tried it by following the steps: 1. Compiler options. 2. Insert "-...
[no replies]
How to Change the gcc compiler version of Code:: Blocks?
 
Hello, Can anyone tell me how to change the GCC version of code blocks. The code blocks version I have used was 13.12 and it uses GCC 4.7.1. I want it to chang...
[2 replies] Last: Thank you very much! It works. (by Francis Lalhmuakliana)
Error
 
C++ error: EVERY program except programs i made a long time ago (on the same version of code blocks)i will make will open a cmd with the name of my program, an...
[1 reply] : Ii would say unless you had Teamviewer and I could see the issue I can... (by C0D3FR3AK)
What is the difference between a concrete class and an abstract class
 
while i am learning these i have a lot of confusion please help me with simple program and real time example...!
[1 reply] : Follow this link. It has your answer. http://stackoverflow.com/questio... (by C0D3FR3AK)
Finding The Avg and Sum using any kind of loops
 
How do i find the avg and sum yung any kind of loop? answer pls this is my code so far #include <iostream> using namespace std; int main() { int num,avg; ...
[5 replies] Last: Excellent bro, well done, best wishes :) (by closed account 48T7M4Gy)
Linked List
 
Hi I Could use some help creating a linked list that continues to create nodes until instructed otherwise. I'm not sure exactly how to set them up. (Car is the ...
[1 reply] : while (!complete) { //Create a new node //Ask" do you want to contin... (by closed account 48T7M4Gy)
by nct
c++ program to store values in arrays from a text file and operate on the arrays so obtained
 
Write your question here. hey guys i have a text file having two columns heading "z","p","v","w","av","aw" containing numeric values. So i want a program to s...
[2 replies] Last: http://www.cplusplus.com/forum/general/179725/ (by closed account 48T7M4Gy)
Class function performing on an operator
 
I figured out how the operator errors but now I am unsure about how to make fracMult(f2) be preformed on f1. I would really appreciate any input about the right...
[6 replies] Last: http://www.cplusplus.com/forum/beginner/179750/ (by closed account 48T7M4Gy)
determining the sign of the operator
 
Ive finished writing my code (besides the addition and subtraction functions being right) and now I have to calculate the sign to put with the fraction. I was g...
[9 replies] Last: http://www.cplusplus.com/forum/beginner/179741/ (by closed account 48T7M4Gy)
how to use Pure virtual methods ?
 
I'm working on an example and it's using a pure virutal method in one of the classes. So basically there's two classes, and the third one I'm trying to make a...
[2 replies] Last: Thanks for the help. I'm talking more in terms of something like this:... (by helloworld135)
Cussing
 
I'm working on several simple games such as hangman and word-search. It may be used by kids, so I need to block all those fun four letter words from either comi...
[1 reply] : Info found on Google: http://stackoverflow.com/questions/24515/bad-wor... (by Duthomhas)
by Dazzer
Simple Win32 Hello World: RegisterClassEx
 
Hi folks, I'm taking a look at a simple Win32 Hello World example in VS2015. I have a question about RegisterClassEx: After one has assigned values to your ...
[6 replies] Last: I'm assuming whoever wrote the code you posted in your first post is c... (by xismn)
Issue with constructor
 
i thought constructors were using the same name as the class, no idea why I am getting this issue Error: Function definition for 'account' not found #i...
[10 replies] Last: nvm i figured it out (by nameishi)
by yahazu
Eight Queens 2d array problem
 
Hi there! So I've been tasked with a problem regarding the "Eight Queens" puzzle. The eight queens' puzzle is the problem of placing eight queens on an 8×8 che...
[no replies]
Class HELP (1,2,3)
 
So I have been working on this project and I am trying to learn how to use classes. I am completely lost, this is what I have been working on and if anyone has ...
[41 replies] Last: abject hypocrisy Bless my soul if it isn't Constable MikeyGirl of t... (by closed account 48T7M4Gy)
Beginner Exercises (not Homework) (1,2)
 
I think that the issue lies on lines 19-27 and i know it's probably a logic error but for whatever reason I am unable to see it. I have used the debugger and I ...
[24 replies] Last: Yep, it's funny even if jlb still hasn't seen his blooper. The only re... (by closed account 48T7M4Gy)
Help with making a function perform on the operator
 
I figured out how to correct the code. Now I need assitance with making the correct values display and how to play the fracMult(f2) be perormed on f1 class ...
[1 reply] : Please just use one topic. Post this code over in http://www.cplusplus... (by tallyman)
November 2015 Pages: 1... 45678... 53
  Archived months: [oct2015] [dec2015]

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