Beginners - June 2021 (Page 2)

Min and max number
 
how to display min and max number that inserted by user without using array ? My coding wont displa...
[2 replies] Last: PLEASE learn to use code tags, they make reading and commenting on so... (by George P)
Bubble sort function for last names, in alphabetical order
 
For this project I am struggling to create my function that sorts a list of full names by last names...
[5 replies] Last: What's with all the .at() ? As the loops are from 0 to < .size(), then... (by seeplus)
Easy function for scaling a bmp image
 
Hello is there a easy function for scaling a bmp (24 bit) image to a size of 256x256 pixels?
[5 replies] Last: Install vcpkg: https://github.com/microsoft/vcpkg#quick-start-windows ... (by JLBorges)
Cash register (1,2)
 
WHy doesnt it go into the if statement block of code? #include <iostream> using namespace s...
[28 replies] Last: Got it! finally! Thank you all so much! (by Notanormie)
Stream wav directly to audio speaker
 
Hi, can anybody suggest a small lib for opening and passing on data from a wav file to speakers? ...
[1 reply] : SDL is more than what you're looking for, but it does provide cross-pl... (by newbieg)
by CVRIV
Having trouble adding spaces between characters in a string being built via a for loop.
 
I'm adding characters from one string to another with the addition of spaces between the characters....
[8 replies] Last: made a fairly strong push for favouring iterator based classical for ... (by seeplus)
by min01
C Language Bisection Method Algorithm;Midpoint (1,2)
 
Hi Everybody! I need help, I can't run the program. Also I need the iteration to run at maximum of 2...
[21 replies] Last: The bisection algorithm, if implemented correctly, always maintains Xl... (by lastchance)
.
 
thankies!
[3 replies] Last: https://stackoverflow.com/questions/1557894/non-recursive-merge-sort y... (by jonnin)
by CVRIV
I'm having trouble iterating through a const string.
 
I'm trying to use a for loop to iterate through a const string to print the characters but I'm getti...
[6 replies] Last: If using iterator, then auto is your friend. Also don't forget about .... (by seeplus)
.
 
thankies
[5 replies] Last: t (by lindsayy)
by Wedde
Delete file with string variable
 
I am trying to delete a .txt file. When hardcoding the .txt, like Banana.txt it functions like expec...
[18 replies] Last: I performed these operations but different way, the following method I... (by Devendra238)
Issues with a header file
 
My program is the start of a "music database" which acts as a terminal. The user will enter in comma...
[3 replies] Last: You're less likely to get a response if you mark your post as solved, ... (by Ganado)
by batzot
c++ programming
 
1. Print the entire list. This menu item is selected by typing 1 and it should simply print the con...
[11 replies] Last: As a first revision, consider: #include <iostream> #include <string... (by seeplus)
use of __cplusplus in python source
 
At the top of each C header file (after the include guards), use this #ifdef __cplusplus extern "C"...
[5 replies] Last: The dirty sh!t dale14886 edited their post with spam. (by salem c)
arrays
 
I have an txt file called arr.txt that looks like 4;3,2,5,6 2;1,5 3;4,6,8 .... (has an unknown amo...
[8 replies] Last: Using dynamic memory - if you really want - then possibly something li... (by seeplus)
Make numbers in sequence
 
Hi, I have a school project on basic C++ where the user will input numbers between 1 to 1000 and ...
[5 replies] Last: :) :) Quite. In the OP there was no constraints mentioned (like using ... (by seeplus)
All random number are the same in C
 
Hello, When I run the below code all ten numbers are the same but when I debug and trace the prog...
[4 replies] Last: The time() http://www.cplusplus.com/reference/ctime/time/ returns a ... (by keskiverto)
logical operators
 
i am a novice programmer and i want to learn through practicing. #include <iostream> using name...
[6 replies] Last: there is overlap between boolean algebra (true false) and sets. about... (by jonnin)
Linked List Help!! (Now have 23 errors with code) (1,2,3)
 
For this code, I have to create a program using linked list that will ask the user to enter the mont...
[43 replies] Last: @OP Needs to be completed but it doesn't bomb. Also note that by decou... (by againtry)
unhandled exception at 0x00EEFB5D in Project1.exe: 0xC0000094: Integer division by zero.
 
hello. been working on this code for a while now and had lots of help from the people here The co...
[17 replies] Last: L37 insert std::cout << "!" << word1 << "! !" << answer1 << "!\n";... (by seeplus)
June 2021 Pages: 1234... 9
  Archived months: [may2021] [jul2021]

This is an archived page. To post a new message, go to the current page.