Beginners - March 2018 (Page 23)

overloading << operator
 
Hi guys, I'm trying to overload the << operator for my book class but to no avail it must be someth...
[3 replies] Last: the reason I have a default ISBN is if the user enters a wrong ISBN w... (by jlb)
Dynamic array vs array on stack
 
Hi guys I have come to learn that the first example is not good practice and on some compilers will ...
[8 replies] Last: very true keskiverto abstraction comes in very useful at times (by adam2016)
by Vinh11
Frequency of random generated 30 numbers from range of 0 to 9
 
I have been attempting to finish one of my codes for homework I got the list to work listing o to 9 ...
[4 replies] Last: Thank you Icy1 I finally figured out what occurred by using yours as a... (by Vinh11)
by RCE11
How to square a matrix
 
Write your question here. I have the code which creates the matrix, but I am having trouble squarin...
[8 replies] Last: How does one multiply two matrices? (In math.) (by keskiverto)
Initiallization Issue in Project
 
Hi all, I'm currently teaching myself C++ and have been working on a project using ncurses and ve...
[4 replies] Last: I've tried to use your example. I've change the code for the class as ... (by B3gin3r)
Calling Functions in main()
 
i have this project for my class that i am having a few syntax errors with. the whole story of the...
[4 replies] Last: Hello dragonxalli, As I started working with the program I noticed th... (by Handy Andy)
Finding Prime numbers with boolean function
 
I am trying to find the prime number from the function isPrime. If the number is prime it will give ...
[2 replies] Last: it is still giving me the same problem, i am getting false when i inpu... (by irfantz)
using types from other projects
 
Hey guys I have been trying to fix this problem for over an hour now,I have researched it and tried ...
[2 replies] Last: thanks repeater,I forgot the <> brackets are used for the compilers in... (by adam2016)
error C3861: 'paint_Menu': identifier not found
 
What do this error means int numInList; void addName() { if (numInList < MAX) { ...
[4 replies] Last: @Repeater Okay.Thanks for guiding (by mister2018)
substitution Cipher
 
Hi everyone, I am a complete novice to C coding and Programming. I have the task below and I have ab...
[3 replies] Last: fun little assignment you got there. Try things out! Even tiny incre... (by icy1)
Why can't my base class pointer work the same way as a basic pointer?
 
Hi! As the title why can't my base pointer work the same way as a normal pointer? In other words...
[2 replies] Last: Slice and dice 'em. is not equal to this? That example of yours h... (by keskiverto)
Microsoft Visual Studio Wont output my code
 
Hello very new to using Visual Studio. I have Microsoft windows 10 64 bit, as well as the latest ver...
[7 replies] Last: That's because you've programmed it to do that. I can't tell you the ... (by Repeater)
by Yago
read / write txt files on the internet
 
Hi friends, first of all I would like to apologize for my bad English ... it's not my mother tongue ...
[4 replies] Last: Thanks friend! I am moved by your willingness to help me. I owe you. (by Yago)
Segmentation Error
 
Can anyone explain to me why I'm getting a segmentation error here? I haven't worked with pointers m...
[1 reply] : The member variables in class Date will remain uninitialized. In the c... (by coder777)
Deleting dynamically allocated memory
 
How would I delete a pointer to an int? class { int* thing; } class:class() { thing = new int; } ...
[1 reply] : If you new you delete, what you new you delete . (by jlb)
Need help writing a program for multiplication with for loops only
 
I am trying to write a code that will do multiplication with for loops using ++ and -- functions onl...
[2 replies] Last: Thank you so much for the help it worked. (by getch1531)
Struct and nested structs
 
I'm having trouble how to figure out this problem I'm assigned. When I'm referencing the code I keep...
[5 replies] Last: Update pt. 2: Okay I figured out the error part, but now that the pro... (by CoderParzival)
File input/output help
 
confused on where I went wrong, plz help. #include <iostream> #include <fstream> #include <st...
[2 replies] Last: thanks, I found my mistakes (by JSchaeffer4515)
sex+age
 
I'm writing a car insurance code for class, in which the program takes into account the users sex an...
[12 replies] Last: That's a simple mistake that I missed. Thank you for point that our fo... (by trenton11)
Visual Studio 2017 Issue
 
Hello, after countless hours trying to figure out why my code is not working correctly i have decide...
[2 replies] Last: Did you look at the screencast video? The menu pops up, i select displ... (by nickb24)
March 2018 Pages: 1... 2122232425... 29
  Archived months: [feb2018] [apr2018]

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