Click here to Skip to main content
15,919,931 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: FLTK instalation error in VS2010 Pin
Aescleal13-Jun-10 0:06
Aescleal13-Jun-10 0:06 
QuestionPush like button on ribbon using CMFCRibbonButton Pin
AksharRoop12-Jun-10 23:13
AksharRoop12-Jun-10 23:13 
Questiongauss jordan Pin
VeganFanatic12-Jun-10 5:41
VeganFanatic12-Jun-10 5:41 
AnswerRe: gauss jordan Pin
Trollslayer13-Jun-10 0:14
mentorTrollslayer13-Jun-10 0:14 
AnswerRe: gauss jordan Pin
ThatsAlok13-Jun-10 18:24
ThatsAlok13-Jun-10 18:24 
GeneralRe: gauss jordan Pin
VeganFanatic13-Jun-10 18:28
VeganFanatic13-Jun-10 18:28 
QuestionAbout OnFilePrint and OnPreparePrinting question. Pin
wangningyu11-Jun-10 21:53
wangningyu11-Jun-10 21:53 
QuestionTemplated array in class Pin
grusky11-Jun-10 14:27
grusky11-Jun-10 14:27 
I have created a class and a tamplate to create an array with a size based on two of the parameters. What I am looking to do is populate the years[0] with the start parameters value and continue to year[stop]= the stop parameters value.
#include<iostream><br />
using namespace std;<br />
<br />
template <class T, int start, int stop><br />
class MyArray {<br />
	T test [stop-start];	<br />
};<br />
<br />
int main () {<br />
MyArray <int, 1790, 1820> years; <br />
return 0;<br />
}<br />

so... MyArray <int, 1790, 1820> years; would create an array with 30 values starting at array[0] = 1790 and ending with array[30]=1820. Is this possible?
AnswerRe: Templated array in class Pin
Rick York11-Jun-10 15:46
mveRick York11-Jun-10 15:46 
AnswerRe: Templated array in class Pin
Nemanja Trifunovic11-Jun-10 16:35
Nemanja Trifunovic11-Jun-10 16:35 
AnswerRe: Templated array in class Pin
«_Superman_»11-Jun-10 20:51
professional«_Superman_»11-Jun-10 20:51 
GeneralRe: Templated array in class Pin
Niklas L11-Jun-10 22:40
Niklas L11-Jun-10 22:40 
AnswerRe: Templated array in class Pin
Niklas L11-Jun-10 21:56
Niklas L11-Jun-10 21:56 
AnswerRe: Templated array in class Pin
Aescleal12-Jun-10 8:12
Aescleal12-Jun-10 8:12 
Questionmatrix operator = Pin
VeganFanatic11-Jun-10 12:13
VeganFanatic11-Jun-10 12:13 
AnswerRe: matrix operator = Pin
Chris Losinger11-Jun-10 15:05
professionalChris Losinger11-Jun-10 15:05 
GeneralRe: matrix operator = Pin
VeganFanatic11-Jun-10 15:39
VeganFanatic11-Jun-10 15:39 
GeneralRe: matrix operator = Pin
VeganFanatic11-Jun-10 15:42
VeganFanatic11-Jun-10 15:42 
AnswerRe: matrix operator = Pin
Aescleal11-Jun-10 20:06
Aescleal11-Jun-10 20:06 
AnswerRe: matrix operator = Pin
CPallini12-Jun-10 3:48
mveCPallini12-Jun-10 3:48 
QuestionMFC - Trying to load a picture from memory using Istream Pin
simon alec smith11-Jun-10 11:00
simon alec smith11-Jun-10 11:00 
AnswerRe: MFC - Trying to load a picture from memory using Istream Pin
Richard MacCutchan12-Jun-10 2:32
mveRichard MacCutchan12-Jun-10 2:32 
GeneralRe: MFC - Trying to load a picture from memory using Istream Pin
simon alec smith12-Jun-10 10:08
simon alec smith12-Jun-10 10:08 
GeneralRe: MFC - Trying to load a picture from memory using Istream Pin
Richard MacCutchan12-Jun-10 21:40
mveRichard MacCutchan12-Jun-10 21:40 
Questionmatrix multiplication Pin
VeganFanatic11-Jun-10 8:50
VeganFanatic11-Jun-10 8:50 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.