Beginners (Page 73)

showing private functions and variables
okay,so i have two classes that inherit from a third class. when i call from class a,it shows me on...
[no replies]
by Sym8
returning index position HELP
my program takes the values from one array and searches for their index position in another array(li...
[8 replies] Last: It will still print only one index even if here several copies of the ... (by MiiNiPaa)
Vector Output Help
I am to write a program where the user is to enter a 5 or more values into a vector and it will outp...
[6 replies] Last: would it be possible to add this code to my existing code and use it f... (by dudeman94)
"Error: class not defined"
Hello! I am trying to learn C++ but I've hit a bit of a brick wall: ...
[4 replies] Last: why do I still need to #include <string> seperatly? Because you shoul... (by MiiNiPaa)
Help with understanding
There's this line of code that I don't understand: int a=0, b=2, c=4; if (a = c-b) cout<< ...
[5 replies] Last: First, a isn't equal to c-b, so why would it cout b? You seemed to ... (by wildblue)
GNU GCC: "syntax error"
Hello, I am working on learning C++ so please forgive me if this is a silly error as I know very lit...
[no replies]
Unsorted Array with functions erroring
Okay, I'm trying to figure out what's going wrong with this program. I thought I figured out the pro...
[7 replies] Last: If modify is going to return the location, the return type can't be vo... (by wildblue)
by vxk
position in statement
The following 2 statements are same right? const std::string& name() const; std::string c...
[1 reply] : Yes. they are same. (by MiiNiPaa)
by elch
HELP!! CHtmlView (vc 10) crahes on destroy
completlely desesperated, because I dont find the error. Need some advice. What I try: Derive a cl...
[no replies]
Trouble With Chars
I have been having logic errors when trying to change a char from a number to an 'x' or 'o' (not num...
[7 replies] Last: Tnaks guys for helping and responding to my questions so quickly! Ill ... (by dodossssssssss)
Help understanding arrays.
How does a multidimensional array work? If I want to create a 2D array, does the computer view it? D...
[1 reply] : Let's say you had an array named ArrayName. You then declare the size ... (by RandomPersonWorking)
Equation loads as a Pointer (Function)
Hi! I'm trying to load this program I wrote which includes switch-case menu, a function and an if el...
[1 reply] : cout << fluidflow << endl; If you mean to print out the result of f... (by wildblue)
main fucntion
why we should use only integer or void for main function why we can't use double or float or other ...
[7 replies] Last: Thank u both of u ! and this conversation has removed everything . No... (by Muhammad Anim)
Efficiency issue
Hi av been workin on this program from yesterday and...
[6 replies] Last: It worked yeah, hurray! yeaaaa. i actually increased the count in main... (by andy1992)
Factorial Problem [Beginner]
Here's the problem: everything works FINE, until you type in 13 or more. Please explain it to me :/ ...
[5 replies] Last: #include <iostream> #include <string> long int factor( int num ); l... (by wscjr1)
by rayb20
class help
What is the c++ keyword to use for a class object to access itself? I can not think of it and sea...
[1 reply] : do you mean this ? (by wildblue)
Loop makes switch's default option appear after any chosen case.
So I'm working on a c project. I had to make a loop that prompts the user to choose between 4 option...
[no replies]
by joshco
function question?
I am looking at reviewing some code and confused as how the sample code works below without using "p...
[7 replies] Last: The top code should have been: void duplicate (int a, int b, int c) {... (by joshco)
Sine Cosine Function
Programmers i need your help. Do you know how to code sine and cosine function without using cmath l...
[2 replies] Last: it's way too complicated. tnx anyway. it helped. (by newton123)
multiple occurrence issue
this is part of the program. i keep getting the same index position for numbers that occur more than...
[12 replies] Last: how do i do this? any thoughts? (by LATCH100)
Pages: 1... 7172737475... 85
  Archived months: [nov2014]

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