Forum: Posting Games Dec 4th, 2004 |
| Replies: 7,595 Views: 667,596 |
Forum: Geeks' Lounge Dec 4th, 2004 |
| Replies: 41 Views: 14,654 I remeber my first skateboard was the black Knight(the one with the clay wheels).That was the greatest. Even though you could hit one little pebble while riding it and go end over end.Just to get... |
Forum: C++ Nov 29th, 2004 |
| Replies: 2 Views: 2,982 Try removing optimazation options 0g/ 0i/ 0a. Remove one at a time to see wich one might be the culprit. |
Forum: C++ Nov 28th, 2004 |
| Replies: 2 Views: 1,506 Show me what you have so far. |
Forum: C Nov 28th, 2004 |
| Replies: 3 Views: 2,245 #include <iostream>
#include <vector>
#include <algorithm>
#include <functional>
using namespace std;
int main() |
Forum: C Nov 25th, 2004 |
| Replies: 4 Views: 2,452 That might be because your learning in C++ and dave is responding in C. |
Forum: C Nov 25th, 2004 |
| Replies: 17 Views: 3,287 This is just an example, but demonstrates reading in and outputing to( could be file or whatever) the screen. Enter the numbers you want seperated by a space. when you are finished hit enter then... |
Forum: C Nov 23rd, 2004 |
| Replies: 19 Views: 6,918 Focus on learning the syntax and what you can and cant do. Then study the STL. Spend more time coding and less time writing algorithms.
#include <iostream>
#include <list>
#include <string>... |
Forum: C++ Sep 22nd, 2004 |
| Replies: 6 Views: 2,812 Take a look at this.Maybe It can give you some ideas.
#include <vector>
#include <iostream>
#include <algorithm>
#include <boost/shared_ptr.hpp>
struct Foo
{
Foo( int _x ) : x(_x) {} |
Forum: C++ Sep 14th, 2004 |
| Replies: 7 Views: 4,058 Just another word of advice....dont focus so much on how to write your own functions at this point.Instead focus on the syntax and learning what it is you can and cant do.
Maybe pick up a book on... |
Forum: C++ Sep 14th, 2004 |
| Replies: 7 Views: 4,058 At your request....here's the code.I havent changed it since i wrote it. I like to look back and see how I used to do things....hope this helps ya.
int _tmain(int argc, _TCHAR* argv[])
{
int... |
Forum: C Sep 14th, 2004 |
| Replies: 8 Views: 5,671 int _tmain(int argc, _TCHAR* argv[])
{
int count = 0;
int hyptSquared;
int sidesSquared;
long loopcounter = 0;
for ( int side1 = 1; side1 < 500; side1++ ) {
for ( int side2 = 1;... |
Forum: C++ Sep 14th, 2004 |
| Replies: 2 Views: 3,449 Works for me..you just might want to put
cout << name[i];
cout << endl;
so that the name appears on its own line..makes it easier to read. |
Forum: C Sep 14th, 2004 |
| Replies: 8 Views: 5,671 You need to loop through...hope this helps.
for ( int side1 = 1; side1 < 500; side1++ ) {
for ( int side2 = 1; side2 < 500; side2++ ) {
for ( int hypt = 1; hypt < 500; hypt++ )
... |
Forum: C++ Sep 14th, 2004 |
| Replies: 7 Views: 4,058 Hey there!
Funny, I wrote the same thing awhile back when i first started :) I'll post the code so you can take a look at it. Just change the for loop to the desired number of itterations that... |
Forum: C Sep 13th, 2004 |
| Replies: 1 Views: 2,114 Im thinking of writing( or attempting to write ) a routing program for delivery trucks. I was wondering what the best way to go about this would be? I would like to use zipcodes, but I would also... |
Forum: C++ Sep 7th, 2004 |
| Replies: 14 Views: 5,403 I think what you want is somethng like this...(by the way I looked at your profile so i know you are not a kid working on homework).
#include <iostream>
using std::cout;
using std::endl; ... |
Forum: Community Introductions Jul 22nd, 2004 |
| Replies: 612 Views: 124,628 Hello peeps,
Im ben.Thought I would drop a line to say howdy! Im pretty new to C++ and teaching myself.This forum looks like it could be a big help in my learning adventure.So get... |