Beginners (Page 10)

by dizzie
unexpected and unwanted output
hey, I'm having problems with coding this program. the output is not what i wanted. any ideas? th...
[3 replies] Last: float menu, type, request, water; These variables are never set t... (by seeplus)
user defined literal, REQUIRES long double???
QUESTION 1: Why do I get a compile error invalid parameter list when I set the user defined literal ...
[10 replies] Last: Arguably optimizing readability and code quality raises the ceiling of... (by helios)
Wireless tagging for beginners
I will preface this question with a caveat: I'm a reasonably talented programmer, but an absolute no...
[3 replies] Last: Sounds like an opportunity for an Arduino/Raspberry Pi combined with s... (by againtry)
How to make sure that different dynamic memory is allocated to the same pointer when using while loop? (1,2)
Here is my question: How to use a while loop to allocate different dynamic memory address to the sa...
[38 replies] Last: you started the slang. (by anup30)
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,...
[3 replies] Last: Line 16: Instead of DeleteObject(hBitmapOld); you should SelectObje... (by coder777)
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...
[5 replies] Last: I can tell you that now to find experts in lead generation is very dif... (by Hison)
cout is not working
even after using namespace std cout is not working #include <stdio.h> using namespace std;...
[5 replies] Last: even after using namespace std cout is not working It might help yo... (by Furry Guy)
Displaying an Image
I am trying to create a console controlled program, that receives an input command, creates a window...
[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...
[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...
[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 ...
[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...
[20 replies] Last: I never noticed the alias thing, good catch. (by jonnin)
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....
[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 ...
[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...
[2 replies] Last: Duplicate of (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...
[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...
[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...
[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...
[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...
[2 replies] Last: The function you pass to sort should return true if its first argume... (by mbozzi)
Pages: 1... 89101112
  Archived months: [aug2021]

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