User Profile

Collapse

Profile Sidebar

Collapse
itoyrei
itoyrei
Last Activity: Dec 18 '07, 06:10 AM
Joined: Oct 8 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • itoyrei
    replied to Beginner's Assignment
    in C
    sorry,my bad Laharl for forgetting to write "return 0;"

    well,I better get my self to learn about strings.

    thanks Laharl and oler1s as well as to those who read and and gave their reply for your time reading and giving some suggestions to my post.thanks guys...
    See more | Go to post

    Leave a comment:


  • itoyrei
    replied to Beginner's Assignment
    in C
    well,i guess i have no choice but to manually assign them one by one...
    but,is there also another way of writing the code like this...

    Code:
    int main()
    {
         int num[3],i;
         cout<<"enter 3 numbers:\n";
    
         for (i=0;i<3;i++)
         {
              cout<<"num["<<i<<"]=";
              cin>>num[i];
         }
    ...
    See more | Go to post

    Leave a comment:


  • itoyrei
    started a topic Beginner's Assignment
    in C

    Beginner's Assignment

    can anyone help me in making char array?

    for example if i declared:

    char names[20];

    and for example i want to enter 3 names (example joe, sarah, and arthur)
    for that array and then display those names...how will i write it as a syntax or any declarations that i missed?...sorry for being a newbie,but answering my question will be a great help for my school assignment..

    im expecting...
    See more | Go to post
No activity results to display
Show More
Working...