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 M09
Memory limit
Code is supposed to transform all the letters in uppercase and to print the sum of the digits. Ex: ...
[2 replies] Last: The site where I found the problem shows you the memory and when I del... (by M09)
by Ch1156
Correct use of this pointer
I was following along with a youtube video on how to do some OOP stuff like inheritance and all that...
[12 replies] Last: @Handy Andy So, just to be clear - do you understand why using post-i... (by MikeyBoy)
structuring a game project
I'm working on a basic 2d game framework with Sdl, but I'm not sure how to make instances and game a...
[4 replies] Last: oh, I see how that can work. So let's say the player object needs the... (by Reiiign)
Single-link list
help.I need to create a list of paired positive elements of two input lists where is the mistake? ...
[4 replies] Last: > where is the mistake? ¿what are the symptoms? ¿compile error? ¿cr... (by ne555)
Going a "bit" bananas!! HA
Ok so I had read a post the other day and I believe it was jonin that said something about being ab...
[4 replies] Last: > I had played with the vector bool and broke it bc the numbers I was ... (by JLBorges)
Return pointer in Main function - C
Hello, How can I fix it? I want to back "12" in the main function with the result pointer and then ...
[3 replies] Last: #include <stdio.h> #include <stdlib.h> void strstrX(const char* num... (by seeplus)
How to search sentence in cpp
how to make program like this: in the cpp file there is a sentence: Dave buy 2 mangoes Felix buys ...
[4 replies] Last: Hello siabapet, You should have compiled you code before posting it. ... (by Handy Andy)
by PK Dey
if (flag)
Write your question here. for (i = 0; i < m; ++i) { flag = 1; for (j = 0...
[7 replies] Last: the reverse it true as well, boolean expressions result in integer 0 ... (by jonnin)
Case Insensitive Palindrome
I am making a case insensitive palindrome but it is only working on lower cases letters like racecar...
[4 replies] Last: Hello WeebTriestoCode, After I posted and saw seeplys's responce I ... (by Handy Andy)
Avoid copying object in list initialization
Hi all, when I run this program, I get the following: New point created. Another point created from...
[5 replies] Last: If you are intending to be able to move that point (for example, in a ... (by lastchance)
Averaging elements of a 2D vector in C++
Hello, my code is returning only the last element calculated inside the loops. I am "binning" (res...
[2 replies] Last: Hello dutch! it worked perfectly. I also test it with a 1024x1024 .tx... (by DanielDeChamps)
Anagram code not working when I put in on a switch statement
Hello there, I am stuck in this code about finding anagrams. I practiced this in a different code an...
[2 replies] Last: Yo! It works!!! Thanks dude... I am stuck in this problem for almost a... (by WeebTriestoCode)
File handling assignment I can't even start coding
I have this assignment due in 3 days. Trust me, I've been trying and trying to code it, but to no av...
[7 replies] Last: you are correct, I missed: n = 0, 1,..., n so yes, its that simple lol... (by jonnin)
how to calculate the speed of a journey
i have to intup the time periods(12 55; 18 00 etc) and distance from the console for a few journeys ...
[7 replies] Last: As others have mentioned, you need to convert the hours/minutes values... (by dhayden)
by VoB
Explicit instantiation example for a templated function
Hi everyone, when dealing with templated classes/functions, it's common practice to put both decl...
[16 replies] Last: Thanks for the check ! (by VoB)
C++: counting numbers
Hi! I have a sub program where I find every prime numbers between 1..10000. Now in driver program ...
[7 replies] Last: #include <iostream> #include <cmath> #include <valarray> using namesp... (by lastchance)
questions to the Class II of the tutorial.
Hi,comrades. I am studing class II here. and I don't know the first ampersand& used in the followi...
[4 replies] Last: > but the link in your post cannot be accessed here. I guess you faile... (by salem c)
class reservation program
Im in desperate need of assisstance. I have project to make a class reservation program but i do not...
[5 replies] Last: Hello nurnisa, After working on your program I have concluded that it... (by Handy Andy)
Pages: 123... 20
  Archived months: [nov2020]