[try Beta version]
Not logged in

Beginners - September 2021 (Page 6)

BitBlt Error After Many Iterations
Hey guys, I've ran into a bit of a snag... The program I'm writing captures a portion of my screen,...
Sep 13, 2021 at 5:47am
[3 replies] Last: Line 16: Instead of DeleteObject(hBitmapOld); you should SelectObje... (by coder777)
cout is not working
even after using namespace std cout is not working #include <stdio.h> using namespace std;...
Sep 13, 2021 at 1:45am
[5 replies] Last: even after using namespace std cout is not working It might help yo... (by deleted account xyzzy)
Displaying an Image
I am trying to create a console controlled program, that receives an input command, creates a window...
Sep 12, 2021 at 4:42pm
[9 replies] Last: You know... I almost hate to suggest it... but you could blow people... (by Duthomhas)
I need help writing a dice game code
Rules of the Game:1- Randomly roll the first dice once(six-sided dice). 2- Randomly roll the seco...
Sep 12, 2021 at 9:33am
[3 replies] Last: How far have you got in learning C++? What don't you understand? What ... (by seeplus)
by dizzie
unexpected output
hi, this program executes fine but the output isn't what I want. for some reason, my if and else sta...
Sep 12, 2021 at 8:48am
[5 replies] Last: You might be better with a database-type solution. Your viscosities a... (by lastchance)
Exiting Threads Closes Main Thread?
Hi everyone! New to the forum and I haveta say that there's a wealth of knowledge on here that has ...
Sep 12, 2021 at 8:39am
[11 replies] Last: Thanks everyone for your responses. I'm rewriting the program in a lin... (by DoktorD1313)
c++ beginner - use loop for odd/even number (1,2)
This is the description of the prac im doing. The code below is what I have come up so far. I also a...
Sep 12, 2021 at 12:40am
[20 replies] Last: I never noticed the alias thing, good catch. (by jonnin)
Help with code
Can anyone help me with this program I am kind a stuck, I have no idea what I have to do or where to...
Sep 11, 2021 at 11:26am
[4 replies] Last: An alternative way to handle the times after they are parsed is to con... (by againtry)
by AkiraC
How to perform array frequency count?
Hi, I need to write a program to read, group, and total up the survey marks entered by a respondent....
Sep 10, 2021 at 5:49pm
[17 replies] Last: Well, I suppose that on the internet you can offend anyone with anythi... (by Duthomhas)
by ng1865
How to incorporate pointer notation
I would like to remove all white spaces in a string from a code sample so that way it can print out ...
Sep 10, 2021 at 9:57am
[7 replies] Last: #include<iostream> void trimSpaces(char *str, int length) { int ... (by againtry)
by ng1865
Explaining pointer notation
I need to remove all white spaces in a string from a code sample so that way it can print out as a c...
Sep 10, 2021 at 9:15am
[2 replies] Last: Duplicate of http://www.cplusplus.com/forum/beginner/279842/ (by seeplus)
Is there a more efficient way of comparing multiple elements of an array?
for example, if I wanted to check if int Array [0,1,2] were equal to 5, 3, and 6 respectively, (data...
Sep 9, 2021 at 8:26pm
[10 replies] Last: "efficient"   • Efficiency has little to do with how small your co... (by Duthomhas)
String Processing Delete between two characters
Hello all, I am currently working on string processing because I have not learned it. I have a st...
Sep 9, 2021 at 6:32pm
[1 reply] : #include <iostream> #include <string> using namespace std; string st... (by lastchance)
by Geckoo
Create a new Thread
Hello. I am trying to create a thread so as to manage some delay inside a process. I tried with Slee...
Sep 9, 2021 at 5:54pm
[11 replies] Last: I would like to avoid complex threads independently. I would like to d... (by Geckoo)
Struct Functions
Hey all, needing a little guidance here. SO were supposed to use 2 functions. One funtion to take in...
Sep 9, 2021 at 4:32am
[1 reply] : Hi, On line 25, your input starts at 1 and ends at 3. The array start... (by TheIdeasMan)
stl sort function
I am going back over older code that I had written before and I have noticed something that I dont a...
Sep 9, 2021 at 12:29am
[2 replies] Last: The function you pass to sort should return true if its first argume... (by mbozzi)
Program to drop lowest score and calculate average.
I have already started the program, the only issue is that I cannot get it to work. How can I improv...
Sep 8, 2021 at 5:48pm
[5 replies] Last: @lastchance my bad, I meant to say I got stuck in an infinite loop. (by gigacapybara)
c++ beginner - read 10 integers into an array
hi guys. i got the description of the prac im working but i cant seem to figure the solution. i also...
Sep 8, 2021 at 5:15pm
[2 replies] Last: thank youuuuuuuuuuuuuuuuuu (by bloshanova)
Segmentation fault when working with binary file
HI guys, doing something that I've done countless of times but nothing looks amiss to me yet I'm st...
Sep 8, 2021 at 4:53pm
[6 replies] Last: As C++17: #include <iostream> #include <fstream> #include <vector> ... (by seeplus)
Good practice for this two scenario
hello guys! I would like to know your opinion about what is better (or good practice) for these 2 s...
Sep 8, 2021 at 12:42am
[2 replies] Last: I will even go so far as to say that exit()/terminate() and so on shou... (by jonnin)
September 2021 Pages: 1... 4567
  Archived months: [aug2021] [oct2021]

This is an archived page. To post a new message, go to the current page.
Registered users can post in this forum.