Beginners (Page 3)

For loop does not modify values of vector
 
Hi! Hope you are having a great day. Is life not beautiful? Anyway... I came across this for loop th...
[4 replies] Last: Alright guys! It was my mistake here... The vector of "Fluege" (or "Fl... (by Mustermann)
Unknown Error
 
So im trying to write a program that reads the contents of two files into two separate vectors (Girl...
[5 replies] Last: Thank you, all for the help I will be trying every solution. I also ha... (by SweatyCoder)
by sarvcr
Help Autofilling a variable in C++
 
Hi! I'm learining c++, and for a project I need to work with binary numbers. I already have a funct...
[4 replies] Last: Setfill tool doesn't work as I need the integer to be 8 digits long t... (by helios)
by sam1x1
random function; first ouput way too high
 
i'm looping a random function to get random numbers from a die. the first number is always way too h...
[3 replies] Last: Using modern C++ (C++11 or later) to generate random numbers: #includ... (by Furry Guy)
Display the product of positive integers using functions.
 
Hi! I challenged myself to do another task but I was stuck again... I was tasked to find the product...
[2 replies] Last: Wow! Thank you so much! It works perfectly! <3<3 (by gfriend owemji)
Final output is one lower than it should be.
 
Heya this is the issue that I am solving: Bianca is preparing special dishes for her daughter’s b...
[5 replies] Last: but I don't really understand how it works just yet. Sum of an ari... (by lastchance)
Generate Multiple solutions for sudoku game
 
Hello! I need to program a recursive method to find all the possible solutions of a Sudoku puzzle of...
[12 replies] Last: Hello! Thank you so much! The error I got was because I did not insert... (by panconcafe)
Problem of reading in a txt file
 
I'm working on a project and need to read in txt file having format as below: .row 12 .col 12 .blk...
[2 replies] Last: I don't know how you need the required read data, but as a starter per... (by seeplus)
by Sayo
How to Display Vector of Pointers to Abstract Objects
 
Hi guys, I'm creating an animal board game where various animals are placed on the board. I have a...
[4 replies] Last: but whenever I attempt to display them all the values come up as 0 Ho... (by coder777)
Faster way?
 
Hello there For my course physical programming I need to simulate building-up of a neighbourhood....
[4 replies] Last: Thanks for the replies! your tips made the code a little faster. I hav... (by MiquelH)
Not in FIle (1,2,3)
 
I am following along with a tutorial that is creating a bitmap file and writing fractal images to it...
[44 replies] Last: @max Best is to try it! Probably works OK Keep in mind the filename is... (by againtry)
Test Question gone wrong
 
Hello, I am new here and have a question. I just took a c++ test and disagree with one of the true/f...
[6 replies] Last: Thanks for the replies everyone, he hasn't responded to my e-mail yet.... (by farmsmaqs)
C/C++ hackerrank question
 
Hello, I am using hackerrank to get better at solving problems, but for some reason it is teaching C...
[3 replies] Last: This may help: https://www.cplusplus.com/reference/cstdio/scanf/?kw=sc... (by agent max)
by NMI21
search function fstream
 
Hi guys, as you can see in the code section I wrote a program which searchs a word in a file and the...
[5 replies] Last: So the program searches for a word in the text. all lines with the wo... (by seeplus)
by hitasa
Need a lil advice from more experienced ones
 
Hi, Im trying to write a program that reads from text file how many times each "patient" occurs in a...
[5 replies] Last: Is this something like what you want: #include <string> #include <m... (by seeplus)
How would I identify the stack and heap in int main?
 
Wondering how I can identify memory within c++ program, code is here: https://pastebin.com/S2KMYc...
[6 replies] Last: For MS VS, the small buffer is 15 bytes. #include <string> #include... (by seeplus)
Compiler cannot find iostream
 
As a complete beginner I have been trying to "get into" C programming. While following a tutorial th...
[6 replies] Last: Good day, I did post here again, but it seems to have disappeared. I... (by johnOk9)
Filtering Words using ifstream/ofstream
 
I'm a little confused with an assignment that i've been given. I am wanting to show the count of eac...
[14 replies] Last: As case insensitive: #include <string> #include <iostream> #include... (by seeplus)
complete the code plz
 
can anyone plz complete this code, its for ma exams, thank u #include <iostream> using name...
[2 replies] Last: Based upon expected output and incorrect given code, perhaps: #incl... (by seeplus)
Writing a Rock-Paper-Scissors game using different functions.
 
[C++] Hi! I'm very new at programming and I need your help with my homework. I've had a hard time co...
[4 replies] Last: Thank you all for the tips! The code's working now by the way! (after ... (by gfriend owemji)
Pages: 12345... 13
  Archived months: [mar2021]

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