Beginners (Page 121)

Need help with class implementations
 
I'm trying to write a student class registration program that uses three classes: class Course, clas...
[6 replies] Last: ._. Now it compiles. I hate asking, but can I see some example code ... (by InfiniteLoop)
by bzz77
Segmentation fault when trying to use class objects stored in a vector
 
I am not very experienced with C++, so advance apologies if this is a silly question. I have made...
[5 replies] Last: http://www.cplusplus.com/forum/general/112111/ > I'm pretty sure ther... (by ne555)
Pi Project
 
We were assigned to make a pi project for pi day at school, and I decided to make a a game where it ...
[7 replies] Last: @L B thanks i though that only worked if the strings were on the same ... (by SorinAlex)
Creating my own histogram using c
 
I want a function that takes in a array let's say [ 4, 5, 6, 3, 4] Then the output will be a hi...
[1 reply] : Check this out: #include <algorithm> #include <iostream> #include <vec... (by MiiNiPaa)
Is there any code available to dowload for beginners to go through and "repair"?
 
Hello to everyone at cplusplus.com, I am curious to know if anyone knows of any resources to .cpp...
[1 reply] : Yes, there are entire archives full of such code that have been around... (by LB)
File Operation (patient unresponsive)
 
The program reads a list of information about DVD's from a file. Im having problems with a function...
[7 replies] Last: Thank you MiiNiPaa! I was definitely going about this the wrong way. Y... (by Khillz3000)
by mlor3
Confusing code.
 
I dont understand how this code works. How did they get the variable z and why does proc1 print twic...
[1 reply] : 1) Please use code tags when posting code, to make it readable: http... (by MikeyBoy)
by Chiron
Help Please! Urgent!
 
I have an assignment tomorrow and I just finished writing the code for it. However when I run the co...
[19 replies] Last: "Lol", the guy running the program can't see your comments. I'll adm... (by Computergeek01)
by jidder
Boost asio/bind
 
Hi Ive made some modifications to the example code provided on the boost site just to get a bette...
[3 replies] Last: That comment wasnt very constructive. Yet it challenged your incorr... (by cire)
Using Bitmap with C++
 
Hello, I'm trying to use Bitmaps with C++. Specifically, given a bitmap object, how can I save th...
[no replies]
Where do I start, and what can I do? Ambition!
 
Young and ambitious newbie programmer here. I've decided I'm going to take up C++ programming with t...
[4 replies] Last: Well, I'll tell you how I got about about when I stepped into programm... (by The illusionist mirage)
returning value of function by static pointer
 
Hi.I have to create function that returns the next value in fibonachi sequence every time i call i...
[5 replies] Last: L B (8788) indeed! But i was seeing this mistake before. My specializa... (by exru)
Need help with checking if two numbers are almost equal
 
Hello, I need to make a program that says if 2 numbers are almost equal (if they differ by 0.1) and...
[3 replies] Last: You have made some mistakes: 1) ideally 0.9 will be almost equal to 0.... (by MiiNiPaa)
by Alby94
Template's functions partial specialization
 
It is possible to obtain the partial specialization of function template? How to do? template<c...
[1 reply] : A function template can only be fully specialized, but because functi... (by JLBorges)
by Sam99
Output problem in template class
 
Whats problem here? I am getting garbage outputs. #include <iostream> using namespace std; templa...
[3 replies] Last: Fix it. Rethink architecture of your vector. Hint: it will be enough t... (by MiiNiPaa)
Problem with producing output
 
i want to make this kind of output using "for" operation AA ABBA ABCCBA ABCDDCBA ABCDEEDC...
[7 replies] Last: i get the output i want...thank you so much wow...you really good in t... (by saufi95)
by Sam99
Simple Vector problem
 
#include <iostream> using namespace std; int size = 10; template <class T> class vector { ...
[2 replies] Last: because you use that variable in a few others places that are outside ... (by mutexe)
Inheritance
 
I have a homework assignment about inheritance. When I do it with just one .cpp file everything work...
[8 replies] Last: Thank you. I knew it would be something basic. (by James Turnham)
by Chubby
how to access to member;
 
Write your question here. struct Point { int x; int y; }; struct Rectangle { ...
[9 replies] Last: > why we have use const int? why not int? You may use an int, as long... (by JLBorges)
Print n first primes
 
Hey there guys Could you please tell me whats wrong with this code? Ive been looking for the erro...
[1 reply] : if(n%i==0); fact++; Notice ; after if. Here what is means: if(n%i==0)... (by MiiNiPaa)
Pages: 1... 119120121122123... 131
  Archived months: [feb2014]

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