Computer ForumsComputers  

Go Back   Computer Forums > Programmers Lounge > Programming Discussions

Reply
 
LinkBack Thread Tools Display Modes
Old 05-30-2008, 03:11 AM   #1 (permalink)
Junior Techie
 
MaXiMuS_N00BuS's Avatar
 
Join Date: Feb 2008
Posts: 75
Default Distinguishing C++ Templates By Source Code?

I got some e-books on C++ and C# and some of them came with example codes (that build), but I have no idea what kind of template (c++) to use to build and run it. I can post the example code here if needed. It doesn't say if its a "Windows Forms Application" or "Win32 Console Application" or anything like that. It should be noted that there are two files that go with it. One is a "C++ Source" file and the other is a "C/C++ Header" file. Sorry if its not understandable (not an advanced programmer... yet!!), it's the best I could explain without posting the code.
MaXiMuS_N00BuS is offline   Reply With Quote
Old 05-30-2008, 10:33 AM   #2 (permalink)
Software Developer
 
Join Date: Mar 2006
Location: Columbus, OH
Posts: 492
Default Re: Distinguishing C++ Templates By Source Code?

So what is your question?
jaeusm is offline   Reply With Quote
Old 05-30-2008, 03:10 PM   #3 (permalink)
Junior Techie
 
MaXiMuS_N00BuS's Avatar
 
Join Date: Feb 2008
Posts: 75
Default Re: Distinguishing C++ Templates By Source Code?

The title was the question. I want to know (without posting the code if possible) what codes are assigned to what templates by looking at the source. Another thing, if I just double-click the codes, will it open the correct template automatically?
MaXiMuS_N00BuS is offline   Reply With Quote
Old 05-31-2008, 04:23 AM   #4 (permalink)
True Techie
 
void's Avatar
 
Join Date: Oct 2005
Posts: 199
Default Re: Distinguishing C++ Templates By Source Code?

You have misused the word "template", because in C++ a template allows the generic implementation of a class or function. What I think you what is the software/tools to compile and run the source code from the book. You probably want an Integrated Development Environment (IDE), this is a application that brings together all the tools you need to write, build and debug a program. There are free ones available for example Dev-C++ or Code::Blocks. These are not simple programs so I suggest you reread the book to find instructions of how to build the programs. Also I'd expect the programs your building to be simple command-line program, so you should be able to run them via the command-line.
void is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
please suggest a source code analysis tool for debugging memory leak andrew godwin Programming Discussions 3 04-24-2008 05:05 AM
PHP: How to modify a downloaded JavaScript code and partly change the code within it? LincolnX Programming Discussions 4 01-25-2008 04:25 PM
Download the Source Code for Micropolis Osiris PC Gaming 0 01-13-2008 12:00 PM
Open source 2D RPG engine searching for interested C++ programmers mvBarracuda Programming Discussions 19 10-11-2007 10:57 AM
source code?? simple Linux, BSD, other *nixes & Open Source Software 12 09-12-2007 12:23 AM


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


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0