3 Replies - 2110 Views - Last Post: 05 March 2013 - 11:59 AM Rate Topic: -----

#1 Gazali Ali  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 05-March 13

txt file conversion to cpp

Posted 05 March 2013 - 11:16 AM

how can a (.txt) file converted to (.cpp) file?
Is This A Good Question/Topic? 0
  • +

Replies To: txt file conversion to cpp

#2 jimblumberg  Icon User is online

  • member icon


Reputation: 4096
  • View blog
  • Posts: 12,675
  • Joined: 25-December 09

Re: txt file conversion to cpp

Posted 05 March 2013 - 11:30 AM

Maybe change the extension to .cpp?

Jim
Was This Post Helpful? 1
  • +
  • -

#3 Salem_c  Icon User is offline

  • void main'ers are DOOMED
  • member icon

Reputation: 1686
  • View blog
  • Posts: 3,203
  • Joined: 30-May 10

Re: txt file conversion to cpp

Posted 05 March 2013 - 11:57 AM

Sounds like a windows user who's still got explorer set to "hide extensions of known file types".
http://windows.micro...name-extensions

Renaming foo.txt to foo.cpp typically results in foo.cpp.txt (but still broken as far as the compiler is concerned).
Was This Post Helpful? 0
  • +
  • -

#4 jimblumberg  Icon User is online

  • member icon


Reputation: 4096
  • View blog
  • Posts: 12,675
  • Joined: 25-December 09

Re: txt file conversion to cpp

Posted 05 March 2013 - 11:59 AM

Quote

Sounds like a windows user who's still got explorer set to "hide extensions of known file types".

Quite a possibility, but vague questions beg for a vague answer.

Jim
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1