Search:

Type: Posts; User: treenef

Page 1 of 16 1

by treenef
Replies
16
Views
7,310

2. Thread: sort array of 3 keys while minimizing the total cost

by treenef
Replies
6
Views
1,362

Try quick sort and count the sorts?

Try quick sort and count the sorts?
3. Thread: sort array of 3 keys while minimizing the total cost

by treenef
Replies
6
Views
1,362

use bubble sort and count the sort.

use bubble sort and count the sort.
4. Thread: Problem with String length

by treenef
Replies
3
Views
868

yes salem is right.

yes salem is right.

by treenef
Replies
40
Views
6,708

Goodbye man. . . You have left behind a legacy ....

Goodbye man. . . You have left behind a legacy . . . First in your family and second in your teachings.

by treenef
Replies
37
Views
5,003

Seems logical.

Seems logical.
7. Thread: iostream not ionstream... :P

by treenef
Replies
3
Views
890

Yes, you can, but I disagree with post #2, second...

Yes, you can, but I disagree with post #2, second part.

by treenef
Replies
41
Views
4,041

An important consideration if you wish to stay...

An important consideration if you wish to stay faithful to the ELS principal is...

'If you take your block of text to be a two dimensional array, then you have to imagine the two vertical edges of...
9. Thread: AI Contest - Minesweeper

by treenef
Replies
93
Views
16,556

I don't think the risk contest would get many...

I don't think the risk contest would get many participants.

Much for the same reason why any chess AI contests have never really been successful. It's a bit too time consuming to create the AI,...
10. Thread: AI Contest - Minesweeper

by treenef
Replies
93
Views
16,556

Only if the program uses a completely random...

Only if the program uses a completely random method to place the tiles. If you design the scramble method to shuffle the tiles as you would on a real-life tactile board, this shouldn't be a problem.

by treenef
Replies
31
Views
2,346

I don't know then.

I don't know then.

by treenef
Replies
31
Views
2,346

By not work you mean? Are you getting any...

By not work you mean?

Are you getting any compiler errors?

by treenef
Replies
31
Views
2,346

No try jawib's code on its own.

No try jawib's code on its own.

by treenef
Replies
31
Views
2,346

File>new>project>windows application>

Type in a name for your file. Then copy and paste your code in there.

by treenef
Replies
18
Views
2,154

by treenef
Replies
18
Views
2,154

I think things are just fine the way they are. ...

I think things are just fine the way they are.

I personally don't like scroll bars in code tags. And as for a [cpp] or [c] syntaxer, you could just write your own.

The only problem I have is...
17. Thread: parsing words out of a string?

by treenef
Replies
11
Views
2,935

I rather like this example from the FAQ ...

I rather like this example from the FAQ

#include <string>
#include <iostream>
#include <vector>
int main(void)
{
std::string numbers_str =...

by treenef
Replies
3
Views
1,410

When you eventually get this far... ...

When you eventually get this far...

Good luck

by treenef
Replies
5
Views
920

#include <cstdlib>
#include <iostream>
#include <string>

using namespace std;

int main()
20. Thread: Intersection between 2 circles

by treenef
Replies
3
Views
5,651

There are, I'm not sure if you already knew this,...

There are, I'm not sure if you already knew this, three possible cases.

Two circles may intersect in two imaginary points, a single degenerate point, or two distinct points.
...
21. Thread: Are you sick of Gaagle.com ?

by treenef
Replies
44
Views
8,271

Where did the extra point come from? I...

Where did the extra point come from?

I thought you were Quzah for a moment there... ;)
22. Thread: minor error need help on

by treenef
Replies
6
Views
841

Try compiling in .cpp

Try compiling in .cpp
23. Thread: minor error need help on

by treenef
Replies
6
Views
841

You might need a cin.get() as well near the...

You might need a
cin.get() as well near the end of main to pause the program.
24. Thread: minor error need help on

by treenef
Replies
6
Views
841

might be beaten to this but here goes... ...

might be beaten to this but here goes...

#include <ctype.h>
#include <iomanip>
#include <fstream>
#include <string>
#include <iostream>

using namespace std;
25. Thread: Writing different bases in C

by treenef
Replies
13
Views
1,159

Where's the fun in that? We wouldn't have so much...

Where's the fun in that? We wouldn't have so much fun nitpicking
other people's code, saying oooh look that's not portable and other stuff ;)

It's the little battles for supremacy which make...
Results 1 to 25 of 383
Page 1 of 16 1