Beginners (Page 66)

function and operator overloading
 
i'm fairly new to c++ and i was curious; why have function and operator overloading. i'm finding lot...
[2 replies] Last: Overloading is for functions; not for variables. C does not have over... (by keskiverto)
by gingy
Objects for Classes Not Recognized As A "Type"
 
I'm running into a fairly annoying and somewhat inconsistent(at least as far as I know) bug involvin...
[4 replies] Last: Pointers. (by EssGeEich)
Unexpected errors in base, calling program, struct,
 
Write your question here. 1. #include <stdio.h> #include <stdlib.h> #include <math.h> in...
[2 replies] Last: #include <stdio.h> #include <stdlib.h> #include <math.h> int main ( ... (by kemort)
string basic
 
Hi everyone I am new to c++ so I am having a problem with my string question. i have to determine i...
[4 replies] Last: thank you demonwolf (by ssandha)
Output Memory Address As Binary?
 
#include <iostream> #include <sstream> #include <string> using namespace std; int main() {...
[9 replies] Last: I see, thanks! (by troll warlord)
Loop structure enum?
 
I have to hand write a program using a loop structure (using enum type) What is enum type? What d...
[2 replies] Last: http://www.cplusplus.com/doc/tutorial/other_data_types/#enumerated_typ... (by Peter87)
Are 'if' statements the backbone of all games?
 
This is a non-code question but I still feel that it is a beginner question and worth asking/answeri...
[10 replies] Last: Yes normally 'if' is heavily used. But there're some special cases. If... (by liuyang)
Pointer function (1,2)
 
void getName(char *name), void setName(char *name)--The getName() function shall be defined as a poi...
[20 replies] Last: You have clearly ignored the information that I have mentioned to you.... (by keskiverto)
How do you fix having a black screen output to having a white one
 
After entering the code and starting the program the output has a black screen with white words but ...
[6 replies] Last: Nevermind I changed it now, thanks for ya'lls helps! (by leashbomb69)
C++ How to get 2D array/vectors stored
 
Well I am trying to develop a simple text game, and I am trying to figure out how to get the text fi...
[2 replies] Last: Here is my respiratory which includes all my source code, it is a mess... (by chan 06)
Is while (1); a good way to keep a program up?
 
At the end of my code, I often put this to keep the program from closing: while (1); I u...
[3 replies] Last: > Are there any disadvantages or advantages to this over cin.get and c... (by JLBorges)
find the sum of (1+2+...n)^2
 
I am trying to figure out what went wrong in my formula for sum2. It should be equal to sum1, which ...
[3 replies] Last: (N(N + 1) / 2) 2 Look up Gauss and arithmetic series (by Smac89)
What is wrong with my program?
 
My program is running fine until the very end where I need the time. My professor wants the time to ...
[6 replies] Last: It worked! Thank You!! (by houchinj)
Code for an averaging program
 
So I am trying to write code for a program that is supposed to average up a data set that is given. ...
[2 replies] Last: How about this ? int size; bool quit=false; while(!quit){ cout <<... (by LendraDwi)
please help me understand
 
so i have to write a program that will do either a bubble sort or a selection sort on a previous pro...
[7 replies] Last: Check the file and make sure you haven't got a blank line at the end. ... (by kemort)
My "perimeter and surface area" isn't getting correct values in for loop
 
Write your question here. #include<iostream> #include<iomanip> #include<cmath> using name...
[1 reply] : It is only using the equation for the first "go through", and then usi... (by jon smith)
error C2447: '{' : missing function header (old-style formal list?)
 
I'm using visual studio 2013 win32 console c++ error C2447: '{' : missing function header (old-sty...
[2 replies] Last: There shouldn't be a semicolon for int main Please use code tags - ... (by TheIdeasMan)
Function problem
 
here's the whole program #include <iostream> #include <math.h> using namespace std; doubl...
[3 replies] Last: Too easy :-) The modulo is a bit tougher because it means you can onl... (by kemort)
operator question?
 
Hi everyone, I'm trying to understand a bit of Boggle code that I'm reading... std::vector< std...
[1 reply] : &a_Results is the address of the vector being passed to the Solve func... (by kemort)
Linked list
 
So I'm having a little trouble with trying to make a swap function that can deal with all of the pos...
[2 replies] Last: I don't even know what to say. It never occurred to me to even think a... (by bowlbase)
Pages: 1... 6465666768... 103
  Archived months: [aug2014]

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