help me please

This is a discussion on help me please within the C++ Programming forums, part of the General Programming Boards category; am an engineering student and took the AI course by mistake ! and the doctor asked for this assignment ! ...

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

    help me please

    am an engineering student and took the AI course by mistake !
    and the doctor asked for this assignment ! and am not a programmer and dunno anythin in c nor c++
    so i need your help people please ! 20 marks on this assignment
    1- build a graph of 8 nodes and randomly pick the root node and randomly connect the edges between the nodes if it exists !

    2- implement the following algorithms on the graph
    * breadth first search
    * depth first search
    * backtracking
    then run in for four or six times and analysis it.
    and the doctor wants the soucre code and everythin
    help me please am not a programmer .

  2. #2
    Registered User
    Join Date
    Nov 2009
    Posts
    4
    of 8 nodes not or by mistake sorry

  3. #3
    The larch
    Join Date
    May 2006
    Posts
    3,573
    Isn't it possible to remove yourself from the course, instead?
    I might be wrong.

    Thank you, anon. You sure know how to recognize different types of trees from quite a long way away.
    Quoted more than 1000 times (I hope).

  4. #4
    Registered User
    Join Date
    Nov 2009
    Posts
    4
    i cant or i'll have to take a new semester cause of those 3 hours :s

  5. #5
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    21,717
    My condolences.

    Anyway, read the homework guidelines and post what you have tried.

    If you have tried nothing because you do not know C++, then your best bet is to try and work through a book like Accelerated C++ as soon as possible. If you cannot do that, then I suggest that you spend some quality time with your instructor to explain the situation and obtain whatever help you can.
    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

  6. #6
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,594
    It is a shame that you have put yourself in such a situation. Truly it is.
    However, that does not simply mean that you can cheat your way through a course. If you clear a course, it means that you have acquired the knowledge contained within that course. If you were to clear it without that knowledge... well, you get my point.
    I concur with laserlight. You should make the best of the situation, not cheat your way through it.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  7. #7
    Registered User
    Join Date
    Nov 2009
    Posts
    4
    Am not trying to cheat ! But i dont know how to program and gotta hand it on the 1st of december :s so there is no way out ! Plus the doctor is a jackass he would listen to me laughed in my face when i told him i cant do it
    anyways thanks people ..

  8. #8
    C++まいる!Cをこわせ! Elysia's Avatar
    Join Date
    Oct 2007
    Posts
    22,594
    Then I urgently suggest you get a good book - ie Accelerated C++ to get the basics down of programming. Good luck.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  9. #9
    Registered User
    Join Date
    Nov 2009
    Posts
    82
    asator, people here just like to aid in discovering logical and syntactical flaws which prevent people's software from returning expected results, not to lecture introduction to programming courses to everyone who can't figure out their homework.

    most people here won't give you want you want for that reason, it's principle, we just can't sacrifice the amount of time it would take to do everyone's work for them and teach them all C++.

    it's a different matter when you can't get something running and wish to understand why, it's a lot more reasonable to point out an error with quick explanations and move on.

    but.. you could get lucky, there's a bunch of programming forums. ^_^

    schools should teach all students programming languages, it's not that difficult to go to programming languages especially if you already study mathematics. at the very* least even engineering students should be learning matlab which host scripting languages and would expose the general syntax of most other programming languages. it's all mathematics and would be very intuitive and easy for any student in a technical field given reasonable amount of effort.
    Last edited by since; 11-30-2009 at 11:26 AM.

Popular pages Recent additions subscribe to a feed

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