Beginners (Page 96)

input/output files please help
 
I have to write a program that reads in a large amount of data (7 columns) and then calculates the v...
[1 reply] : You never read any data in from your file which I believe you meant to... (by Keene)
by ci one
interpolating vector indices algorithm
 
Hello, What I try to accomplish seems difficult to explain in abstract terms, so I'll jump right ...
[no replies]
How do I work out the range of user input? (min/max)
 
I am trying to extend this piece of code I have written by also working out the range of the 6 numbe...
[2 replies] Last: What you just typed means nothing to me, guess I still have a long way... (by SgtSilock)
by Nebur
Question about data container 'map'
 
Don't you need to set the size of the map? I saw a code where typing m would create the element ...
[1 reply] : Map's operator will actually create an element with that key if it d... (by Disch)
Classes constructors and getter and setter
 
I tried to create an example to practice classes and I am a little bit confused. As I understood: ...
[4 replies] Last: Yes it's obvious protected: int health in c++ instead of what I wrot... (by Victor89)
file reading doubt
 
i am going to be searching for a record in seven different .dat files is some thing like this possi...
[8 replies] Last: yep the errors occured as both had the same name added an 's' and the ... (by bilgramiraza)
File handling problem
 
Write your question here. Hey Guys I am Atta. Please help me. My program is about file handling...
[2 replies] Last: ok Thnaks, I'll check and tell you back. (by Atta Ur Rehman Akbar)
Program20
 
Hello, I had this exercise: Read a sequence of doubles into a vector. Think of each value as the d...
[10 replies] Last: OS makes no difference. It seems like you type the g++ Look up... (by keskiverto)
Representing "word" as hexadecimal
 
I have a homework assignment where i am meant to write a function based on the code below, that prin...
[2 replies] Last: std::ostream is the standard write out character stream in C++, in y... (by megatron 0)
by ferrad
Bit masking question
 
I have a 32 bit status flag. The first 8 bits (0-7) signify a warning if any are set, while the hig...
[2 replies] Last: ok thanks (by ferrad)
by ferrad
string copying
 
Could someone please explain why: errormsg = "error loading dll"; makes a copy of er...
[1 reply] : Could someone please explain why: errormsg = "error loading dll";... (by MiiNiPaa)
My program won't calculate the average.
 
So my teacher gave us this assignment today and he wants us to use functions to be able to pass valu...
[3 replies] Last: Thanks a ton kemort and keene! Something so simple that just slips thr... (by rddscalif)
Why does my calculator code work when I run it improperly?
 
Write your question here. I was trying to make a calculator program, and while this code works when...
[3 replies] Last: Thanks for your help guys. Any suggestions on how I could make the pro... (by Jansel3)
Smallest & Second largest
 
I want to write a program that prompt the user enter a number continuously, until the user enter zer...
[12 replies] Last: oh men, theres a lot people commented in this thread (by Lorence30)
Invalid Input Check....
 
Heres the Problem: Write a program to gauge the rate of inflation for the past year. The program ask...
[3 replies] Last: #include <iostream> #include <cstdlib> using namespace std; int main... (by shadowCODE)
by csharp
vector array function question
 
came back with other question about vector array function I am writing. I need some hints on how to ...
[17 replies] Last: Thanks, I hope this will work even if the interesting function is deal... (by csharp)
by bea456
how to put addition,sub,multiply, and division
 
Hello, I need help adding, subtracting, multiplying, and dividing two fractions. It should show ...
[7 replies] Last: I need help adding, subtracting, multiplying, and dividing two fracti... (by cire)
can't seem to find the error...in the code
 
after entering the roll no i have to press enter twice to get the program to ask me for my id. Why ...
[1 reply] : The problem was with the cin.ignore(); after entering the roll no. (by omkarborkar95)
Help with Functions!!!
 
Can someone help me with my code, I keep having issues in several lines. This is what I wanted to ...
[2 replies] Last: You need to remove "return 0" from line 85, it doesn't belong there. ... (by art1986)
OS-X Xcode Question, as well as code.
 
I have to write a program as an assignment homework that outputs from a textfile as infile, the Low ...
[2 replies] Last: Thank you, that was the issue. For some reason XCode compiles the exec... (by sparkler17)
Pages: 1... 9495969798... 132
  Archived months: [sep2014]

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