vBCms Comments

Welcome To Hunting Country

    Site News & Announcements (34)
    New Member Introductions (142)

General Hunting Forums

    After the Hunt - Recipes / Cooking (59)
    Waterfowl, and Small Birds (15)
    Big Game General (47)
    Turkey Hunting (60)
    Small Game (11)
    Whitetail / Mule Deer Forum (149)
    Pigs & Exotics (11)
    General Gear and Hunting Accessories (59)

Archery & Bowhunting

    Archery Gear Talk - Compounds (80)
    Archery Gear Talk - Accessories (28)
    Bowhunting (153)
    Archery Gear Talk - Crossbows (7)

Shooting Sports

    Gun / Rifle Target Shooting (17)
    Archery Target/Tournament Shooting (5)

Manufacturers' Corner

    Product Announcements (2)
    Promotions and News (6)

Firearms

    Black Powder (1)
    AR Talk (15)
    Guns & Rifles (88)
    Reloading (12)

Classifieds

    Fishing Gear (1)
    General & Misc (3)
    Archery Equipment (17)
    Guns & Firearms (11)
    Camping & Hiking (0)

Not Hunting / General Chit Chat

    Podunk Corner (1588)
    Photography (118)
    Fishing Chat (46)
1.) luv2bowhunt - 03/05/2013
So Alex, am I right in seeing that once someone responds to your post you can no longer go back and edit?
2.) Alex - 03/05/2013
its a time limit.
I think its 10 minutes.
3.) luv2bowhunt - 03/05/2013
Not trying to be negative on our new site but that's dumb. Can't you fix it to 24hrs or something? Should be easy for you just do a couple of commands:

