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)
Create a destructor and call it
I need to create a destructor for my class since i have a lot redundant obj. I have in my class cr...
[no replies]
Undefined symbol error in Turbo C++
I want to create a GK Quiz project named Infinite Knowledge. In this I created a C++ Class 'Quiz' wi...
[15 replies] Last: Till now I've written the following code in bScience() : void bScie... (by KVaibhav01)
struct pointers to functions
I'm currently stuck on a homework problem. The question asks "Create your own Date struct that conta...
[5 replies] Last: Lines 40-42: you're outputting a number. Not the most user friendly, ... (by AbstractionAnon)
Appending objects
I have a class which consist of an vector.. I want to create a merge function which appends a obj...
[7 replies] Last: Good to know. (by shadowCODE)
[C++] - 6x6 board game
Hi, I have a project exercise in c++ language. I have to admit I'm not so good in programming right ...
[7 replies] Last: After you prompt the user for his play (rysuj_kamien), you stop. You ... (by AbstractionAnon)
by markat
Stuck on creating a separate function for bubble sort
Hello, I've been charged with the following task: •Write a program that: •1) Creates an array c...
[5 replies] Last: Oh you're right, that was careless reading on my part. I'll change the... (by markat)
Pass the calculator!
I have to do a game using a calculator and the first step is to choose who starts, the player or the...
[no replies]
Here ís my tictactoe so far: #include <iostream> #include <matrix.h> namespace tictactoe { ...
[no replies]
Help with simple (I think) function
Hey, I'm trying to write a function that will return the value before x in a linear equation, note: ...
[4 replies] Last: I actually get 0 warnings :) But I am saying you should have had mo... (by TheIdeasMan)
Structures and dynamic allocation
I'm currently stuck on a homework problem. The questions asks "Assuming you have created the Speaker...
[8 replies] Last: If you intend to return a Speaker struct, yes. Or as a struct pointer ... (by YokoTsuno)
How to get the index number of an element into an array?
I tried to use find() function but it returns the element not the position. int ar ={1,2,3,4,3...
[2 replies] Last: Yes. find returns an iterator to that position. To get the index,... (by shadowCODE)
by Scizor
Binary Search Issues
Hello! So below, I have a piece of code that is part of a hangman game. What I am doing is asking fo...
[no replies]
by Ganado
Dereferencing a function pointer
I'm exploring function pointers as I think it will be a good way to do some curve parameterization s...
[1 reply] : You probably meant line 10. Try this. It might shed some light on what... (by MiiNiPaa)
by r0bot
very basic: scanf()
Dear Forum, it is very basic calculation of adding two numbers. when I enter 1 2 I get the result ...
[2 replies] Last: printf and scanf doesn't work in iostream , instead of that type this ... (by shoysm the programmer)
Dynamic 2D Array
Hello, I have a dynamic 2D array that I'm decreasing size by one by a function. It may not always b...
[1 reply] : for( .... ) std::swap( arr , arr ) // <algorithm> then, http:... (by anup30)
Dividing into rooms
I trying to write some code which able to detect rooms in a map. The map is represented in an matrix...
[no replies]
True Object Oriented Programming
Hello all, I've been learning c++ and have gotten fairly comfortable with many of the concepts, to t...
[11 replies] Last: everyone has his own learning strategy. you read 130 pages in two days... (by anup30)
by KMagic
Convert char to int
I have googled this basic problem and find this solotion fastest: char a = '4'; int ia = a...
[4 replies] Last: Got it. Thank you very much. (by KMagic)
Pages: 123... 123
  Archived months: [sep2014]