General C++ Programming (Page 9)

File input.txt
Write a function to prepare a text file input.txt by storing 100 random integers in the range from -...
[7 replies] Last: which will display the contents of the container D, add elements to D... (by alexandr2222)
Using a 1D array on a 2D array to calculate movement
Hello! I'm a first-year CS student and no this isn't homework help, this is personal project help fo...
[2 replies] Last: I appreciate the response, we aren't that far into learning C++ and we... (by Omnivion)
Algorithm search_end_if
I wrote an algorithm using a functor. For example, there is a condition that the elements must be gr...
[7 replies] Last: Um... where else would you put it? I started learning it not so far. ... (by alexandr2222)
Fibonnaci algo confusion
the algo here is printing the wrong data. I am not getting where am I wrong? Can anyone help me? ...
[5 replies] Last: You have a function that returns an integer value: // function int fi... (by keskiverto)
Need Help Please!
So im kindave stuck on this problem i have and would greatly appreciate some help. i pasted the ques...
[2 replies] Last: You can double check your output with a calculator like this: https://... (by againtry)
Linked List only displays first node
Hey ya'll, I'm new to linked lists and I'm having some toruble with displaying my list. I created a ...
[4 replies] Last: Ahhh, I see the error now. Thanks for the help :) (by oceanSpray)
by dutch
Drunkard's Walk
I thought the average distance the drunk would walk is the sqrt of the number of steps. However with...
[11 replies] Last: And, int NO_MOVES{10000}; int NO_TESTS{10000}; gives, RMS di... (by againtry)
Resize a square
Hey, In a part of my programm I want to resize a square. This is my code: const int MAX = 50; ...
[1 reply] : You don't seem to be setting height/width anywhere? Why use MAX? Shoul... (by seeplus)
Calender Program (1,2)
Write a program that collects from the user only two pieces of information – (1) the year and (2) ...
[22 replies] Last: @naveenmmenon This is what indentation should look like. #include <i... (by salem c)
arrays and loops
I am pretty new to programming, so I guess be advised. I am trying to take a user input, here for ...
[4 replies] Last: Thanks for the help, I ended up using the algorithm. (by paleryder311)
Pages: 1... 789
  Archived months: [oct2020]

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