Posts
 
Reputation
Joined
Last Seen
Strength to Increase Rep
+0
Strength to Decrease Rep
-0
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
1 Commented Post
0 Endorsements
~6K People Reached
Favorite Forums

7 Posted Topics

Member Avatar for wavsyntax
Member Avatar for DanDaMan
Member Avatar for sanjila007
0
1K
Member Avatar for R3AL

First off, are you ending that bit of code with ReleaseDC()? If not that might be a GDI memory leak causing the issue

Member Avatar for R3AL
0
191
Member Avatar for GatorProgrammer

This is all off the top of my head, I didn't compile it or anything so it may need some fixing, but I'm pretty sure it'll work... cout<<"Enter your boundary:"<<endl; int bounds=cin.get(); int a,b; bool first=0; for(int i=1;i<bounds;i++){ if(first==0){ a=i; first=1; } else{ b=i; i=a+b; cout<<i<<endl; first=0; } }

Member Avatar for mike_2000_17
0
179
Member Avatar for Lukezzz

[QUOTE=pigg;805288]sorry, "failed" was printed. and here is my code, i can not understand why... [code] #include "stdafx.h" #include <windows.h> #include <iostream> #include <CString> using namespace std; int main() { SHFILEOPSTRUCT sf; memset(&sf,0,sizeof(sf)); sf.hwnd = 0; sf.wFunc = FO_COPY; string from = "D:\\testfrom\\*.*"; string to = "D:\\testto"; sf.pFrom = from.c_str(); sf.pTo …

Member Avatar for JuliaSh
0
4K
Member Avatar for wavsyntax
Member Avatar for wavsyntax

The End.