KnowledgeVault
Welcome to KnowledgeVault!
KnowledgeVault
Welcome to KnowledgeVault!
KnowledgeVault
Would you like to react to this message? Create an account in a few clicks or log in to continue.

KnowledgeVault


 
HomeLatest imagesI doubt it but can any of you help me? 32132110RegisterLog in

 

 I doubt it but can any of you help me?

Go down 
AuthorMessage
IllusionSlayer
KnowledgeVault Owner
KnowledgeVault Owner



Posts : 900
Join date : 2009-07-09
Age : 30
Location : Look behind you.

I doubt it but can any of you help me? Empty
PostSubject: I doubt it but can any of you help me?   I doubt it but can any of you help me? EmptySun Aug 16, 2009 8:43 pm

Code:
using namespace std;

int main(int argc, char *argv[])
{
    int one, two, three, four;
    one = 0;
    two = 1;
    three = 1;
    four = 2;
    a:
    cout << one << endl;
    cout << two << endl;
    cout << three << endl;
    cout << four << endl;
    one = three+four;
    two = four+one;
    three = one+two;
    four = two+three;
    goto a;
    system("PAUSE");
    return EXIT_SUCCESS;
}

is there any reason for this to output hex instead of ascii?
Back to top Go down
https://knowledgevault.darkbb.com
 
I doubt it but can any of you help me?
Back to top 
Page 1 of 1

Permissions in this forum:You cannot reply to topics in this forum
KnowledgeVault :: Computers :: Programming :: C++-
Jump to: