Beginners (Page 57)

Three function prototypes
I am not sure I understand the question. I am being asked to write my initials using *, but each let...
[1 reply] : What is the question and do you have any code so far? (by closed account 2LzbRXSz)
constructors & destructors
well my question is theory based that why aren't constructor and destructors inherited from the base...
[8 replies] Last: Compiled it in codeblocks, thanks for the answer. Made me aware of the... (by crazya2)
by Jhax
Really Weird Character Array Output
Hey guys, So I'm doing a simple tictactoe class and one of the functions in the class is p...
[5 replies] Last: Look closely at this snippet: tictactoe::tictactoe() { char spaces ... (by jlb)
Overloading & inheritance
My question is that if i overload an operator in the base class will that overloaded operator functi...
[1 reply] : change operator with member function, ┬┐do you still have the doubt? ... (by ne555)
by ynotmi
Programming with LINES and Printing
I am a 66 year old guy who wanted to Buy an APP only to find out they cost between $5000 to $8000 bu...
[9 replies] Last: KUNZ Absolutely! BUT I have been working on just getting the pr... (by ynotmi)
by Jyrz
Switch object focus in QT
I'm trying to make a simple project where I move two rectangles on a screen at the same time with di...
[1 reply] : Subclass QGraphicsScene and detect your keypress(es) there. (by norm b)
read total number of words from a text file
When I write my program. I can get total number of words+1. So in order to get the correct number, I...
[3 replies] Last: Your input data has a newline (as it should) after the last word. Whi... (by keskiverto)
by csbach
string compare with the alphabets
I did all of it, it's just that I don't know why the string won't compare with the letters, :/ ...
[8 replies] Last: #include <iostream> #include <cctype> #include <cstring> using namesp... (by csbach)
Reversing a word
so the program i am trying to create takes whatever word you enter and reverses it using the functio...
[1 reply] : .at() indexing is like subscript (array ) and as such will be 1-off fr... (by Texan40)
problem finding the largest number in a vector
I am self teaching myself c++ as a result of that i dont have any peers to help me with any problems...
[2 replies] Last: I was trying to think of different ways and I came up with that origin... (by sevengreen7)
Can't read file
Hi there, So, I'm trying to read a file, but the file isn't opening... I have no ideia why, can't...
[1 reply] : I have the file "t1" in the correct directory. Are you sure. The fil... (by Peter87)
Saving strings from a text file to a array
Hello. I need help associating the strings of a text file to an array. So I have this code: #...
[4 replies] Last: There can be multiple records, ok I will try what you sugested. (by PedroFr13)
Magic Dates in C++
I have to write a program that asks the user to enter a month (in numeric form), a day, and a two-di...
[3 replies] Last: Do you mean you want the program to stop instead of to continue to the... (by NutHoofd)
Why I am getting "Unhandled Pointer exception"
I am trying to implement trie structure for dictionary implementation in c++. I am running into unha...
[5 replies] Last: Cool, got it, thanks @cire. (by funprogrammer)
problems with running a counting program
I want to write a program that reads at most 100 integers between 1 and 100 and counts the occurrenc...
[7 replies] Last: problem solved, thanks a lot. (by htyeung)
C++ calculator error.
Im currently new to C++ and im currently trying to make a basic calculator, but i seem to get some e...
[4 replies] Last: Thanks for the help i'll try that out :) (by Stephan Buhl)
i need an example of an oop code which includes 4 concepts
I am suppose to write a simple code that covers top 4 concepts of OOP (Object Oriented Programming) ...
[1 reply] : What do you think these top four concepts are? And how about showing ... (by andywestken)
I am stuck and mega confused
I am trying to write a program that uses a user defined function. It will prompt the user to enter a...
[2 replies] Last: for (int x = 1; x <= h; x ++) { { for (int y = 1; y <= w; ... (by kemort)
Question about Reversing a String
For my homework assignment, I'm suppose to be manipulating an input, and I'm currently stuck on the ...
[no replies]
by rathom
Global Replacement of cout
I have a program with lots of couts. Now I'm wanting to save the output to a text file, so I need to...
[3 replies] Last: Are you aware that you can redirect stdout/cout to file when you run t... (by Peter87)
Pages: 1... 5556575859... 72
  Archived months: [apr2015]

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