Forum: C++ Jan 24th, 2009 |
| Replies: 7 Views: 386 I agree, VS has the greatest debugger. The UI is not bad also, also alot of customization to your liking. |
Forum: C++ Jan 23rd, 2009 |
| Replies: 4 Views: 504 I believe you can google an article out there, there are many.
Very brief info about them.
When you create an object in the stack, the object will be deleted at end of the scope. When you create... |
Forum: ASP.NET Jan 15th, 2009 |
| Replies: 3 Views: 883 Hello, Im new in ASP.NET and have been reading about state management and have a couple of questions, it be great if someone could help me understand.
Im having trouble understanding the use of... |
Forum: C++ Jan 15th, 2009 |
| Replies: 5 Views: 424 Thanks for telling us your assignment, what do you want us to do? |
Forum: C++ Nov 8th, 2008 |
| Replies: 5 Views: 949 When it comes to actual programming it is very easy. The main issue as sillyboy mentioned is understanding the concept of the game.
Since you are a beginner try thinking what are the classes... |
Forum: C++ Nov 7th, 2008 |
| Replies: 14 Views: 1,525 I hope you didn't take this literally. |
Forum: C++ Nov 5th, 2008 |
| Replies: 14 Views: 1,525 If you really like this site well enough you would read the rules.
No code = no work = no help. |
Forum: C++ Nov 5th, 2008 |
| Replies: 2 Views: 337 Think of the connect 4 as tic tac toe but different algorithm in finding the winner.
1-You would print the board
2-prompt player 1 for position on the board he wants
3-Let player 1 have 'X' and... |
Forum: C++ Nov 4th, 2008 |
| Replies: 3 Views: 683 Yes, you can make this without using other libraries and yes it would turn out to be a long if statement. |
Forum: C++ Nov 4th, 2008 |
| Replies: 3 Views: 683 Is relatively simple.
You can output a 5x5 board and label each box as coordinates.
Then you take turns asking for user input -- given at least 2 players play.
00 01 02 03
10 11 12 13
20 21 22... |
Forum: C++ Oct 31st, 2008 |
| Replies: 6 Views: 545 No code = no effort shown = no help. |
Forum: C++ Oct 20th, 2008 |
| Replies: 9 Views: 705 If you knew you should, why didn't you?
One of the rules is if you show no work = no help. |
Forum: C++ Oct 15th, 2008 |
| Replies: 3 Views: 656 Perhaps you can prompt the user how many students and how many grades each student will they input so you know how much to allocate your arrays.
you know how to calculate avg right?
use a for... |
Forum: C++ Oct 5th, 2008 |
| Replies: 3 Views: 303 Threading is running multiple processes at once.
or translated, a program doing multiple tasks at the same time.
Because doing multiple things at the same time may affect certain things such as... |
Forum: C++ Oct 5th, 2008 |
| Replies: 28 Views: 2,719 |
Forum: C++ Sep 28th, 2008 |
| Replies: 3 Views: 394 C++ Without Fear was my 1st C++ class textbook and C++ Primer.
For a little intermediate try
Scott Meyer books and Professional C++.
Pretty helpful. |
Forum: C++ Sep 26th, 2008 |
| Replies: 5 Views: 1,436 Perhaps you can put an error reminder that the person is inputting 0 as a account balance and output a message to the user if this is what they want to do.
For the interest problem is 4% each year... |
Forum: C++ Aug 18th, 2008 |
| Replies: 3 Views: 400 We'll start on it right away sir! |
Forum: ASP.NET Aug 17th, 2008 |
| Replies: 1 Views: 1,668 I am a beginner in ASP.NET, have been reading ASP.NET 3.5 unleashed.
I was wondering if there is a site or any cool exercises/projects that is good to do using ASP.NET so I can get more practice. I... |
Forum: C++ Aug 17th, 2008 |
| Replies: 11 Views: 1,068 my main source file just activates the getdata and the rest is run from the class file.
What I ultimatly want it to do is create a single vector that containes both the students first & last name... |
Forum: C++ Aug 16th, 2008 |
| Replies: 11 Views: 1,068 Classes are same as structs with the exception of default private and public. |
Forum: C++ Aug 5th, 2008 |
| Replies: 2 Views: 418 You should have a separate function to sort the linked list.
Selection sort should be fine, what didnt work out?
Have a node call LowestNode and have equal to the head of the list and iterate... |
Forum: IT Professionals' Lounge Aug 1st, 2008 |
| Replies: 13 Views: 1,676 I think about this too. I really want to experience work related programming and not school related.
Ive found this to get a picture... |
Forum: C++ Jul 31st, 2008 |
| Replies: 22 Views: 3,661 Why are you tackling a big project if you haven't used C++ at all and even find Java difficult? |
Forum: C++ Jul 30th, 2008 |
| Replies: 4 Views: 4,468 He wasn't being a jackass. Most of his errors are syntax errors and the compiler is more than enough to give a clue what is wrong and even specifies the line number. This shows the poster the lack... |
Forum: C++ Jul 26th, 2008 |
| Replies: 2 Views: 340 You can easily google STL vector information/documentation/library and learn from there.
Here are some basic features.
Vectors are similar to arrays but they are not fixed sizes, they can grow.... |
Forum: C++ Jul 24th, 2008 |
| Replies: 4 Views: 1,658 An array can not be able to grow in size, it is fixed. |
Forum: C++ Jul 24th, 2008 |
| Replies: 5 Views: 527 int a = 10;
a is an integer with value 10
int* b = &a;
b is a pointer to an integer which points to the address of a
int c = 4;
c is an integer with value 4
int* d = &c; |
Forum: C# Jul 5th, 2008 |
| Replies: 2 Views: 1,202 Hi, I am relatively new to C#.NET and I was wondering if the garbage collection is similar to Java.
I am developing a windows form application and I am dynamically making new buttons, will they be... |
Forum: C++ Jun 24th, 2008 |
| Replies: 1 Views: 598 Hello everyone,
I am new to maps and I have a simple question.
I have a map that stores a string as key and the data I want a map<int, int>
so my syntax is
map<string, map<int, int> test; |
Forum: C++ Jun 21st, 2008 |
| Replies: 9 Views: 670 Oh I see,
multiply the polynomials and store the newly valued exp and coef in a new map?
Ill give it a shot and let you know. Thanks!
As for the division, I am not required to do it. |
Forum: C++ Jun 21st, 2008 |
| Replies: 9 Views: 670 I have to add/subtract/multiply 2 lines of polynominals
say line 1 is
x^2+3x+3
line 2 is
3x^2+4x+4
adding would be
4x^2+7x+7
and so on... |
Forum: C++ Jun 21st, 2008 |
| Replies: 9 Views: 670 Yeah is the first one.
x^2 + 9x - 10
c = 1, exp = 2
c = 9, exp = 1
c = 10, exp = 0 |
Forum: C++ Jun 21st, 2008 |
| Replies: 9 Views: 670 Does it still involve using maps? because I have to use maps. |
Forum: C++ Jun 21st, 2008 |
| Replies: 9 Views: 670 I am using Maps from the STL to insert a polynomial.
The Key is the exponent and the data is the coefficent.
Basically I want to add/subtract and multiply them.
I have the addition/subtraction... |
Forum: C++ Jun 20th, 2008 |
| Replies: 6 Views: 715 SimpleCat :: SimpleCat(int age, int weight):
itsAge(age), itsWeight(weight) {}
It is defining Simple Cat's 2 parameter constructor. It is setting the age and weight. This is the more efficent... |
Forum: C++ Jun 20th, 2008 |
| Replies: 7 Views: 2,641 Basic difference is
C++ is Object Oriented with classes
and C is not. |
Forum: C++ Jun 16th, 2008 |
| Replies: 2 Views: 372 Hello everyone,
I have this project where I have to convert a declaration into English word.
If it reads this line(assume no spaces are used)
void*(*z) (char, int (*)());
my output would... |
Forum: C++ Jun 14th, 2008 |
| Replies: 10 Views: 819 As for the array for holding the line count.
I was thinking go through the input file to determine number of lines.
Then allocated an array of int of that size to each node.
Would that be a... |
Forum: C++ Jun 14th, 2008 |
| Replies: 10 Views: 819 So as I go through each word, I insert it into the linked list lexicographically.
So it makes the search little faster and at most it will take N time if the word begins with Z.
So I would... |