Thread: Source Location

  1. #1
    Unregistered
    Guest

    Question Source Location

    There is object in my program. but i have to modify some thing in
    the source code & compile & get the .obj object file.
    but i don't know where is the source code (.c file).

    So, is there any way we can find out in which disk it is or
    who as last changed or compiled the code.

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    If what you are saying is that you have the object code file but no source code then you are stuffed as far as c goes. If it is a class object which is c++ and not c then you can inherit this class in a new class and add what you need or override the functions that cause problems in the original file.As far as i am aware there is no way of getting c source from a .obj file.
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. How to build, run Boland C++ 6 source file via VS2005?
    By userpingz in forum C++ Programming
    Replies: 2
    Last Post: 05-21-2009, 03:25 AM
  2. instantiated from here: errors...
    By advocation in forum C++ Programming
    Replies: 5
    Last Post: 03-27-2005, 09:01 AM
  3. I need help with templates!
    By advocation in forum C++ Programming
    Replies: 6
    Last Post: 03-26-2005, 09:27 PM
  4. using a class in multiple source files???
    By Crossbow in forum C++ Programming
    Replies: 9
    Last Post: 06-18-2002, 07:42 PM