IWETHEY v. 0.3.0
|
TODO
1,095 registered users | 0
active users
| 0 LpH |
Statistics
Login
|
Create New User
Welcome to IWETHEY!
IWETHEY Home
/
IWETHEY Board
/
Theory and Practice of Programming Forum
/
A seasoned C guy
Post #275,048
by
tuberculosis
12/7/06 1:44:02 AM
Reply
A seasoned C guy
would leave the conditions as
for (int k=0; k < (hardcopy ? (MaxHeader) : 1); k++)
Less operations and more like the usual array traversal where to traverse n elements you say
for(int i = 0; i < n; ++i)
[link|http://www.blackbagops.net|Black Bag Operations Log]
[link|http://www.objectiveclips.com|Artificial Intelligence]
[link|http://www.badpage.info/seaside/html|Scrutinizer]
Post #275,054
by
Another Scott
12/7/06 7:30:17 AM
Reply
Ah, so! Thanks.
What's the best way to do this? Loop or do a block 1 time.
- (
Another Scott
)
- (10)
- Dec. 6, 2006, 12:55:09 PM EST
Query...how different is it
- (
Simon_Jester
)
- (3)
- Dec. 6, 2006, 01:04:19 PM EST
There's almost no difference. 1 potential rub though.
- (
Another Scott
)
- (2)
- Dec. 6, 2006, 01:27:24 PM EST
Should you be using Jpeg to save the data at all?
- (
jake123
)
- (1)
- Dec. 6, 2006, 02:07:07 PM EST
They're just pictures for pasting in documents.
- (
Another Scott
)
- Dec. 6, 2006, 02:28:45 PM EST
May not be what you need...
- (
ChrisR
)
- (5)
- Dec. 6, 2006, 04:02:28 PM EST
Neat. I'll have to try that. Thanks!
-NT
- (
Another Scott
)
- (4)
- Dec. 6, 2006, 04:07:16 PM EST
From a purist standpoint...
- (
ChrisR
)
- (3)
- Dec. 6, 2006, 04:19:47 PM EST
I appreciate elegant solutions, but ...
- (
Another Scott
)
- (2)
- Dec. 6, 2006, 10:03:20 PM EST
A seasoned C guy
- (
tuberculosis
)
- (1)
- Dec. 7, 2006, 01:44:02 AM EST
Ah, so! Thanks.
-NT
- (
Another Scott
)
- Dec. 7, 2006, 07:30:17 AM EST
i
we
they
.org
As Ashton noted, it's a good one.
108 ms