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 Duthomhas)
by AL88
why doesn't my setw setfill bar graph work
why doesn't my setw setfill bar graph work on line 71-74 #include <iostream> #include <string...
[2 replies] Last: You only need to say setfill once, and you probably want to reset it t... (by dutch)
EXTENDED ASCII - How to 'cout' ?
Hi to everyone! I'm trying to output in my console application characters of the OEM Extended Ascii...
[10 replies] Last: A while ago while I was printing characters of char in a loop I notice... (by Grime)
Need help with this code.
Write a program that asks the user for a positive integer no greater than 15. The program should the...
[6 replies] Last: Just for clarification. I cannot turn the problem in anymore, I posted... (by dyllawav)
Quickly way to push_back 1 to n to std::vector
I want to push back 1 to n numbers to a single int vector. Could that be done in one line without lo...
[12 replies] Last: A rose by any other name would smell as sweet Or put in other word... (by keskiverto)
Sudoku square problem
Hello, i`ve made sudoku project. Problem is in the square. There have been two or three same numbers...
[4 replies] Last: You should always post your code in code tags: (by dutch)
by Grime
Why doesn't class obj(); work?
Say you have a structure like so: struct bob { int var; bob() { cout << "You've been in...
[4 replies] Last: Consider taking more time to read the documentation properly. You are... (by Grime)
assignment grading project problem
This is what it's asking: Write a program that calculates and prints the total grade for n assig...
[11 replies] Last: TheIdeasMan, If you want to have tPoints and pPoints as doubles, real... (by Grime)
by yup2
Vector using structure datatype
Im having an extremely hard time finding a solution to this, I've looked on youtube and google but h...
[3 replies] Last: My pleasure! glad to have helped! (by hoogo)
Need Help
There are M students sitting in a circle and there ID is 1 to M.they started to play a game.Game goe...
[no replies]
Minimax algorithm: tic tac toe
I am trying to write an unbeatable ai for tic tac toe game. Everything else is fine but the ai is no...
[no replies]
by opisop
Best way to retrieve multiple variables from nested objects for other object?
I want to reach into an object, which is nested in other objects, and retrieve data to easily pass t...
[7 replies] Last: > Here is a more detailed example, but it can only retrieve one house ... (by JLBorges)
Refresh console without printing every time
Hi, I'm writing a little game. The "playground" is a matrix and player has to move trough it so I'm ...
[1 reply] : Does there exist a way to refresh the console to visualize the player... (by mbozzi)
Need help reversing a number (Can't get the right answer)
I don't get the right answer. I hope I don't need to translate the whole code in English. All I need...
[4 replies] Last: In your code, what is the starting value of Apverstas ? Is it meant ... (by Repeater)
Weird Symbols when outputting a char array
First off I know there are better ways to deal with strings but in my C++ class the professor wants ...
[9 replies] Last: to print reverse it, you might find strlen() useful. eg for(i = str... (by jonnin)
multiple errors of invalid conversion and previous declaration
In this there are conflicting declaration(declared more than once), cannot convert(int* to int)(doub...
[4 replies] Last: The biggest problem with your code is that your function prototypes do... (by AbstractionAnon)
by wedb
ultimate tic tac toe, monte carlo scoring, operand and int array conversion problem
Full git repository can be found here.
[1 reply] : Doesn't the best move depend on which player is making it? How does g... (by dhayden)
?!?! Ideas Anyone !?!?
[18 replies] Last: @Grime, Here is a simple implementation of the sieve. Even in this un... (by dutch)
by AL88
What am I doing wrong with these logic gates?
I am trying to write a program that takes a poll on favourite colours from 10 different users but i ...
[4 replies] Last: #include <iostream> int main(void) { int a=8, b=8, c=0; s... (by Cheddar99)
Pages: 123... 31
  Archived months: [nov2018]