Beginners - December 2015 (Page 6)

Why do I need pointers?
 
Ok so I'm currently learning about pointers I have know the basics of them. int x = 5; int *p...
[3 replies] Last: You use pointers to point. That would allow you to form relationships ... (by ne555)
Problem with modifying array argument in function
 
Hello everyone! I've got some experience with Java and C, but I'm very new to C++. Therefore, I gue...
[10 replies] Last: Your first program was perfectly fine, it has only one error, at line ... (by Cubbi)
Template Function - Vector of Classes w/ Different Constructors
 
Hi, first post. I've recently been introduced to templates and am hoping to implement them into a pr...
[8 replies] Last: @TheIdeasMan thanks for the input. The initialization list was a val... (by Austinpp)
vector pushing back problem
 
no matching function for call to 'PlaylistsManager::PlaylistsManager()' new (from++...
[13 replies] Last: Hi, in my program, i want to disable pushbacking a PlaylistsManager ... (by TheIdeasMan)
Promoting The User To Enter A File Name
 
Hi there. I'm need to C++ so I hope everything is right so far. I basically need help promoting the ...
[3 replies] Last: What does open file f mean? In everyday language, compare it with op... (by Chervil)
Opening a Stream?
 
I need help opening a stream. Sorry. I'm new to C++. #include <iostream> #include <fstream> ...
[2 replies] Last: What does open stream s mean? (by NotACSStudent)
Double Stack HW
 
I have a HW on the dynamic allocation topic that involves a double stack. I dont really understand t...
[6 replies] Last: is this right?? No. And you know it isn't because it won't compile. ... (by cire)
Workaround using switch case
 
I am having a switch case, in which should trigger on a value.. The idea was that when the double li...
[5 replies] Last: ahhh! thanks moose! t should have been t1 :).. (by DrJones)
Hard coding? what is it?
 
Thank you for your assistance. I am trying to understand what hardcoding is. and is it good? I am ...
[1 reply] : You've already asked this question in another thread (where I've just ... (by MikeyBoy)
by GTHell
Can't define a class "sales_item.h"
 
I've been looking thru the internet and can't find a solution. I'm stuck in C++ primer book chapt...
[3 replies] Last: The error message means that the file "Sales_item.h" doesn't exist. Wh... (by jlb)
garbage with correct output
 
code is compiling correctly problem is with the output the division = result + garbage is showing I ...
[6 replies] Last: buddy !!!! you are too good........ (by biLmLik)
by c2po
array size unknown
 
Hello, I'm new to c++ and compiled languages in general..I made a mistake that did not result in a c...
[8 replies] Last: Thanks again Chervil...very helpful! (by c2po)
nested for loops
 
Chaps I am stuck with a nested for loop exercise. Basically if you run my code I need to print mirro...
[1 reply] : Sorry I forgot to mention the mirror images have to start with spaces.... (by jamesfarrow)
by cb32
replacing text on same line by inputting a or d
 
I'm trying to create a game that is sort of like space invader. I've made the UI and I want to start...
[1 reply] : that's easy, is your UI created from array? show some code, we will ... (by xenoviaquarta)
what does const rvalue mean?
 
Hi, i can understand the term lvalue,const lvalue, lvalue reference,const lvalue reference,rvalue, r...
[5 replies] Last: i appreciate all your comments @Cubbi Thank you very much for your ... (by qishuhao)
Errors in header file
 
Hello everyone! I just started learning C++ and I've created a header file (generate_input.hpp) to u...
[2 replies] Last: Thanks a lot! It works. :) (by hiephoi)
Help I dont know where to download C++
 
Hello i have an account and want to learn to code, hack, ect im a huge gamer but where can i downlos...
[5 replies] Last: A good book always helps too : http://stackoverflow.com/questions/3882... (by ephraimr)
by ratfus
Pointers, confusing little monsters
 
Why does a pointer to this memory location always have the same address? Shouldn't a different arra...
[3 replies] Last: As Yanson said, line 12 should be cout << B << endl; (by chicofeo)
by nct
reading file ,searching word and storing the values corresponding to that word into arrays
 
hey guys i have a file in following form TIME= 0.00 9.00000 -0.67000 6.572...
[3 replies] Last: How you read the file depends on the format of the file and what you i... (by jlb)
how do we compare multiple arrays and print the largest number?
 
I want to make a program which compares the indices of 3 arrays and then display the largest number ...
[5 replies] Last: OP made the post before mine that said this: this should be the outpu... (by booradley60)
December 2015 Pages: 1... 45678... 43
  Archived months: [nov2015] [jan2016]

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