Click here to Skip to main content
15,887,027 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Vc 2008 application deployment Pin
Randor 6-Jun-09 5:58
professional Randor 6-Jun-09 5:58 
Questionabout linker error in the C code of CSmtp_v1_5 (unable to compile the main.cpp file due to linker error) Pin
WindowsVsLinux6-Jun-09 4:32
WindowsVsLinux6-Jun-09 4:32 
AnswerRe: about linker error in the C code of CSmtp_v1_5 (unable to compile the main.cpp file due to linker error) Pin
Stuart Dootson6-Jun-09 7:06
professionalStuart Dootson6-Jun-09 7:06 
QuestionHow to upload multiple image? Pin
shyampasari6-Jun-09 3:28
shyampasari6-Jun-09 3:28 
AnswerRe: How to upload multiple image? Pin
Stuart Dootson6-Jun-09 3:48
professionalStuart Dootson6-Jun-09 3:48 
QuestionRe: How to upload multiple image? Pin
shyampasari6-Jun-09 3:52
shyampasari6-Jun-09 3:52 
AnswerRe: How to upload multiple image? Pin
Stuart Dootson6-Jun-09 7:02
professionalStuart Dootson6-Jun-09 7:02 
QuestionRe: How to upload multiple image? Pin
shyampasari7-Jun-09 0:06
shyampasari7-Jun-09 0:06 
I have to load multiple images like from 10-20, also the no. of images is not known it varies with problem, so i thought use for loop
convert integer to char using sprintf then concatenate it with the format like---.jpg, .bmp etc



char fmt[]=".jpg"
for(int i=1;i<=15;i++)
{
sprintf(str,"%d",i);
str=strcat(str,fmt);
CImg<double> image("C:/Users/Shree Hari/Desktop/trial/str");

CImgDisplay main_display(image,"Image",0);

}


now that str will vary from
1.jpg
2.jpg
3.jpg

and so on and my database is also like as above mentioned

but it is not reading str!!!! D'Oh! | :doh: D'Oh! | :doh:

Plzz help me in this D'Oh! | :doh:
QuestionSetWindowForeground Pin
sashoalm6-Jun-09 3:13
sashoalm6-Jun-09 3:13 
AnswerRe: SetWindowForeground Pin
Stuart Dootson6-Jun-09 3:46
professionalStuart Dootson6-Jun-09 3:46 
GeneralRe: SetWindowForeground Pin
sashoalm6-Jun-09 4:02
sashoalm6-Jun-09 4:02 
GeneralRe: SetWindowForeground Pin
sashoalm6-Jun-09 4:30
sashoalm6-Jun-09 4:30 
QuestionSwitch Pin
navneet19856-Jun-09 1:35
navneet19856-Jun-09 1:35 
AnswerRe: Switch Pin
Randor 6-Jun-09 4:57
professional Randor 6-Jun-09 4:57 
QuestionHow to drag and drop between CListView and CScrollView? Pin
akira325-Jun-09 23:54
akira325-Jun-09 23:54 
AnswerRe: How to drag and drop between CListView and CScrollView? Pin
molesworth6-Jun-09 2:37
molesworth6-Jun-09 2:37 
GeneralRe: How to drag and drop between CListView and CScrollView? Pin
akira326-Jun-09 3:51
akira326-Jun-09 3:51 
GeneralRe: How to drag and drop between CListView and CScrollView? Pin
molesworth6-Jun-09 7:16
molesworth6-Jun-09 7:16 
QuestionEffective tool for run-time errors and memory leaks detection Pin
SSDream5-Jun-09 16:50
SSDream5-Jun-09 16:50 
AnswerRe: Effective tool for run-time errors and memory leaks detection Pin
Cedric Moonen5-Jun-09 21:37
Cedric Moonen5-Jun-09 21:37 
AnswerRe: Effective tool for run-time errors and memory leaks detection Pin
The Yariv6-Jun-09 10:10
The Yariv6-Jun-09 10:10 
GeneralRe: Effective tool for run-time errors and memory leaks detection Pin
SSDream6-Jun-09 17:36
SSDream6-Jun-09 17:36 
QuestionChange dialog unit Pin
includeh105-Jun-09 16:14
includeh105-Jun-09 16:14 
AnswerRe: Change dialog unit Pin
enhzflep5-Jun-09 21:31
enhzflep5-Jun-09 21:31 
QuestionCDockablePane::Create Cant Find Defs for dwStyle, dwTabbedStyle, dwControlBarStyle Pin
dougwilliams5-Jun-09 10:32
dougwilliams5-Jun-09 10:32 

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.