CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2009
    Posts
    48

    how do i read an array of numbers pls?

    i need to read an array of numbers usuing for loop and cin and cout please an example of code i welcomed

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: how do i read an array of numbers pls?

    1. Please, don't post the same question every few minutes!
    2. Use Google to search for read array of numbers for cin cout
    Victor Nijegorodov

  3. #3
    Join Date
    Jul 2009
    Posts
    154

    Re: how do i read an array of numbers pls?

    I dont know the numbers 'p' 'l' and 's'.

  4. #4
    Join Date
    Sep 2009
    Posts
    48

    Re: how do i read an array of numbers pls?

    i need to read it not using scanf i think i can use readln if my memory dosent serves me wrong
    just write an example please somthing like

    for (i=1;i<n;i++)
    readln(arr[i]);

    please

  5. #5
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: how do i read an array of numbers pls?

    Dear shimi1980,
    I can believe that you don't undrerstand anything in C/C++/VC++ and any other programming languages.
    But I cannot believe that cannot read nor can you use Google!
    Victor Nijegorodov

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured