Beginners (Page 54)

by AisuX
Struct, not declared in scope (Function help)
How do I make structures work in other functions, similar to this one? #ifndef STRUCTS_H #def...
[1 reply] : where is the <string> header? (by Cody0023)
Code::Blocks broken... Not recognizing ||
I think Code::Blocks is broken... its not recognizing the logical OR operator: #include <iostre...
[2 replies] Last: the error is you probably already have the executable open somewhere e... (by giblit)
Help understanding code
Could someone help me understand this piece of code. excerpt from the official SFML 2.1 tutorial: ...
[3 replies] Last: (by giblit)
HELP! Can't deconstruct.
I currently have the code for a bowling program in C++ and I am very much a novice in C++ I need to ...
[9 replies] Last: It does require user input so I guess I'll leave it there. (by LiamTrolls)
no matching function with function pointer as arguments
Hello, I'm trying to define a class with LuaBridge. There is a C++ class called Entity that ha...
[2 replies] Last: Normally I should not need an instance of Entity when defining a lua c... (by Werner2)
by ci one
function pointer vs. inline
I need to make conditional function calls, inside a loop (few thousand iterations, hence looking for...
[3 replies] Last: Thanks! (by ci one)
structs help
so i am working on structures to put into a game where i have an inventory system but it is very cum...
[2 replies] Last: Thanks a lot. (by Antone333)
Hey guys, i wonder if you know how to change a letter from a word. For example, i want the letter "...
[6 replies] Last: The problem with coder777's method is that it uses "special characters... (by keskiverto)
how is a primitive type implemented ?
this is a question for pure curiosity : learning c ++ I discovered that a type is defined by a c...
[1 reply] : Primitives are implemented in the hardware. Operations between primiti... (by helios)
by Nezar
Why is this defined in this header ?
Why is NODE_H defined in the code below ? #ifndef NODE_H #define NODE_H #include <iostre...
[3 replies] Last: Thanks. (by Nezar)
understanding code example
Hi, I am learning about using loops to compare arrays. I need help understanding the following examp...
[4 replies] Last: You're welcome! (by MikeyBoy)
working with files in Class
hi all in second func(output) i want to cout amount variable(that was saved in text.txt) but only ...
[2 replies] Last: Change line 43 from: my >> amount >> name; to my >> name >>... (by Chervil)
C++ keeps opening two black windows on execution.
No matter what I run in C++, as soon as I hit F9, it opens up two black windows. The first black wi...
[3 replies] Last: It sounds like you have your project open twice OP. Code Blocks suppor... (by Computergeek01)
the sum
program that will accept a number n and display the sum of all even numbers and the sum of all odd n...
[11 replies] Last: This is a simple factorial program. It doesn't matter what compiler o... (by cnoeval)
Integer value is lost in another function
I'm having trouble with this basic program. I'm 100% lost when it comes to this, I have written much...
[3 replies] Last: By default, C++ parameters are "pass by value." This means that the k... (by dhayden)
Tutorial on handling C++ files?
When it comes to saving the workspace, project, and file, I'm really at a loss as to how all this wo...
[2 replies] Last: Ok, thanks for the information. I think I get what you're saying and ... (by Ascendant78)
by mehak
structures in c++
can the structures in c++ have functions as members?i know structures in c++ can have functions but ...
[3 replies] Last: That seems like a mistake in the test. As Krisando says, classes and ... (by MikeyBoy)
by idek
Making A code read from an external file instead of within the code I posted this twice, see above thread.
[7 replies] Last: Already suggesting that on his doublepost thread: http://www.cplusplus... (by keskiverto)
Setter and getter
Write your question here. hey guys, ive a question between setter and getter...ive written two code...
[1 reply] : Both of the samples have setters and getters present. This style of co... (by Aceix)
Soda Machine
I am making a very simple so to say "Soda Machine". I want it to ask the user if they would like a f...
[7 replies] Last: mark this as solved now (by Lorence30)
Pages: 1... 5253545556... 70
  Archived months: [jul2014]

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