GIDForums  

Go Back   GIDForums > Computer Programming Forums > C++ Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 30-May-2005, 09:07
alexjackson alexjackson is offline
New Member
 
Join Date: May 2005
Posts: 1
alexjackson is on a distinguished road

help with .h .cpp etc


I have no prior knowledge with C++, and I got a few books on it. What I know is that I want to write my code in a file with the .cpp extension.

However, I'm seeing a lot of other extensions in the sample projects I get online.

Examples:

.h
.ncb
.sln
.suo
.vcproj
.aps
.rc

What do they all mean? Do I have to be concerned with them? I hope you guys can help me out, thanks!
  #2  
Old 30-May-2005, 12:40
WaltP's Avatar
WaltP WaltP is offline
Outstanding Member
 
Join Date: Feb 2004
Location: Midwest US
Posts: 3,258
WaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to allWaltP is a name known to all
Quote:
Originally Posted by alexjackson
I have no prior knowledge with C++, and I got a few books on it. What I know is that I want to write my code in a file with the .cpp extension.

However, I'm seeing a lot of other extensions in the sample projects I get online.
They are files you don't have to deal with generally. They are created and used by the compiler. The only extension you need to know about really is the .h file. This is a header file to define stuff in multiple .cpp files. You will use them a lot.

Of the rest in your list
Quote:
Originally Posted by alexjackson
.ncb
.sln
.suo
.vcproj
.aps
.rc
.ncb I've seen but never looked into what it was
.rc defines resources the compiler will put into your executable, like icons
The rest I have no clue. .vcproj by it's name may be some kind of project information for Microsoft's Visual C/C++.
__________________

Got a cough? Go home tonight and eat a whole box of Ex-Lax. Tomorrow, you'll be afraid to cough.
-- Pearl Williams
 
 

Recent GIDBlogPython ebook by crystalattice

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help creating dll in VC++ r_m_zhang MS Visual C++ / MFC Forum 2 17-Feb-2005 19:57

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 07:55.


vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.