Beginners (Page 7)

Snake Game - movement function
 
Hello, Let's say I have a snake: char snake . How do I move the snake on a board ? My attemp...
[3 replies] Last: Does your snake wrap around? Meaning, if the snake hits the edge, doe... (by JayhawkZombie)
SFML DOESNT WORK
 
Hello. I tried to install sfml on codeblocks but when I try to build the sample program on the site ...
[5 replies] Last: I downloaded and followed only these instructions (http://www.sfml-de... (by cire)
How to set up any C++ compiler with Code::Blocks?
 
Hi there! I'm new to C++ programming and was wondering what is the best way to set up any compiler ...
[1 reply] : Compilers are just that: the only thing they do is compile code. What ... (by JayhawkZombie)
Getting Errors with “std_lib_facilities.h”
 
Hey guys, newbie's here. I'm doing exercises from Stroustrup's book. I got errors when I included hi...
[3 replies] Last: "unsigned int i" can not be a negative number therefore is "i < 0" alw... (by Necip)
Template operator<<
 
Hey guys, I'd like some advice on how to make an ostream operator<< for a template. Stroustrup said ...
[6 replies] Last: @ne555 Ah, yes using friend is better - not sure why i keep forgett... (by TheIdeasMan)
pseudocode
 
I am having trouble thinking of a way to structure this program. I have 10+ items in stock. I wan...
[5 replies] Last: So storing the number in a text file is enough. Go for it. There's n... (by kemort)
Basic command line question
 
Hello, I am relatively new to programming with C++ but I do have a good amount of experience program...
[7 replies] Last: It seems that you should be trying to create a library not an executab... (by jlb)
by thexiv
Input Output of 32 bit sizes in chars
 
I want to know how, if there's any reasonable way, to take a 32 bit int and turn it into a character...
[9 replies] Last: void Node::insert_leaf(bool HL, bool LR) { HiLo.push_back(HL); if (... (by thexiv)
Course program: cplusplus.com Tutorials - please join class!
 
Hi, The voting has ended. The winner is : Our own tutorial set! This program is about working thr...
[3 replies] Last: Forum tutorial class is ready and waiting for people to join. Come on ... (by Too Explosive)
Help concerning a basic simple snake game
 
So, I was trying to create a simple snake game the other day. The code has been written, but a few ...
[2 replies] Last: Thanks for that answer! Also it was _getch() before. I was just trying... (by XYTetris)
SORTING HELP
 
I want to be able to have someone enter a word and have those same letters printed out in a random o...
[8 replies] Last: Relax. I was using that topic to see if that would help me get an idea... (by fivestar)
OOP Design question.
 
I've been working with SDL2 the past several months and quite enjoy it. That being said I'm getting ...
[3 replies] Last: Very much appreciate the replies folks. So it's a bit what I kind of e... (by CGunn86)
Two-dimensional array
 
Two-dimensional array Create a two-dimensional array . Fill it with random numbers from 0 to 9 incl...
[no replies]
2 questions about c++
 
Hi there! I'm trying to figure out how to loop the if statement if its conditions are not met. T...
[19 replies] Last: Thanks! There are a lot of very good programmers on this site! Good ... (by koothkeeper)
Dungeon Crawl Enemies
 
I am making a Dungeon Crawl game from this site (http://www.cplusplus.com/forum/articles/12974/). I ...
[no replies]
Inheritance technical problem
 
while learning inheritance i came across a problem when trying to get a main class to inherit a sub ...
[8 replies] Last: Ok Thanks again for the explanation i'l continue learning! (by globaltourist)
by Starke
Reflection or vector rotation problem...
 
Hi all, im new to c++. My task is to make function that will rotate radius vector of incident photon...
[6 replies] Last: I'm glad it helped Starke , all the posts point to the same, believe ... (by kemort)
ofstream isitn working..
 
My function does not overwrite or add a newline to my text file :( void newaccount() { fstream f...
[2 replies] Last: That was my post too :( i still couldnt get it to work p.s. i dont kn... (by pminwei)
using inheritance or friendship
 
while programming i mostly don't see a use in class friendship unless i want to access private membe...
[4 replies] Last: Thank you for the information now i need to review and organise it! (by globaltourist)
problem with friend and inheritance
 
i have been learning friendship and inheritance and i am stuck in front of the same problem for 5 ho...
[4 replies] Last: Thanks now i understand how it works! (by globaltourist)
Pages: 1... 56789... 48
  Archived months: [jun2016]

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