Beginners (Page 77)

Classes...segmentation fault printing
 
I am so confused....why is there a segmentation fault printing out after the entire program runs? Di...
[10 replies] Last: are goto statements that bad tp make my professor "vomit"? Short a... (by AbstractionAnon)
by amagr
Exponent Output
 
Hey! I want to know how to output numbers in exponent. with cout<<scientifix<<100.0; it works. But ...
[3 replies] Last: Thank both of you. (by amagr)
Without using decltype
 
How would you write the following without using decltype? multiset<Sales_data, decltype(comp...
[2 replies] Last: Thanks JLBorges (by Fr0zen1)
Should I have a notebook for C++? -Advice wanted
 
I was wondering if I had to maintain a notebook for C++, like writing notes and tips etc. Do you thi...
[5 replies] Last: Thanks for all the advice. (by Wulfinite)
Struct Array result returns nan
 
Hi, I created a program for rainfall calculations. My result somehow for the total rainfall and th...
[2 replies] Last: Your problem is in line 40. . . what values will be passed to your fun... (by PCrumley48)
Importing shared libraries
 
Hi, I'm trying to run my application on a system other then my computer and get a lot of errors of ...
[7 replies] Last: Hi again, so far, I know a little bit more about the functionallity of... (by Binary91)
by thor36
"pow" returns 1, although from maths standpoint it is not correct result
 
Hello all. I have a piece of code that uses the power function "pow", it looks like this : double...
[2 replies] Last: That was it, thanks ! (by thor36)
Calling a fuction
 
I am trying to write a program that calls a another program to round a given a number. The program n...
[5 replies] Last: In the first snippet, you are passing only one parameter on line 15 wh... (by Zhuge)
by clodi
missing ';' before '<class-head>'
 
Hello, VC++ is complaining about something but not sure what it is.. The title shows you what error...
[5 replies] Last: F**K!!!!!!!!!!!!!!!!!!!! Thank you so much.. :) (by clodi)
by kabuki
Template and classes
 
In my book, it describe template as a tool like a stencil. It is very generic and can become any dat...
[2 replies] Last: Okay thanks, I was confuse. I only need to overload operator==. (by kabuki)
Dynamic memory allocation in Table 2D
 
Hi everyone! I allocate memory in 2D table by the method as you see in my code. Program compile goo...
[4 replies] Last: Ok now I solve the problem thx very much my code now looks like this: ... (by martin619)
Convert nested for loop to nested do while loop
 
I am trying to convert a nested for loop that prints a right triangle into a nested do while loop, a...
[1 reply] : Holy cow, I finally got it! I realized one of the issues was that I n... (by elliott22)
When should i use the "this" pointer?
 
I know the pointer returns the instance of a class but.. the thing i don't understand is when i shou...
[2 replies] Last: The this keyword is also useful if you want to pass the object to a fu... (by Peter87)
returning multiple values from a function
 
hi, im trying to pass 3 variables from a function to main() but only the very last variable is being...
[3 replies] Last: i got it, thanks for your help. (by Wilderness)
when should I move from one chapter to another
 
Hi guys.i spend a lot ofstime reading c++ books.more than 10 hours per day. And I can read 2 chapte...
[4 replies] Last: thank you all for your your help! (by xxgixxx)
by Walnut
Adding libraries
 
Hey there! I'm a very beginner programmer, and I know basic C++. But the problem I always seem t...
[5 replies] Last: Wow thanks so much rjvc! That was exactly what I was looking for and n... (by Walnut)
error passing 'const Filesys'
 
I am getting an error line 5 of filesys about passing 'const Filesys' as 'this' argument of std:stri...
[8 replies] Last: Awesome thanks guys think I got it figured out now. Sorry so late on r... (by cory244)
Error reading from file
 
I'm attempting to read from a file that has two lines of data, a date and a weight. It loads the fir...
[2 replies] Last: Anyone see whats wrong? (by FSM Worshipper)
Do-while loop issue
 
Hello, I am sure this is not hard at all but I'm pressed for time...I believe this is good except it...
[8 replies] Last: oh like a Bool ? How would I implement a bool to this? Well, I'm not ... (by helios)
Encryption and decryption with vector and rotor?
 
Im working on this project requiring using vector and rotors to do the encryption and decryption. I ...
[1 reply] : Make a class with a constructor taking the multiplier/divisor and the ... (by ShodanHo)
Pages: 1... 7576777879... 110
  Archived months: [oct2014]

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