Beginners (Page 77)

Help with functions
 
Hello --- relatively new C++ programmer here (have experience with Visual Basic but not extensively)...
[6 replies] Last: Firedraco --- thanks for the explanation --- it makes total sense now ... (by Mickelplick)
Comparing Two Strings
 
I am a beginner and would like to ask a question My Code: ///////////////////////// #include<io...
[1 reply] : Hi there, You are trying to compare c-strings, which are basically ar... (by NwN)
methods of cin
 
What are the different ways to get user input? I have seen getline(cin, var_name) which gets inpu...
[1 reply] : cin.get() -> http://www.cplusplus.com/reference/istream/istream/get/... (by Fransje)
Duplicate Numbers, Output not right?
 
I'm trying to make a program to input the various amounts of applications put in at a store over 12 ...
[3 replies] Last: Some problems: Lines 6 & 8: x starts at 0 and increases, z starts at ... (by TheIdeasMan)
Finding prime factors of individual numbers
 
I'm trying to display the prime factors of each number between 1 and 100. I can find the prime facto...
[5 replies] Last: /* PRIME FACTORIZATION PROGRAM *//* 60 = 2 * 2 * 3 * 5 */ #include <... (by usandfriends)
by Kovs95
Fun with Functions part 3
 
Write a function titled say_hello() that outputs to the screen "Hello" ★ Modify the function so...
[6 replies] Last: Nevermind about those questions! thanks to all who helped! You all wer... (by Kovs95)
by Thaity
Error Message
 
Hi Guys. I'm doing an assignment for uni, and I'm getting a message I don't understand. I've researc...
[5 replies] Last: Thank-you once again, all input is greatly appreciated. (by Thaity)
help
 
Hi Friends, I am trying to convert a number to its binary form. I have done till here #include<io...
[1 reply] : Please use code tags First of all, 'c' is uninitialized, and you're n... (by maeriden)
Array..tallying numbers
 
so i have an array of 300 numbers. lets say like Tally ; i need to write a code which checks if a...
[3 replies] Last: /* code by usandfriends */ #include <iostream> #define RESET 0 main... (by usandfriends)
function pointer declaration syntax
 
I've seen these two: void (*foo)(int); and void (*foo)(int x); Which is correct? Wh...
[3 replies] Last: I like using one of these: typedef void function_type(int) ; functio... (by JLBorges)
by Pwego
Getting white screen, not working
 
With knowledge from you guys about while and if statements i cleaned up my code to this. while (...
[3 replies] Last: You are not changing 'start' anywhere in that loop. So once the loop ... (by Disch)
by Pwego
Why does this not work!?!?
 
Ok I have a working code which is : //stage 1 (first box) if (!isitem&&!p1&&!p3){ Drawitem...
[no replies]
by Pwego
Having noob problems
 
I have some issues just making a line go up and down on the screen. Instead of keep posting here whi...
[1 reply] : On the contrary, this is a HELP FORUM. You post your problems here and... (by Hotice)
by Pwego
This If and While loop issue
 
I am still really new to c++ and I want to know about these loops so i was experimenting and I saw s...
[4 replies] Last: You could even have in an if-statement a condition that contradicts th... (by Hotice)
Why is my operator erring?
 
I am teaching myself how to overload operators in C++. I have tried the following. #include <cma...
[4 replies] Last: Also, macros are generally dangerous to use, as they don't perform any... (by Hotice)
need 25 programs
 
I need to take printouts of 25 programs made by me on arrays and loops.Can anybody help me by sugges...
[4 replies] Last: Actually try a few of these. They are usually simple programs that wo... (by Stewbond)
Why is the superclass's default constructor being called?
 
I am teaching myself the basics of inheritance with the code snippet below. #include <iostream> u...
[1 reply] : In the constructor of a derived class you should call the constructor ... (by Fransje)
Operator Overloading with Templates
 
Hi! I'm trying to overload << operator and running into an error that says function template partia...
[5 replies] Last: Tried with a forward declaration and still ran into errors. Then tried... (by noisycoder)
by tdk93
fatal error, while input array of char*
 
this is the code---------- int main() { int noOfChefs, noOfEmails; cin >> noOfChefs >>...
[2 replies] Last: You have an array of pointers to char, but they are not properly initi... (by Chervil)
by Marcan
For loop increment condition?
 
Hi everyone, I just stumbled upon the solution to this exercise here: http://en.wikibooks.org/wi...
[2 replies] Last: Thank you. I really couldn't wrap my head around this one, now it mak... (by Marcan)
Pages: 1... 75767778
  Archived months: [dec2012]

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