by admin
Welcome -- read before posting!
Welcome to the beginner's forum in! In this forum, users can to talk about any topic relate...
[2 replies] Last: How To Answer Questions in a Helpful Way Be gentle. Problem-relat... (by admin)
Console Closing Down (1,2,3,4,5,6,7)
Hi, i am new to C++ and have just written my "Hello World" program. It worked all right but the cons...
[120 replies] Last: It displayed "Hello world" after you pressed Enter. int c is a ... (by Duoas)
are these really pointers?
Hi I'm re-reading over a chapter of Alex Allains jumping into c++ and one stanza of the book goes ag...
[8 replies] Last: A: By assigning to ourselves think of the expression a = a. Or in the ... (by megatron 0)
Road to software engineering
Hello everyone,i just joined your community, and started learning c++ recently, i really like the la...
[1 reply] : There is only one way to the top: (by Necip)
while loop dis-functioning or random generator
write your question here. I'm not sure what is wrong with my while loop. the battle simulator isn'...
[no replies]
custom string to char converstion function not working?
I wrote this custom programme to convert a string to char but its giving garbage value // stri...
[3 replies] Last: #include <iostream> #include <string> char* str_to_cstr( const std::... (by kemort)
by qpalzm
What's wrong with this Space Invaders code
So i am writing a code for a project, but i can't seem to make it work. It;s supposed to transition ...
[5 replies] Last: You did not include #include <windows.h> in your code. You can't use ... (by closed account 5a8Ym39o6)
Friend functions?
A small code about friend functions. Why does it still say that a is private? #include <iostrea...
[4 replies] Last: @jonsnoww I don't think you should be using friend functions for thes... (by TheIdeasMan)
What is the specifier to specify long long integer with scanf? Thanks. An example of what I mean is...
[6 replies] Last: @Peter. Thanks. (by aurimas13)
manipulating the cursor position.
i am making a part of a game that requires a function to control the cursor, in theory what i wrote ...
[4 replies] Last: Once again you come and help me Duoas :) sadly i didn't learn templat... (by globaltourist)
Load variables from file and work with them
I read some threads about importing and displaying data from files, but didnt find a case of actuall...
[14 replies] Last: I see. I'll think about it. Thank you again. (by AterVulpes)
SFML - Sprite issue
I have a sprite sheet that has 4 animations with 4 frames each. The size of the .png is 128x192 so I...
[2 replies] Last: Legend mate. So the IntRect() third and fourth arguments are respecti... (by megatron 0)
Problem updating variables in class object
This is for a beginning programming course. The program is supposed to create a class to store ...
[1 reply] : Actually the x and y values are updating, but distance is not. Also de... (by etrusks)
by Kbott
Question: Classes and array of pointers
So I am working on a program that asks the following: Define a ShoppingCart class which contains ...
[1 reply] : In order to use the array you need a second variable that contains the... (by coder777)
why allocate memory??
Hi I'm just finishing reading Alex Allains book and he doesn't give too much of examples on why and ...
[2 replies] Last: why would this line of code not work? new int returns int * while... (by coder777)
Magic Square Help
Hi, I created a magic square program to allow for a variable input of an odd value. However, I am ge...
[5 replies] Last: I heard additionally that such apps of life-critical system are runnin... (by Necip)
magic square output issue please help
This is for a beginner computer science class. The prompt wants the matrix to have the 1 in the ...
[no replies]
header files
Hi all! This is my first time using a header file and source code together. I am getting a external ...
[11 replies] Last: #include <iostream> #include <fstream> #include <iomanip> const int... (by kemort)
C++ Vector class object pointer how to print
#include <iostream> #include <vector> using namespace std; class MyClass { public: int...
[2 replies] Last: Does that help you? :) (by closed account 5a8Ym39o6)
[3 replies] Last: (by kemort)
Pages: 123... 53
  Archived months: [may2016]