Thread: C Programinng - can u solve this? best answer wins a prize

  1. #1
    Registered User
    Join Date
    Nov 2011
    Posts
    4

    C Programinng - can u solve this? best answer wins a prize

    hi guys just need some pointers on how to do this exercise


    Write a C program that will read in a set of numbers for the elements for a geometric shape in memory and offer the following options:
    Option 1 Grid: The user defining the number of rows and the number of columns and then generate the following structure in memory ( if 3 rows and 3 columns are specified). Each node will hold a single number.

    Last edited by Salem; 12-01-2011 at 12:03 PM. Reason: <<< snipped url - it didn't work anyway >>>

  2. #2
    Do you C what I C? jamesallen4u's Avatar
    Join Date
    Oct 2011
    Posts
    43
    So, what have you tried so far?
    Linux Distro: Ubuntu 12.04
    Browser: Chromium

  3. #3
    Registered User
    Join Date
    Nov 2011
    Posts
    4
    Not much made I am not very well in c programing jet. started it a few weeks ago and we are going through so much at the time.
    Could please help me than?

  4. #4
    Do you C what I C? jamesallen4u's Avatar
    Join Date
    Oct 2011
    Posts
    43
    Linux Distro: Ubuntu 12.04
    Browser: Chromium

  5. #5
    Registered User
    Join Date
    Nov 2011
    Posts
    4
    Its not a homework mate. I find this excesice in one of the books from the library and donīt really know what this is about. as i am new in c i curious tho see whats this will actually look like and how it will work on the screen.

  6. #6
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by marcuss View Post
    Its not a homework mate. I find this excesice in one of the books from the library and donīt really know what this is about. as i am new in c i curious tho see whats this will actually look like and how it will work on the screen.
    If that book is a C textbook, I'm betting the explaination you're looking for is there too... back up a few pages and read the text part.
    Sounds to me like they're talking about a simple array...

  7. #7
    Registered User
    Join Date
    Nov 2011
    Posts
    4
    yes its on the arrays section but the is no solution to it as I have to buy the solution book and I canīt afford it.

  8. #8
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by marcuss View Post
    yes its on the arrays section but the is no solution to it as I have to buy the solution book and I canīt afford it.
    I'll bet you 3 manhole covers that if you sit down and study that book starting from page 1, read every word, reviewing as necessary, type up all the examples, compile them, play with them until you understand then turn to the next page and do it all again... by the time you got to the end of the book, you wouldn't need the solution book.

    Programming is not something you can half-ass your way through... learn it or don't... it's up to you.

  9. #9
    Registered User
    Join Date
    Dec 2007
    Posts
    2,675
    Oh boy, we win a prize? What is it? A Bugatti Veyron, perhaps?

  10. #10
    Registered User
    Join Date
    Oct 2006
    Posts
    3,445
    Quote Originally Posted by rags_to_riches View Post
    Oh boy, we win a prize? What is it? A Bugatti Veyron, perhaps?
    I want an XK6

  11. #11
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547

  12. #12
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Quote Originally Posted by rags_to_riches View Post
    Oh boy, we win a prize? What is it? A Bugatti Veyron, perhaps?
    Quote Originally Posted by Elkvis View Post
    I want an XK6
    Quote Originally Posted by CommonTater View Post
    Anyone else ? .... Offer valid till stocks last.

  13. #13
    Registered User
    Join Date
    Mar 2009
    Posts
    344
    Quote Originally Posted by CommonTater View Post
    I'll bet you 3 manhole covers
    What do you plan to do with 3 manhole covers?

    Anyone else ?
    1 (one) fully armed and operational battle station.

    Man, you guys think small.

  14. #14
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Quote Originally Posted by KCfromNC View Post
    What do you plan to do with 3 manhole covers?
    Laugh my arse off as he's trying to carry them down into my basement.

  15. #15
    [](){}(); manasij7479's Avatar
    Join Date
    Feb 2011
    Location
    *nullptr
    Posts
    2,657
    Quote Originally Posted by KCfromNC View Post
    1 (one) fully armed and operational battle station.
    Specific details ?

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. C++ Question with uncomplete answer..anyone can solve it?
    By jason07 in forum C++ Programming
    Replies: 9
    Last Post: 09-13-2005, 04:56 PM
  2. Velius gets the prize
    By bennyandthejets in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 11-05-2003, 04:08 AM
  3. WINS api?
    By jair in forum Windows Programming
    Replies: 8
    Last Post: 06-28-2003, 08:31 PM
  4. What's my prize?
    By volk in forum C Programming
    Replies: 7
    Last Post: 03-22-2003, 02:37 PM
  5. a prize for
    By iain in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 09-08-2001, 08:44 PM