Homework, please help!

This is a discussion on Homework, please help! within the C Programming forums, part of the General Programming Boards category; Hi, i need to school some C code. Requirements are: Use in code some Functions with parameters, pointers, strucutres and ...

  1. #1
    Registered User
    Join Date
    Apr 2009
    Posts
    1

    Homework, please help!

    Hi, i need to school some C code. Requirements are:
    Use in code some Functions with parameters, pointers, strucutres and global and private variables.

    Dont you have some code for it?
    Thank You

  2. #2
    C / C++
    Join Date
    Jan 2006
    Location
    The Netherlands
    Posts
    312
    Please read the homework policies here. If you don't do your homework, you will not learn to program properly. Maybe you could make something like a linked list implementation? That is pointers, structs, memory allocation, functions and globals! If you try something and have a problem, feel free to post your questions here.
    Operating Systems:
    - Ubuntu 9.04
    - XP

    Compiler: gcc

  3. #3
    Registered User
    Join Date
    Jun 2005
    Posts
    6,289
    Look here.

    Or, more bluntly, do your own homework.
    Right 98% of the time, and don't care about the other 3%.

  4. #4
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,717
    Quote Originally Posted by FandaR
    Hi, i need to school some C code.
    So, you are trying to write a program that performs machine learning?

    Quote Originally Posted by FandaR
    Dont you have some code for it?
    Maybe. I will be hard pressed to find code that I have written that uses global variables, though I presume that by "private variables" you mean "local variables".

    Anyway, read about the homework policy.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  5. #5
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,535
    > Homework, please help! - C
    "I havent time to do it. "

    But you DO have time to go round trolling the net trying to find other people to sponge off?

    Most people could have finished the code in less time that you've already wasted.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Homework
    By kermi3 in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 11-03-2001, 03:39 PM
  2. Homework
    By kermi3 in forum C Programming
    Replies: 10
    Last Post: 09-27-2001, 04:49 PM
  3. Homework
    By kermi3 in forum C++ Programming
    Replies: 15
    Last Post: 09-26-2001, 03:16 PM
  4. Homework
    By kermi3 in forum Windows Programming
    Replies: 5
    Last Post: 09-15-2001, 11:48 AM
  5. Homework
    By kermi3 in forum C Programming
    Replies: 0
    Last Post: 09-10-2001, 01:26 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21