Beginners - November 2013 (Page 64)

What does this mean?
 
inline double FittingMod::model(const std::vector<double>& t, const std::vector<double>& p) could...
[2 replies] Last: thank you very much! (by Jesukiran)
by guguli
csv data reading
 
Hi everybody, ich wanna to read a csv data with 8 columns. the Program ask after a number and this n...
[no replies]
Confused about a question of a basic code
 
n=1; while (n<5) { n++; cout<<n<<" "; } The output of the C++ code above is? Idk why the a...
[8 replies] Last: OK, let's discuss the bracket. A while loop in general has this struc... (by Chervil)
string does not name a type?
 
So I've made some classes, and during compilation, I get the error that string does not name a type ...
[2 replies] Last: I'm not sure what this is doing here? I don't see anything wrong wi... (by MikeyBoy)
by wirowi
tables, vectors
 
Hello again! I keep coming back with my silly noobie questions. But I do hope one day I’ll be abl...
[7 replies] Last: Glad it worked out :) (by MikeyBoy)
by mjyz
Calculations Using Functions
 
///
[1 reply] : both those functions (CalcIncomeTax & CalcNetSalary) are never used? (by tath)
Data output to display lines
 
So I've created a program to estimate ln2, and using N=75000, the output file/data is really large b...
[no replies]
by tatay9
Restriction
 
hi guys, i have just one simple doubt i hope you can clear for me, i have a restriction here, and it...
[1 reply] : cin >> doesn't read spaces, use getline instead : cin.getline( nu... (by nvrmnd)
by mjyz
Looping until EOF
 
Why is my output like this instead of all the data being in the table? thanks #include <iostrea...
[4 replies] Last: You have the variables to store the information for one record. You r... (by cire)
File I/O
 
My assignment is: http://gyazo.com/789abb7199aa39c61075e222d8f2c39a I've tried about 4 times star...
[14 replies] Last: Then, you'll have to use dynamic arrays. Let me double-check - are you... (by LB)
Help please if loop
 
Hi i am new at c++ and i am working on a game(text based) i have just started and found a problem i ...
[2 replies] Last: Thanks that helps alot and no i dont really know how to use classes (by Tristan101)
greatest common divisor need help correcting
 
My instructions were to: Write a function int gcd( int a, int b) ; which returns the value of the ...
[4 replies] Last: In that case, you should re-read over the introductory sections about ... (by Zhuge)
Q2.probelm
 
Q.2. is there any reason we can write int numItems; cout << "how many items?"; cin >> ...
[1 reply] : Because the on line 5 is part of the name of the delete operator,... (by LB)
Q.1 problem
 
Q.1.why cant i use new int without pointers for example int numItems; cout << "how many it...
[2 replies] Last: because a pointer points to a set of memory of type what ever type you... (by closed account Dy7SLyTq)
Q4.Problem
 
Q.4.Why is this possible for example const int size=5; int arr ={1,2,3,4}; int *p=arr; in...
[1 reply] : arr is an int, not a pointer, hence you cannot assign it to a pointer... (by firedraco)
string class problem
 
Hey guys, sorry if this is a really really noob question, but i can't find any help in my textbook o...
[4 replies] Last: #include <iostream> #include <string> using namespace std; int main(... (by Yanson)
help please
 
I'm having a problem with the while loop. I want it to continue to loop until the user enters 0 but ...
[1 reply] : Remove the ";" after while(expenses != 0); on line 44. (by crimsonzero2)
by Amarki
Binary Search Tree - Bool Remove Method
 
We have been assigned a Binary Search Tree project for homework and for the most part my tree progra...
[no replies]
Help!
 
My professor just assigned this in class. I have no idea how to even start. Please help me out. Here...
[2 replies] Last: I see. I just read the rules. I will work on it and come back with spe... (by dachain)
odd compile error on SFML
 
I get the error on compiling: ./test2: symbol lookup error: ./test2: undefined symbol: _ZN2sf6Windo...
[1 reply] : It's saying the sf::Window constructor is not in any of the libraries ... (by helios)
November 2013 Pages: 1... 6263646566... 80
  Archived months: [oct2013] [dec2013]

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