Beginners - September 2020 (Page 9)

Mistake in a counting-corrector
 
Hello! I am learning how to use c++, but I just got into a problem that I can't solve. Somebody, ple...
[1 reply] : = is for assignments. == is for comparisons. (by Peter87)
Help with code (1,2)
 
I need help, my code is just not working and I've tried everything to make it work. I've been at thi...
[20 replies] Last: I think I know where the abuse came from. But you're OK sheeppuspus, ... (by againtry)
For loop problem
 
Hello guys It's just a registration form for which I am taking a person name and the person phone...
[14 replies] Last: @Furry Guy - yes you're right about your code limitations. Consider: ... (by seeplus)
by romey
Code not outputting correct value if input is invalid.
 
I'm writing a Roman numeral to Arabic number converter. Its mostly working - just a small hiccup....
[10 replies] Last: Ah. going the other way is a pain. but there are only a few thousand ... (by jonnin)
Address of array in C
 
Hello, I execute the below code and the result is: 10353140 - 10353140 - 10353156 - 10353...
[2 replies] Last: Arrays are not pointers. The type of a is int . Notably, it is ... (by mbozzi)
Visual Studio Question
 
When I'm editing .cpp and other types of files using *other tools*, Visual Studio frequently starts ...
[2 replies] Last: Thanks, that helped. i got visual studio out of the "open with" list a... (by lbrandewie)
Print elements of array of void pointers
 
Hello, How can I fix this? I want to print all data in this array. # include <stdio.h> int ma...
[4 replies] Last: Hello Shervan360, # include <stdio.h> int main() { void* myPointe... (by Handy Andy)
by mikeyb
Help with coin code
 
Hello, I am looking for some help with this issue I am having, I think its something to do wit...
[4 replies] Last: Why the brackets around the numbers? You don't need them. quarters ... (by seeplus)
by Nergis
uninitialized local variable 'guess' used how to fix it!
 
It says C4700 uninitialized local variable 'guess' used. i dont get it, how do i fix it please help!...
[2 replies] Last: Thanx alot! Fixed it :D (by Nergis)
by Mif
How to retrieve data from a text file? (1,2,3)
 
Okay, Here we go again.. same code but I added the function retrieveData. Works like for a 50%, cau...
[56 replies] Last: I've had occasions where removing eof() would mean restructuring the c... (by zapshe)
comma operator
 
Hi, I am learning the comma operator, and I am going through a problem which uses it, but I am havin...
[15 replies] Last: Now we can add incoherence to the incompetence. As a face-saving attem... (by againtry)
by booood
C++ class to create a new type Boolean with the two values F and T defined.
 
Use a C++ class to create a new type Boolean with the two values F and T defined. Use the C++ class...
[3 replies] Last: https://www.chegg.com/homework-help/questions-and-answers/1-use-enum-k... (by againtry)
Update data in a file and Delete Data In a file
 
Hello Every one i hope every one is doing well:) i write a program for banking in c++ it is a s...
[8 replies] Last: Hello Saleem c Can you please provide a me an example are solid mater... (by adeel zamann)
Accessing array elements using pointers or subscripts?
 
Hello, Which is faster? Accessing array elements using pointers or subscripts? Thanks ...
[2 replies] Last: Compiles to the exactly same thing. @Shervan80, Consider making http... (by mbozzi)
Modern C++ Example on a class
 
Hello, I'm trying to figure out how code is recommended to write with the C++17 standard. I am revi...
[8 replies] Last: While that backs the theory of these keywords I have seen other posts... (by mbozzi)
by yup2
Replacing letters in a string by other ones
 
Im having trouble replacing letters of the alphabet with one and other, for instance: A->E ...
[3 replies] Last: Also: #include <iostream> #include <string> #include <algorithm> u... (by seeplus)
by CeErre
printf - Pulling multiple variables in one line
 
Hey Guys, I'm a noob programer. Im tryin to figure out how to pull multiple variables into one li...
[5 replies] Last: It is worth noting that to concatenate literal strings, they just need... (by seeplus)
arrays - right index changes faster??
 
Hello, I am reviewing arrays, and in my book it says "2D arrays are stored in row - column matrix, w...
[6 replies] Last: This has now become a joke. The comment about speed relates to the rel... (by againtry)
repeating inputs
 
im having problems where it still considers my last input for example factorial of 5 = 120 factori...
[2 replies] Last: Thanks it fixed it :) (by paper01)
Best C++ Course
 
Hello All, Can anyone suggest me the best c++ course, I want to learn C++ programming online. I have...
[7 replies] Last: @Adisharma, By all means make your own mind up. On this website there... (by againtry)
September 2020 Pages: 1... 78910
  Archived months: [aug2020] [oct2020]

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