Beginners (Page 5)

Functions and a mistake
 
I need to pass variables from one function to another and neither function is the main function and ...
[2 replies] Last: not entirely sure what I did but I changed the code a little and it wo... (by Rattregoondoof)
Adding 858993460 to get the write answer?
 
My code works beautifully. I needed to add and multiply matrix strings. However! I have no idea why...
[2 replies] Last: Figured it out. I forgot to initialize my matrix strings. (by TieRein)
Checking neighbors in GoL
 
I am doing a version of the Game of Life and i have everything working except the checking for neigh...
[2 replies] Last: So i think the neighbor checker part is working...it seems that it is ... (by forbesthebrit)
How to create own power formula?
 
Hi, How can I create my own power pow(base, exponent) formula? Like: a(b,c)
[3 replies] Last: for example: double pow(double x, double y) { for (int i = 1; i < st... (by codekiddy)
Where to go now?
 
I didn't know what forum to put this in so I thought I would put it in the beginner sections since I...
[1 reply] : I would always choose *More C++* you simply can't "over learn" cpp (by codekiddy)
by amm123
Can someone help me fix this code?
 
...
[no replies]
Noob problem, break not ending lines
 
So I have this code I'm trying to do for writing out compound interest for a given amount over month...
[2 replies] Last: Thank you so much shadowCODE it runs perfectly now! (by NotSoSavvy)
New to programming, need help
 
I need help with this, The assignment is: Assignment: You and your friends are going to have a m...
[1 reply] : Hey. Just as I recommend to all new beginners that havent got the basi... (by TarikNeaj)
Printing Prime Numbers
 
Hi, I'm learning about structuring my program to produce prime numbers. I know there can be seve...
[1 reply] : In fact, the code returns all of the numbers I don't want, and exclu... (by keskiverto)
Coding a platform, side scroller in c++.
 
Hello fellow coders! Well, nice to meet you all and after reading this forum I decided to join it. J...
[5 replies] Last: SFML is C++. Its a library for C++ that gives you tools to build a gam... (by TarikNeaj)
by Sh0es
Creating a Mimic Class
 
I have two classes that are functionally identical, but which I want to make separate so that the sa...
[2 replies] Last: The classes function the same way but they're intended for different t... (by Sh0es)
"Game of Life" program
 
I'm trying to program the Game of Life, where you activate a few cells on a board and determine whic...
[no replies]
Serious help needed for a noobie!
 
This is the homework problem: Use functional decomposition to make a program that inputs a letter a...
[4 replies] Last: ok, This fixed it! Thank yall so much! simple corrections! once again... (by justhappy)
How to set random number generator to a range?
 
Is there a way I could make the range between -100 and 100 for random number generator? thanks
[1 reply] : Yes. See http://www.cplusplus.com/reference/cstdlib/rand/ However, th... (by keskiverto)
by amm123
help me fix this code?
 
solved :)
[4 replies] Last: dhayden: thank you so much for helping me. (by amm123)
by dw24
Need to create a program to evaluate some scores in functions
 
The professor gave us a problem to solve by ourselves that used functions. She gave is the entire cl...
[no replies]
Pointing to?...refference where?
 
I just don't get ths behaviour. Lets say we the next snippet: ........................... ...
[4 replies] Last: Thank you. I understand very well your reply. In my snippet, the first... (by clausserg)
How to set random number generator to a range?
 
Is there any way I can use random number generator with negative numbers? thanks
[1 reply] : Generate between 0 and 2000 and then subtract 1000? By the way, rand... (by LB)
Push_back with std::vector<sf::Vector2f> Vector
 
Hi there, I would like to ask, how to push_back with a vector of the following type (don't know if ...
[1 reply] : UnitVector is an array (std::vector) of sf::Vector2f's. UnitVector is... (by Ganado)
by Jakez
Best C++ book
 
Hi I am currently an IT student and I want to start c++ any suggestions of C++ books I can use. T...
[7 replies] Last: I must add my favorite book here aswell. It is called Professional C++... (by OscarJ)
Pages: 1... 34567... 65
  Archived months: [jan2015]

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