Beginners (Page 86)

Operator Overloading
 
Hey Guys I have a question on operator overloading. I need to write an operator >> which suppoused t...
[2 replies] Last: > I need to write an operator >> which suppoused to work with string. ... (by JLBorges)
Using array problem
 
I'm really confused. We are supposed to read in a students id, their 2 test scores and then their 7 ...
[1 reply] : to fix: lines 40...43 change >> students .hw >> students .hw /*...*... (by MiiNiPaa)
by Lehel
Just need some feedback.
 
Hello World! I recently (2 months ago) decided to learn programming and started with C++ and i wo...
[7 replies] Last: I'm trying to write some code that will only accept numbers and number... (by Lehel)
Why am i getting this error
 
I keep getting this error :ambiguous overload for 'operator>>' in 'std::cin >> O' on line 42 ...
[3 replies] Last: thanks freddy92, and good advice JLBorges. Im quite new to programmin... (by JEvans1234)
Explain the use of Pointers?
 
I just started with c++ and when I read about "Pointers" I got really confused. Could somebody e...
[14 replies] Last: This line will only confuse potential beginners even more. It also wil... (by IdivideBy0)
Help to complete the code
 
The assignment: To write a program that accepts the user's order and print the total cost of the ord...
[2 replies] Last: Thanks, let me try this then with arrays and see what I can come up wi... (by the nomad)
Trailer values with class arrays
 
I'm stumped. For some reason when I read the file I only get back weird numbers. The info in the fi...
[1 reply] : I figured it out. I just had to move the count to the end. (by Gawaine)
Getting incorrect reads from file read into array
 
When i run my program i get a long string of numbers and letters when i should be getting normal dat...
[7 replies] Last: Use cout instead of cerr. I prefer use cerr since it flushes immediate... (by tfityo)
Program Keeps Crashing
 
Hello! I'm doing a programming exercise to a. Create an integer array of size 10 using malloc and...
[2 replies] Last: Thank you! I did the edits and ran the program and it's working expert... (by snailtier)
Programming challenge
 
Hello again Cplusplus forum! Thought I solved my last problem with my programming challenge but n...
[4 replies] Last: Thank you! That was a easy fix! (by Anderssinho)
by jzone
Using malloc() to declare structs
 
I am trying to create a linked list using malloc() for a program in C. I have a sentence and I need ...
[no replies]
Insertion Sort problems
 
So I have this program to do where i pull numbers from a very large data file then run it through an...
[no replies]
main() returning void
 
I was asked the other day why it was a bug or problem that main() returned void instead of int. I ha...
[3 replies] Last: http://www.stroustrup.com/bs_faq2.html#void-main i know std c++ requ... (by Catfish3)
by Haze
Writing from struct into a txt file
 
I have some code that reads in the user input into a struct, how ever i want to print this input int...
[6 replies] Last: haha silly question i know sorry, thanks for all the help man! (by Haze)
by Kobe24
String check...!!
 
Hi. I am trying to check that somebody has to write a specific string at the beginning and at the en...
[2 replies] Last: I don't understand the example in the link. How did he check if it was... (by Kobe24)
by Alex91
getline
 
I have been searching online trying to find how I can use getline in my program, but haven't found a...
[1 reply] : http://www.cplusplus.com/forum/windows/48212/ (by kinley)
function not returning values in vector
 
I have a class that has a function that should return a vector. The code runs correctly but nothing...
[9 replies] Last: Got it. Dumb Dumb mistake. I was adding the person to the bachelors ... (by kamarjit)
SDL does any one know why no image is showing??
 
It runs bug free but the output is blank #include "SDL/SDL.h" #include "SDL/SDL_image.h" #...
[2 replies] Last: BOOM, thank you peter, I reckon I should have spotted the bad logic (by devonrevenge)
String concatenation
 
All, i'm working a program that does vector algebra and just trying to add a function that outputs a...
[1 reply] : You should convert m_x, n_y and m_z to std::string. (by vlad from moscow)
by Sam99
Simple(!) problem
 
Whats the difference between these two? Discussion in details will be much helpful for me... #incl...
[1 reply] : There are three difference: 1) storage duration ; 2) scope 3) and link... (by vlad from moscow)
Pages: 1... 8485868788... 137
  Archived months: [mar2013]

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