Computers |
|
| | #1 (permalink) |
| Junior Techie Join Date: Feb 2008
Posts: 75
| 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. |
| | |
| | #3 (permalink) |
| Junior Techie Join Date: Feb 2008
Posts: 75
| 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? |
| | |
| | #4 (permalink) |
| True Techie Join Date: Oct 2005
Posts: 199
| 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. |
| | |
![]() |
| Thread Tools | |
| Display Modes | |
| |
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 |