Beginners - June 2012 (Page 19)

Compiler
 
I was looking for a FREE compiler. The Bloodshed one was last updated in 2005 ? Is this correct ? My thinking is that it Must be out of date ? I'd like re...
[6 replies] Last: Hey Gang, thanks for the Quick and helpful responses ! I'd like to tr... (by beck541)
cin.get()
 
Hello again. I would like to thank everybody for the help. I have another homework question. I need to use the cin.get() in a user defined function. I can ge...
[5 replies] Last: cin.get gives you only one char back http://www.cplusplus.com/forum/ge... (by jorz)
learning OpenGl
 
i recently purchased a couple openGl beginning books so i could begin learning some simple graphics and creating a couple 2d games with the use of SFML.What im ...
[1 reply] : openGL isn't as much about your knowledge about C++ as it is about kno... (by BlackSheep)
Real or not!?
 
Sorry if this doesn't invole with C++ but... this anti virus program "AVG 2012" keeps popping up threats. When I go download a game like secret world from their...
[6 replies] Last: I've always used Norton, good anti-virus program. Never had an issue w... (by Need4Sleep)
C++ why do I get hex number
 
Ok I want to know why most of the time if I program something. In my program, The sometime be a hexadecimal number be on top of my program. http://img225.image...
[7 replies] Last: I just ran this little piece of code: int func() {return 0;} int ma... (by BlackSheep)
True or false?
 
I have a couple of questions but I will atart with this one. My answer is FALSE, because seems to me that this loop will end when j = 20. I need to confirm th...
[2 replies] Last: Thank you very much ! (by scout51)
A spoonerism (1,2)
 
I have this exercise on my textbook but its confusing me, it says: The program must input two words and output their spoonerism e.g Cold Blue is Bold Clue. C...
[22 replies] Last: @soranz No, I didn't say anything about cout and printf. I was talkin... (by CJC0117)
Info on simple_error() help.
 
I'm doing a drill that's says to use simple_error(). I'm having a hard time finding infomation on it. What header is simple_error() from? And how do you use it?...
[2 replies] Last: Thanks. I'm using Stroustrup's book and I must have missed it. (by PETROS39)
inconsistancy reading from file..
 
So this is my second week in c++ and just fooling around with no real motive just trying to become familiar with the language. Im writing a script that reads a ...
[10 replies] Last: i figured out the problem it's really simple or at least i think i hav... (by shevanel)
bundle of errors
 
These errors seem to ask for a header file but it is not logical that x.cpp needs to reference x.h. I am chasing a circle of adding a .h file and having already...
[13 replies] Last: I did some research and figured out that the private/set.cpp file is t... (by forestPeterson)
How do I know I'm ready?
 
What happens if I'm done with the C++ tutorial on the this website or watching a full series of tutorial videos on C++. DO I get a book that I want to be in? Fo...
[5 replies] Last: Yeah I did. I tried out newboston.com youtube C++ tutorial and got mys... (by DetectiveRawr)
Debugging Help
 
#include <fstream> #include <iostream> #include <vector> #include <string> using namespace std; int main() { ifstream fin("friday.in"); ofs...
[7 replies] Last: Wait, this is my new code. #include <fstream> #include <iostream> #i... (by regiice9)
by maroun
fstream, can't find file
 
I copied that file from this website, but the file can't be found. I saved the .txt file in the same folder. I don't know what is wrong... #include <iost...
[5 replies] Last: it's in the same directory If you run your program from an IDE the w... (by Peter87)
Problem with uninitialized local variable error
 
Hey guys I am new to programming and have recently started using C++ for one of my classes. As you can probably tell from the code we are just starting out. The...
[2 replies] Last: Well here is the directions for the problem: ( The class has just star... (by darkguild69)
diference definition of function
 
I have this prototype : void foo (int *& x); void foo (int & x); What is the difference between defining functions like this? Which is more convenie...
[8 replies] Last: @Moschops: Yeah. Wazzak (by closed account zb0S216C)
doubt with map
 
They say the <key, value> pair in map are stored in a sorted order, hence we need to give an valid comparison operator on keys while creating the map.But then, ...
[3 replies] Last: yes, The purpose of using hash is to have insertion O(1), and retriev... (by Harry Potter)
How to return a loop from a function.
 
Hello I have this code: #include <iostream> using std::cout; using std::cin; using std::endl; class CPlayerStats { public: // Const...
[3 replies] Last: health, magic, and stamina are integers :) And what about the max val... (by Lowest0ne)
Difference between while loop and for loop.
 
Hi there ! Can u please tell me about the difference between while loop and for loop?
[5 replies] Last: "for" is just a syntactic sugar for "while" (by rapidcoder)
by leeffm
Visual C++ Studio 2010 error C2011 help
 
i have no idea whats wrong with this Add_Item.h(form2): http://codepad.org/ZNiqXms1 Form1.h: http://codepad.org/qjYgQMon Add_Item.cpp: http://codepad.o...
[17 replies] Last: Your error specifically says that in file stdafx.cpp you are redeclar... (by leeffm)
New comer >
 
Hi all brothers ! I am new in Cplusplus.com So please welcome me.
[3 replies] Last: ... ehm... Hi? (by Splux)
June 2012 Pages: 1... 1718192021... 51
  Archived months: [may2012] [jul2012]

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