Beginners - January 2012 (Page 20)

Help, please!
 
Hello! I got task for some project to do, but I really don't know how to start. If someone can h...
[4 replies] Last: You don't need me to send the whole code, but can you at least explain... (by evelinen23)
Help please! (Strings)
 
When I run my program, why is it not displaying what my color is at the end? #include <iostrea...
[3 replies] Last: Ahahahah oh my gosh! I was ripping my hair out last night. Thanks. (by Matt Cromer)
Libraries Question
 
How do I know which libraries are needed in my program? At first I included five to be on the saf...
[3 replies] Last: RTFM, it will tell you in which header is the function declared. iom... (by ne555)
error: 'oufile' was not declared in this scope|
 
This is the error I'm getting: error: 'oufile' was not declared in this scope I don't understand h...
[5 replies] Last: http://www.cplusplus.com/forum/beginner/59864/ (by Moschops)
error: no match for 'operator<<' in 'outfile << std::setw(10)'
 
I'm not sure what this error means...can anyone help me out? 31|error: no match for 'operator<<' i...
[1 reply] : It means that the compiler does not know what to do when you use a <<... (by Moschops)
could someone explain this code plz
 
Hello, I'm working on a small script that uses the mysql c++ connector. I've got the demo code link...
[3 replies] Last: Thanks for the replies. Peter, that is exactly the kind of response I ... (by brneuro)
by Zanje
Switch
 
im using switch statement i get error on part that i will assign a variable on case..im using a rand...
[1 reply] : Duplicate of http://cplusplus.com/forum/general/59852/ (by Stewbond)
How do I make a double take up a known amount of characters in a stream?
 
So I have the following stream: ss << "TpE:" << setprecision(2) << double(clock() - start_o...
[3 replies] Last: cool, thanks :) (by ausairman)
Program won't read file
 
So I'm having trouble with this program. I have the code below. Basically I first need to read words...
[1 reply] : to open the file it must be located at same place as your program exe.... (by codekiddy)
how to converse string to float without losing precision
 
I am trying to convert a string to float as follows: int main() { string s...
[3 replies] Last: To know why check out: http://docs.oracle.com/cd/E19957-01/806-3568/nc... (by histrungalot)
by Rommy
Add new source files to a project
 
I know that I can use int main () only once. What can I use to the new source file that I would lik...
[2 replies] Last: Thanks codekiddy (by Rommy)
convert devcpp project to vc++2010
 
Well that is my question how to mae that convert is there a fast way? if not what should I look at t...
[1 reply] : 1. create brand new project in MVSC++ 2. copy all your .h .cpp .hpp .c... (by codekiddy)
Pointers and Vectors
 
I have the following program where I am supposed to Implement a class Person with two fields name an...
[1 reply] : The code is compiling but I'm not getting any output. Any suggestions... (by codekiddy)
lost with my c++ code
 
I have updated my code to what i have now. I am no longer stuck in a loop, but my problem now is not...
[3 replies] Last: @jay6390 an example of the input file would be Robert Smith 4 2 1 2 1 ... (by fish1709)
DUE TONIGHT!! Formatting table out to screen for money
 
Here is the code I have now, it should compile. The commented out portion explains HOW it should ap...
[2 replies] Last: That worked great, thanks! (by joshhazel)
Combinations in Arrays
 
Hey Guys, I have a problem where I have been given an array of some size n (Marks ) and I want to g...
[no replies]
Stack Overflow???
 
I coded so nice and clean, but I got a stack overflow error and tried to fix it... for five hours. N...
[4 replies] Last: You have a problem with the way you treat negative numbers. The code s... (by Kaarvan)
Problem with conditions
 
what's the difference between these two because the output isn't the same ... how is the compiler ta...
[7 replies] Last: if( x ) is the same as if( x != 0 ) and x = ... //returns ... th... (by Mathhead200)
Copying or Moving Files
 
Hello. So to start off, I've made a simple program in C# to move a given file into a specified direc...
[6 replies] Last: I see. Well so do you recommend I switch over to visual studios C++ 2... (by pilipino93)
static non-member functions
 
Hello and thank you to any who will answer me. I tried googling before but I'm afraid I'm using the ...
[3 replies] Last: no problem :) (by tfityo)
January 2012 Pages: 1... 1819202122... 48
  Archived months: [dec2011] [feb2012]

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