Search Results

Showing results 1 to 22 of 22
Search took 0.01 seconds.
Search: Posts Made By: people123
Forum: C++ May 26th, 2008
Replies: 4
Views: 536
Posted By people123
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...
Forum: C++ Dec 25th, 2007
Replies: 9
Solved: Classes
Views: 1,177
Posted By people123
Yeah thanks for the help. Sorry about the mistake
Forum: C++ Dec 25th, 2007
Replies: 9
Solved: Classes
Views: 1,177
Posted By people123
You should use inline functions when declaring them in the class itself, you can do this by simply typing

void SetAge (int age) { return itsAge = age }

so you wouldnt need to use the scope...
Forum: C++ Dec 19th, 2007
Replies: 10
Views: 2,694
Posted By people123
Thanks a lot everyone, it really helped.
Forum: C++ Dec 18th, 2007
Replies: 10
Views: 2,694
Posted By people123
Hello again, I have more questions, and I want to say I am very thankful for your help so far. What I'm wondering is that how come it matters which specific bit is turned on or off? And where would...
Forum: C++ Dec 17th, 2007
Replies: 10
Views: 2,694
Posted By people123
Ok, I think I have a rough concept of how this works, since AND and OR are used as a kind of way for subtracting and adding, does anyone know any links to where I could read up on bits and the whole...
Forum: C++ Dec 16th, 2007
Replies: 10
Views: 2,694
Posted By people123
Thank you for both of your responses, I'm just trying to wrap my mind around the whole bit thing and how a character represents a binary number, and how the 6th bit reverses character case. So, I'm...
Forum: C++ Dec 16th, 2007
Replies: 1
Views: 1,041
Posted By people123
Please use [noparse] around your code.
Thanks
Forum: C++ Dec 16th, 2007
Replies: 10
Views: 2,694
Posted By people123
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...
Forum: C++ Dec 9th, 2007
Replies: 2
Views: 976
Posted By people123
Thanks, I was able to solve it by changing the function to void round(double *num) and the call to round(&i)
Forum: C++ Dec 9th, 2007
Replies: 2
Views: 976
Posted By people123
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
round(i);.

please help.
...
Forum: C++ Dec 3rd, 2007
Replies: 4
Views: 665
Posted By people123
in a normal loop you would have
for( i = 0; i < n; i++)

but in your code the semicolon simply states that it doesnt matter what the first section( i = 0) is.

[edit] What AD said. lol.
Forum: C++ Nov 26th, 2007
Replies: 3
Views: 1,808
Posted By people123
Welcome to C++ (http://www.cplusplus.com/doc/tutorial/introduction.html)
Forum: C++ Nov 12th, 2007
Replies: 3
Views: 1,040
Posted By people123
Yeah, thanks. I think I get it, but only time will tell.
The next program I am dealing with requires me to set up an array with random numbers in each slot, then sort the array from highest to...
Forum: C++ Nov 11th, 2007
Replies: 3
Views: 1,040
Posted By people123
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...
Forum: C++ Oct 28th, 2007
Replies: 4
Views: 2,878
Posted By people123
how should i improve my formatting, can you please give me an example... i just get lost of what has to be where when im writing
Forum: C++ Oct 28th, 2007
Replies: 4
Views: 2,878
Posted By people123
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?

#include <iostream>
using...
Forum: C++ Oct 27th, 2007
Replies: 9
Views: 2,530
Posted By people123
I'm using this for Vista, works fine.

http://www.bloodshed.net/
Forum: C++ Oct 27th, 2007
Replies: 11
Views: 1,167
Posted By people123
Sorry, I read over it but it didn't register. Thanks.
Forum: C++ Oct 27th, 2007
Replies: 11
Views: 1,167
Posted By people123
Thanks a lot, may I ask what was the std:string line; and the getline(cin,line) for?
Forum: C++ Oct 26th, 2007
Replies: 11
Views: 1,167
Posted By people123
For example, if i compile
int main ()
{
int a;

cout << "Hello World";

cin.get();
return 0;
}
Forum: C++ Oct 26th, 2007
Replies: 11
Views: 1,167
Posted By people123
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...
Showing results 1 to 22 of 22

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC