- Upvotes Received
- 0
- Posts with Upvotes
- 0
- Upvoting Members
- 0
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
11 Posted Topics
Hello, I have recently installed Microsoft Visual C++ 2005 Express Edition, and right off the bat when trying to make a new project I find myself unable to make a Win32 Windows Application, when I go to check the bullet that says "Windows Application", the option is grayed out. I … | |
Re: You should use inline functions when declaring them in the class itself, you can do this by simply typing [inlinecode]void SetAge (int age) [b] { return itsAge = age } [/b] [/inlinecode] so you wouldnt need to use the scope operator later with the [inlinecode]int Cat::[/inlinecode] in front of the … | |
I came to a point in my C++ book where I have to start using bitwise operators, such as &, ^, and |. I have a hard time grasping the concept of exactly how do I manipulate bits, the following example supposedly "turns off the 6th bit", therefore inverting the … | |
Re: Please use [noparse][code=c++][/code] around your code. Thanks | |
Here is my code, it is suppose to take the double num, round it, and return it using call by reference, but when i try to compile it gives me an ambiguity error at [inlinecode]round(i);[/inlinecode]. please help. [CODE=c++]#include <iostream> #include <cmath> using namespace std; void round(double &num); int main() { … | |
Re: in a normal loop you would have [inlinecode] for( i = 0; i < n; i++)[/inlinecode] but in your code the semicolon simply states that it doesnt matter what the first section([inlinecode] i = 0[/inlinecode]) is. [edit] What AD said. lol. | |
Re: [URL="http://www.cplusplus.com/doc/tutorial/introduction.html"]Welcome to C++[/URL] | |
So I am learning arrays, and i was given a piece of code in my book here which basically finds the average, min, and max value of a set of numbers, but the thing i don't understand is, when you are finding out the min and the max why you … | |
So after a day or two of trying i finally found out how to do this, my question is, is there any way to do this that is more efficient without using the prime function? [code]#include <iostream> using namespace std; int main() { std::string line; int i, p, x; for(i … | |
Hi, I am new to C++ and I joined this forum with hopes of learning as much as i possibly can about the language. This seems like a nice place with a mature community. I bought a C++ book and I'm just now learning the basics such as goto, for, … | |
Re: I'm using this for Vista, works fine. [url]http://www.bloodshed.net/[/url] |
The End.