Beginners - September 2017 (Page 21)

how to think c++ output about this code
I can't understand the funz function, how I can think this code? i have only this idea: 12 is != 0...
[1 reply] : #include <iostream> int funz(int, int); int main() { std::cout ... (by JLBorges)
Overloading subscript operator
Hi, I would like to overload the subscript operator so that I can use tuples like an array e.g. my...
[3 replies] Last: Another very similar approach. Wrote this out earlier today, but never... (by mbozzi)
student report card and ranking
hello everyone. i would like to ask all of you. is anyone know any source code that help the user t...
[2 replies] Last: thank you very much Handy Andy (by RTsuNa08)
by zxkun
struct not showing the right number
Hi, my struct : student .test is not showing the right result. here is my code: #include<iostrea...
[3 replies] Last: oh fixed, I think my IDE has some issue, it says can not open the file... (by zxkun)
Create a doubly linked list from a singly
How can I create a doubly linked list? I overall understand the concept of the singly linked list b...
[1 reply] : When dealing with linked lists, it is always a good idea to get out a ... (by Duthomhas)
Armstrong numbers checker
I saw somewhere a task to check whether a number is an Armstrong number or not. Armstrong numbers a...
[13 replies] Last: That is a lot harder problem than I expected. You can hack around wi... (by jonnin)
Exit operator overload
Hi there, I am recently writing my own matrix class and I am also overloading the usual operators fo...
[4 replies] Last: Deleting the memory in the destructor is normally the best option if y... (by Thomas1965)
Best way to parse values from a string?
Hi I'm writing some code for the Arduino and wanted to parse some settings that will be inputted. T...
[4 replies] Last: (by Duthomhas)
so something very funny is going on right least to me. when i input a value,it should displa...
[6 replies] Last: Hello Repeater, Yes I did. I coppied the wrong name. Sorry. Andy (by Handy Andy)
Get 2 digits out of an integer
Hello fellas, i want to get out 2 or more digits out of an number, for example 12345 i want to get...
[2 replies] Last: Thanks it worked, meh, just for random things :) (by CosminPerRam)
text file name
I need to enter only the name of a user and automatically put ".txt" in the end of the name to creat...
[4 replies] Last: Thanks everyone! It worked! (by unkinkedash)
can any one explain me more about arrys?
how can i write past the end of an arry
[5 replies] Last: thanks that was helpful (by Mehari belay)
Overloaded >> Operator i n Rational Numbers class
I'm a fairly new learner of c++, trying to get my head around overloading the >> operator for an ass...
[1 reply] : This seems to work: // I'm a fairly new learner of c++, trying to ge... (by Enoizat)
How to fix this?
The output is, the selection is keep appearing. Also, I already put system("CLS"); in the case 0 th...
[5 replies] Last: Move lines 32 to 37 above the while loop (line 29). (by coder777)
A little program
Hello! I tried to make a little program but i can't understand why it doesn't start correctly, the ...
[11 replies] Last: i can make my others programs to work too now, i think that i checked ... (by Inpachi)
Trouble reading from file
Hey guys, I'm trying to display the contents of multiple files but it will not open any of them. I ...
[4 replies] Last: It won't let you put it there because no application has any business ... (by Duthomhas)
September 2017 Pages: 1... 192021
  Archived months: [aug2017]

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