Beginners - July 2014 (Page 23)

Polymorphism with header file
 
Hello... I am doing background for my second game. There would be 4 types of buildings in background, but all of them will do the same, so I chose polymorphism...
[2 replies] Last: Oh my God... Thank you... I cant believe I didn't noticed that... :/ (by Dainiusss)
by kugi
SDL in c++: never close program?
 
HI! I'm new in SDL, and I was starting to make easy game. I have picture ozadje.bmp (blackbround), and picture urh.bmp (character), and picture urh2.bmp (chara...
[no replies]
Yep, I"m a freaking noob! I broke "Hello World"! (1,2)
 
Ok, so I installed Code::Blocks (13.12), followed the instructions here... http://www.cplusplus.com/doc/tutorial/introduction/codeblocks/ ..to the tee, copied ...
[34 replies] Last: When you manually run the program outside of Code Blocks as is, it wil... (by gingy)
How would constructor delegation be affected by the explicitness of the constructor
 
Hi, guys, I just encountered some trouble regarding constructor delegation and making a constructor explicit. My code is shown below. #include <iostream> u...
[7 replies] Last: Get it, thanks! (by glenjoker)
Input comparison problem
 
I am still very new at c++ and coding in general. I am working on an assignment for my class and I think I am running into the "phantom newline" problem. I have...
[4 replies] Last: Ah that was it! Can't believe I overlooked that. Thank you both very m... (by TheRefus)
by Ganado
Detecting if computer has <cstdint> types
 
I'm trying to read byte-by-byte data. If my understanding is correct, not all computers support the types defined in http://www.cplusplus.com/reference/cstdint/...
[2 replies] Last: Thanks for clearing that up. (by Ganado)
Help with a simple input file
 
Hello, I'm very, very new at coding (so no big words please). I'm trying to work on a program for my C++ class which takes data stored in a file in the format: ...
[2 replies] Last: Thanks! You were right - I assumed since I was getting some sort of nu... (by Freetoroam)
"Undefined reference" issue.
 
Hey everyone, I'm still extremely new to C++ but I think I'm making progress. Whenever I try to compile I get "undefined reference to `initialize(std::basic...
[3 replies] Last: Thank you both for your help, I totally overlooked that array error. I... (by freddieg10)
First program compile error
 
So I recently picked up a copy of "Sams Teach Yourself C++" and when I tried to compile the program, I got an error message. I followed the instuctions exactly,...
[4 replies] Last: Code::blocks is an ide. It has both an editor and a compiler. Version ... (by giblit)
Can someone explain to me this Fibonacci program?
 
Hello :) Can you please explain this code to me and its output, thank you package sample; import java.util.Scanner; public class fibonacci { public ...
[3 replies] Last: in C++: #include <iostream> using namespace std; int main() { int ... (by Stewbond)
What does making this static accomplish?
 
What is the difference between these two pieces of code and what exactly does the "static" label accomplish? What does it do and why's it added on? What kind of...
[4 replies] Last: Thank you everybody for your help!! I really truly appreciate it :D (by NookLines)
Struct and for loops
 
I am trying to make a basic small program for school that takes a structure of a classroom and allows the user to create/edit a new classroom using the struct. ...
[2 replies] Last: holy crap no idea why i didnt realize that. Thank you!! I just got off... (by ultratoke)
by fisken
std::cin mulitple values to one variable
 
Hi everyone, I'm a total beginner with programming but I'm currently taking a summer course in C++ programming. At the moment I'm trying out some old exams in ...
[5 replies] Last: @ LendraDwi That would work, but it would be an extra step to perform... (by Duthomhas)
by Runite
What platform to use for c++?
 
Hi, I am going to try and learn c++ over the summer and I was wondering what platform I should use to do the programming on? I saw that there is microsoft vi...
[2 replies] Last: As JLBorges said, VS is actually free, at least for students. Some ot... (by thomasm1a)
by yepMe
Help with header file
 
Hi All, I am never comfortable writing a header file, but I am trying to write from the net and try to understand #ifndef Sample_h #define Sample_h ...
[4 replies] Last: Well, in that case I think you should just move the declaration of add... (by Peter87)
Problem with running a code
 
Hi to all. I'm a c++ beginner (but not supposed to be) and i have been assigned to right a network simulator for an undergraduate network course. I have been ...
[1 reply] : Have you even attempted to debug it yourself? Step through the code t... (by mutexe)
doubt on a question
 
Hi guys, I am a beginner c++ programmer. I was solvig the following question: Write a program that asks the user to enter the number of seconds as an integer v...
[7 replies] Last: Please tell me where I went wrong Peter87 gave you the answer. ... (by AbstractionAnon)
types
 
guys i dont really understand the difference of unsigned,long,signed,short can you explain it to me, or give me a link that would be enough for me to understa...
[1 reply] : http://www.cplusplus.com/doc/tutorial/variables/ (by AbstractionAnon)
Is there a site like this for C Programming?
 
Hello everyone. I used to come here for learning C++ but now I'm leaning C. So I want to know that can I post problems related to C programming here? Is there a...
[10 replies] Last: Ok everyone. Thank you so much ! (by talhabhatti5)
C++ Basics
 
Hello, can you recommend me some websites to learn the basics of C++
[1 reply] : You're on one right now. <------------ Look at the list on the left (by MikeyBoy)
July 2014 Pages: 1... 2122232425... 43
  Archived months: [jun2014] [aug2014]

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