Please, any one help me to write a c++ program which display its source code???
bubun1979 0 Newbie Poster
Recommended Answers
Jump to PostShow me the code you have, and I can see what help I can offer once I see what effort you have applied.
Step 1. Read argv[0]. argv[0] is the name of the file
Step 2. Check that argv[0] file still exists (yeah, it should)
step 3. Open the file …
All 4 Replies
Comatose 290 Taboo Programmer Team Colleague
StuXYZ 731 Practically a Master Poster
Comatose commented: :) +10
Salem 5,265 Posting Sage
ArkM 1,090 Postaholic
Comatose commented: ;) +10
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.