Go Back   Flash Flash Revolution > General Discussion > Chit Chat
Register FAQ Community Calendar Today's Posts Search

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 10-15-2013, 02:13 PM   #1
Superfreak04
FFR Veteran
FFR Veteran
 
Superfreak04's Avatar
 
Join Date: Jan 2007
Age: 33
Posts: 2,407
Default Requesting help for programming/ CS majors?

This is probably easy for most, but I can't seem to figure it out. This is in C++ btw.



#include <iostream>
using namespace std;

int main()
{
int name[12];
int i;
for(int i=0; i<12; i++) name[i] = i;
for(i=0; i<12; i++)
cout << "This is letter ["<< i <<"]: " << name[i] << "\n";

}

int dummy;
cin >> dummy;

return 0;
}

I have to use dummy's because the PC won't display anything without it.

This is what I have so far, I'm not really sure about what to do from here. I'm not even sure if this is correct, lol.

Help>
__________________

Last edited by Superfreak04; 10-21-2013 at 08:37 PM..
Superfreak04 is offline   Reply With Quote
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 11:13 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution