Thread: Find path Help?

  1. #1
    Registered User
    Join Date
    Sep 2011
    Posts
    1

    Question Find path Help?

    Some one help me......

    The que is:

    Problem Description Sam is a tourist, One day he plans to go one country where - Pastebin.com

    i attached the files below pls help...

    Thanks in advance.
    Attached Files Attached Files

  2. #2
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    Tell you what...

    We don't do people's homework for them.

    Work on it yourself. If you get stuck post your code here, in the open and ask specific questions...

    Homework Policy

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,662
    Your tutor boilerplate code and copy/paste assignment doesn't count as effort.
    Code:
    #define C_OR_CPP 1 //  Change value to 1 here if you are submitting a C solution for this problem.
    		   //  Change value to 2 here if you are submitting a C++ solution for this problem.
    
    void dsmain();
    
    #if C_OR_CPP == 1  // Dont change here
    
    	int countPaths(char** paths) ;
    
    #endif
    
    
    
    #if C_OR_CPP == 2  // Dont change here
    
    class FindPath
    {
    	public:
    		int countPaths(char** paths) ;
    };
    
    #endif
    Code:
    #include <stdio.h>
    
    #include "FindPath.h"
    
    
    
    int countPaths(char** paths)
    
    {
    
    	//Your code comes here
    
    	return 0;
    
    }
    
    int main()
    
    {
    
    	return 0;
    
    }
    Now what are you ACTUALLY stuck on?
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Cwebbrowser2 , cannot find the internet path
    By hanhao in forum C++ Programming
    Replies: 1
    Last Post: 06-30-2007, 10:05 PM
  2. Can a executable find the path to itself?
    By sulli_jj in forum C Programming
    Replies: 3
    Last Post: 06-23-2006, 12:27 PM
  3. How to find the current path?
    By cloudy in forum C++ Programming
    Replies: 1
    Last Post: 04-25-2006, 11:05 AM
  4. Given tha path, find an exe(given the size) into it
    By BianConiglio in forum C Programming
    Replies: 1
    Last Post: 04-01-2004, 06:50 PM
  5. can .exe find the path to a file?
    By Unregistered in forum Windows Programming
    Replies: 4
    Last Post: 06-12-2002, 01:08 PM