Beginners - April 2021 (Page 3)

Issue with clearing memory
 
This may be the wrong place for this, but I have a feeling it all boils down to a c++ issue. http...
[4 replies] Last: Edit, yeah guys sorry. I misinterpreted the wrapper. The final result... (by MrMartian)
c program with struct
 
Good Day, can someone please help me with my problem. I need to do the exact same program but instea...
[8 replies] Last: Hello justinejerome, If you have any more problems or questions let m... (by Handy Andy)
by akeilo
Needing a little more help
 
I previously received some help with this code I am writing from seeplus, but I have ran into anothe...
[9 replies] Last: athletes.txt in this case: Mirabella Jones 7.5 8.8 7.0 8.1 8.0 9.8 9.... (by againtry)
Decrement to 0 and back up again
 
Hello. I am very new to programming logic. I know some Javascript, but more DOM manipulation and dea...
[4 replies] Last: The previous produces a sawtooth pattern, this produces a triangle pat... (by againtry)
by kg88
Need help with a pushback on a vector
 
Hi I'm trying to get my new section to work on a pushback to no avail. Not sure what I'm doing wron...
[3 replies] Last: 1. It's || and not | . The former is logical, the latter is bit-c... (by mbozzi)
Find the value of x!
 
Hello everyone! is there any easy way to solve this ?! using Switch Statement find the value...
[4 replies] Last: Note the use of a break statement at the end of each case. Once the sw... (by finetunewithhammer)
How to compare two values from two different text files? (1,2)
 
Hey everyone, I'm pretty stuck right now on this assignment. So I got my read from the first file ok...
[29 replies] Last: @keskiverto, I realize all of that. After all I have said about usin... (by Handy Andy)
Modify textBox from outside the form "class"?
 
I'm using c++/cli and windows forms. My form has text boxes, and I can't seem to modify them from a...
[1 reply] : You could make textBox2 public or create a public function(setter) or ... (by thmm)
by NMI21
Using fstream with txt files and file pathing
 
If i put in a filepath it is never able to open it please help #include <iostream> #include <...
[3 replies] Last: Hello NMI21, When using a path it can either be a relative path from ... (by Handy Andy)
How to get values from a function?
 
The question says to get the returned values from functions and print it in main. The final output ...
[5 replies] Last: Understood. Thank you very much. (by hishiiro)
by akeilo
Needing help modifying my code.
 
I was wondering what would be the best way from me to make my code read the data from multiple athle...
[3 replies] Last: Hello akeilo, Referencing your code I changed the if statement in lin... (by Handy Andy)
Help with absolute value of an array
 
Hello, I have some function that inside I am trying to take the absolute value of an array using std...
[9 replies] Last: Thanks everyone! This was very helpful. (by JamieAl)
switch statement help
 
I'm trying to create a game that generates a random number then you have to use a calculator to come...
[3 replies] Last: That worked out for me, Thanks again! (by Frizosty)
Menu project using arrays
 
Hello all, I have been working on this project for some time where i take items from text files and...
[14 replies] Last: Hello ccorkran, I take it there is no point in rehashing what has alr... (by Handy Andy)
quiz game
 
j
[6 replies] Last: Was also posted here http://www.cplusplus.com/forum/beginner/275717/ (by seeplus)
Need a little help with my void function
 
I can't get my code to compile. Any help would be appreciated! (the Error) temperature.cpp: In f...
[5 replies] Last: Not withstanding TheIdeasMan valid comments re constants, as a starter... (by seeplus)
Limit order
 
How can I limit order to 10? void menu2() { ofstream write; write.open("order.txt"); ...
[2 replies] Last: It works but I also want to Include the quantity of overall order like... (by looookster)
by NMI21
Check input for one word
 
Hi, i want to write a program which gives out "Write any sentence" for example. Thats no problem of ...
[2 replies] Last: Thank you this helped me out a lot! (by NMI21)
BattleShip Game
 
Hello guys! Hope everyone is safe and sound! Im a student of Computer Science and engineering and ...
[4 replies] Last: [quote=Handy Andy]The "void" here is old and no longer necessary. Not ... (by TheIdeasMan)
questions + How to Setup VOCE (Voice Recognition API) C++
 
There is an archived post about " How to Setup VOCE (Voice Recognition API) C++". Was the user satis...
[1 reply] : No need to put the link in code tags! https://www.cplusplus.com/forum/... (by JRManx)
April 2021 Pages: 12345... 12
  Archived months: [mar2021] [may2021]

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