
please wait
by NewUser404
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? |
Jun 27, 2021 at 2:08am
[5 replies] Last: Install vcpkg: https://github.com/microsoft/vcpkg#quick-start-windows ... (by JLBorges)
|
by Notanormie
Cash register (1,2)
|
WHy doesnt it go into the if statement block of code? #include <iostream> using namespace std; #include <string> int main() { string Ham = "Ham ... |
Jun 26, 2021 at 10:29pm
[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? I already checked out WSAPI and SndLib. First one is to ov... |
Jun 26, 2021 at 10:37am
[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. This doesn't work. I get a real crazy output. /... |
Jun 26, 2021 at 9:46am
[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 20 only and it has to be in C language, what should I change ... |
Jun 26, 2021 at 8:25am
[21 replies] Last: The bisection algorithm, if implemented correctly, always maintains Xl... (by lastchance)
|
by lindsayy
.
|
thankies! |
Jun 26, 2021 at 12:36am
[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 getting an error. If I remove the const for that string in the fu... |
Jun 25, 2021 at 5:06pm
[6 replies] Last: If using iterator, then auto is your friend. Also don't forget about .... (by seeplus)
|
by lindsayy
.
|
thankies |
Jun 25, 2021 at 3:43pm
[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 expected with the remove function. But when i am trying to use a ... |
Jun 25, 2021 at 3:36pm
[18 replies] Last: I performed these operations but different way, the following method I... (by Devendra238)
|
by LuckyBatra
Issues with a header file
|
My program is the start of a "music database" which acts as a terminal. The user will enter in commands to get things done. At the moment, however, I am having ... |
Jun 25, 2021 at 2:50pm
[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 contents of the file in suitable format on the screen. (Field... |
Jun 25, 2021 at 12:18pm
[11 replies] Last: As a first revision, consider: #include <iostream> #include <string... (by seeplus)
|
by katesimon123
use of __cplusplus in python source
|
At the top of each C header file (after the include guards), use this #ifdef __cplusplus extern "C" { #endif and at the bottom, need to enclose #ifdef __cp... |
Jun 25, 2021 at 11:29am
[5 replies] Last: The dirty sh!t dale14886 edited their post with spam. (by salem c)
|
by Petrus1234
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 amount of rows in the txt file) The first value of the row is ... |
Jun 25, 2021 at 11:16am
[8 replies] Last: Using dynamic memory - if you really want - then possibly something li... (by seeplus)
|
by katesimon123
Make numbers in sequence
|
Hi, I have a school project on basic C++ where the user will input numbers between 1 to 1000 and the code should make those numbers in sequence. Like if t... |
Jun 24, 2021 at 4:30pm
[5 replies] Last: :) :) Quite. In the OP there was no constraints mentioned (like using ... (by seeplus)
|
by Shervan360
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 program, all ten numbers are different. How can I solve this ... |
Jun 24, 2021 at 1:00pm
[4 replies] Last: The time() http://www.cplusplus.com/reference/ctime/time/ returns a ... (by keskiverto)
|
by hassan236
logical operators
|
i am a novice programmer and i want to learn through practicing. #include <iostream> using namespace std; int main() { for(int i=0;i<=6;i++) { if(... |
Jun 24, 2021 at 12:52pm
[6 replies] Last: there is overlap between boolean algebra (true false) and sets. about... (by jonnin)
|
by Lacy9265
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 month and the amount of rainfall that month got. I'm confused on... |
Jun 24, 2021 at 12:45pm
[43 replies] Last: @OP Needs to be completed but it doesn't bomb. Also note that by decou... (by againtry)
|
by JackLadYT
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 code runs normally up to the second question, however at this ... |
Jun 24, 2021 at 9:35am
[17 replies] Last: L37 insert std::cout << "!" << word1 << "! !" << answer1 << "!\n";... (by seeplus)
|
by lrdbash
How to traverse through two 2d arrays to create a list
|
Write a program that registers all the students in both streams in different arrays i.e., 5A and 5B. Traverse through both registers and come up with a full lis... |
Jun 24, 2021 at 8:44am
[3 replies] Last: Simply without functions/structs etc, consider: #include <iostream>... (by seeplus)
|
by BlueCOCO1
having trouble with program and setw()
|
UPDATE on program calculating area of rectangle, and converting feet to inches. Result of program should be: Enter the length in feet and inches: 3 0 <Enter... |
Jun 24, 2021 at 6:00am
[9 replies] Last: #include <iostream> #include <iomanip> // setw(11); using name... (by againtry)
|