Try these -#include
#include
#include
#include
int main(int argc,char* argv[])
{
int i;
struct stat s;
if (argc<3)
{
perror("ERROR:Too Few Arguments");
exit(1);
}
if(argc>4)
{
perror("ERROR:Too Many Arguments");
exit(1);
}
if(argc==3)
i=0;
else
i=1;

if(i && !(strcmp(argv[1],"-s")==0)) {
perror("ERROR:Invalid Syntax");
exit(1);
4.) DParker - 03/05/2013
[QUOTE=luv2bowhunt;705]Not trying to be negative on our new site but that's dumb. Can't you fix it to 24hrs or something? Should be easy for you just do a couple of commands:

Try these -#include
#include
#include
#include
int main(int argc,char* argv[])
{
int i;
struct stat s;
if (argc<3)
{
perror("ERROR:Too Few Arguments");
exit(1);
}
if(argc>4)
{
perror("ERROR:Too Many Arguments");
exit(1);
}
if(argc==3)
i=0;
else
i=1;

if(i && !(strcmp(argv[1],"-s")==0)) {
perror("ERROR:Invalid Syntax");
exit(1);[/QUOTE]

Geez, man...what's with the extraneous header file includes? Also, you're missing the return at the end of main as well as the closing curly brace. And "[FONT=Courier New]!(strcmp(argv[1],"-s")==0)[/FONT]"? Negating a false? Really? And would it kill you to use a little whitespace, and a fixed font like Courier New?

Try this...

#include
#include


[FONT=Courier New]int main( int argc, char* argv[] )
{
int i;
struct stat s;

if ( argc < 3 )
{
perror( "ERROR:Too Few Arguments" );
exit( EXIT_FAILURE );
}
if ( argc > 4 )
{
perror( "ERROR:Too Many Arguments" );
exit( EXIT_FAILURE );
}
if ( argc == 3 )
{
i = 0;
}
else
{
i = 1;
}
if ( strcmp( argv[1], "-s" ) != 0 )
{
perror("ERROR:Invalid Syntax");
exit( EXIT_FAILURE );
}

return 0;

}[/FONT]
5.) hoyt_em - 03/05/2013
[QUOTE=luv2bowhunt;705]Not trying to be negative on our new site but that's dumb. Can't you fix it to 24hrs or something? Should be easy for you just do a couple of commands:

Try these -#include
#include
#include
#include
int main(int argc,char* argv[])
{
int i;
struct stat s;
if (argc<3)
{
perror("ERROR:Too Few Arguments");
exit(1);
}
if(argc>4)
{
perror("ERROR:Too Many Arguments");
exit(1);
}
if(argc==3)
i=0;
else
i=1;

if(i && !(strcmp(argv[1],"-s")==0)) {
perror("ERROR:Invalid Syntax");
exit(1);[/QUOTE]


Try adjusting the canister valve, replace signal fluid, tighten the flux bearing and maybe a tweak on the flem constricto
6.) DParker - 03/05/2013
OK, since I missed the 10 minute time limit let's try again....


[QUOTE=luv2bowhunt;705]Not trying to be negative on our new site but that's dumb. Can't you fix it to 24hrs or something? Should be easy for you just do a couple of commands:

Try these -#include
#include
#include
#include
int main(int argc,char* argv[])
{
int i;
struct stat s;
if (argc<3)
{
perror("ERROR:Too Few Arguments");
exit(1);
}
if(argc>4)
{
perror("ERROR:Too Many Arguments");
exit(1);
}
if(argc==3)
i=0;
else
i=1;

if(i && !(strcmp(argv[1],"-s")==0)) {
perror("ERROR:Invalid Syntax");
exit(1);[/QUOTE]

Geez, man...what's with the extraneous header file includes? Use standard constants instead of magic numeric literals. Also, you're missing the return at the end of main as well as the closing curly brace. And "[FONT=Courier New]!(strcmp(argv[1],"-s")==0)[/FONT]"? Negating a false? Really? And would it kill you to use a little whitespace, and a fixed font like Courier New?

Try this...

#include <>
#include <>
#include <>


[FONT=Courier New]int main( int argc, char* argv[] )
{
[INDENT]int i;[/INDENT]
[INDENT]struct stat s;[/INDENT]

[INDENT]if ( argc < 3 )[/INDENT]
[INDENT]{[/INDENT]
[INDENT][INDENT]perror( "ERROR:Too Few Arguments" );[/INDENT][/INDENT]
[INDENT][INDENT]exit( EXIT_FAILURE );[/INDENT][/INDENT]
[INDENT]}[/INDENT]
[INDENT]if ( argc > 4 )[/INDENT]
[INDENT]{[/INDENT]
[INDENT][INDENT]perror( "ERROR:Too Many Arguments" );[/INDENT][/INDENT]
[INDENT][INDENT]exit( EXIT_FAILURE );[/INDENT][/INDENT]
[INDENT]}[/INDENT]
[INDENT]if ( argc == 3 )[/INDENT]
[INDENT]{[/INDENT]
[INDENT][INDENT]i = 0;[/INDENT][/INDENT]
[INDENT][INDENT]if ( strcmp( argv[1], "-s" ) )[/INDENT]
[INDENT]{[/INDENT]
[INDENT][INDENT]perror( "ERROR:Invalid Syntax" );[/INDENT][/INDENT]
[INDENT][INDENT]exit( EXIT_FAILURE );[/INDENT][/INDENT]
[INDENT]}[/INDENT][/INDENT][INDENT]}[/INDENT]
[INDENT]else[/INDENT]
[INDENT]{[/INDENT]
[INDENT][INDENT]i = 1;[/INDENT][/INDENT]
[INDENT]}[/INDENT]

[INDENT]return 0;[/INDENT]

}[/FONT]

'Course, this doesn't do anything anyway.

Alex...how do you escape angle brackets so you can see them in the displayed text?
7.) luv2bowhunt - 03/05/2013
It does something, just not what you want it to do.:wink

I'm not sure Alex can answer that question but let him try.
8.) Alex - 03/05/2013
Please.. I know the foundational code structure for the Holy Hand Grenade.

[url]http://youtu.be/xOrgLj9lOwk[/url]
9.) DParker - 03/05/2013
[QUOTE=Alex;767]Please.. I know the foundational code structure for the Holy Hand Grenade.[/QUOTE]
Well, who doesn't?

[FONT=Courier New]for ( int counting = 1; counting < 3; ++counting );
toss();[/FONT]
10.) rum3002576 - 03/05/2013
you all is just to smart for me
11.) DParker - 03/05/2013
If we were really that smart we'd be making livings doing something that involves hot groupie chicks and a lot more money.
12.) rum3002576 - 03/05/2013
:tu: you have a point there.[QUOTE=DParker;784]If we were really that smart we'd be making livings doing something that involves hot groupie chicks and a lot more money.[/QUOTE]
13.) billy b - 03/05/2013
Just turn the knooter valve twice to the left & wink twice.
14.) bluecat - 03/05/2013
[QUOTE=DParker;775]Well, who doesn't?

[FONT=Courier New]for ( int counting = 1; counting < 3; ++counting );
toss();[/FONT][/QUOTE]

Well that depends, is it

ON three?
( int counting = 1; counting <= 3; ++counting );


or BEFORE three?
( int counting = 1; counting < 3; ++counting );


Four of course, as you mentioned is right out.
15.) DParker - 03/05/2013
[QUOTE=bluecat;801]Well that depends, is it

ON three?
( int counting = 1; counting <= 3; ++counting );


or BEFORE three?
( int counting = 1; counting < 3; ++counting );


Four of course, as you mentioned is right out.[/QUOTE]

In my version 'counting' will be initialized to 1, incremented to 2 and then incremented again to 3 before the loop is exited, whereupon 'toss()' is called (lobbing the Holy Hand Grenade in the direction of thine foe, who, being naughty in my sight, shall snuff it.) Therefor, 3 shall be the number of the counting and the number of the counting shall be 3. In the 1st alternative example you give 'counting' will be incremented to 4 before the loop is exited, to which thou shalt not count.
16.) bluecat - 03/05/2013
you stink
17.) DParker - 03/05/2013
[QUOTE=bluecat;810]you stink[/QUOTE]

I had a lot of onion on my sandwich at lunch.