LiveWire Network Peer Answers Peer Support Teen Forums Tech Forums College Forums 854 users online 186474 members 2143 active today Advertise Here Sign In
TeenCollegeTechPhotos | Quizzes | LiveSecret | Video | Dictionary | News | FAQ
You have 1 new message.
Emergency Help
Until you sign up you can't do much. Yes, it's free.

Sign Up Now
Membername:
Password:
Already have an account?
Invite Friends
Active Members
Groups
Contests
Moderators
10 online / 26 MPM
Fresh Topics
  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic

need a small help in C programming
please help
Replies: 1Last Post Mar. 28, 2006 9:56pm by gief
Welcome to LiveWire!
We're Stronger Together.
Join the Community
Single page for this topic Email Print Favorite
( riz )


Wealthy Hobo
Reply
can anyone write the c programme for :

*****
****
  **
   *
  **
 ***
****
*****

and

1
22
333
4444
55555

please

-------
Free Stuff


9:40 pm on Mar. 28, 2006 | Joined Jan. 2006 | 350 Days Active
Join to learn more about riz Sri Lanka | Male | 1440 Posts | 5217 Points
gief


Soothsayer

Patron
Reply
ewwwww fuck c++ but what you do is creat a vector, vector<int>ones(1,1)  then creat a vector the same way vector<int>twos(2,2) untill you have 5 vectors then creat a vector of vectors, vector<vector>int>sum then use sum.push_back(ones) to add the vector to the big vector use push back repeatedly to create the big vector.

-------
hey there sweet thang, hows about i buy you a fish sandwich.

9:56 pm on Mar. 28, 2006 | Joined April 2005 | 458 Days Active
Join to learn more about gief Michigan, United States | Straight Male | 5951 Posts | 12876 Points
Single page for this topic Email Print Favorite

Quick Reply

You are signed in as our guest.

Looking for something else?
 

  LiveWire / Technical Forums / Programming & Application Development / Viewing Topic