Click here to Skip to main content
16,011,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: can't compile my codes...pls help Pin
Ravi Bhavnani29-Jun-05 2:24
professionalRavi Bhavnani29-Jun-05 2:24 
GeneralRe: can't compile my codes...pls help Pin
ThatsAlok29-Jun-05 2:26
ThatsAlok29-Jun-05 2:26 
GeneralRe: can't compile my codes...pls help Pin
ThatsAlok29-Jun-05 2:25
ThatsAlok29-Jun-05 2:25 
GeneralRe: can't compile my codes...pls help Pin
krmed29-Jun-05 3:03
krmed29-Jun-05 3:03 
GeneralRe: can't compile my codes...pls help Pin
Member 208234129-Jun-05 11:10
Member 208234129-Jun-05 11:10 
GeneralRe: can't compile my codes...pls help Pin
krmed30-Jun-05 0:52
krmed30-Jun-05 0:52 
GeneralRe: can't compile my codes...pls help Pin
toxcct29-Jun-05 5:37
toxcct29-Jun-05 5:37 
GeneralC++ Loop statment Or LoopFor Pin
Cillieacc0rd5o429-Jun-05 2:06
Cillieacc0rd5o429-Jun-05 2:06 
MSDN Sux !!!

Filter wont work cant find nada.

here i am again. Questions is for a loop or loop for fo some sort.

// I want to set all relays to 0(fl_set and 1 is on)
// By all relays i mean 1-25 relays
// So all 1-25 relays need to have 0
// was thinking of a loop to do this

EXP_USHORT Reset_All_Relais(int relay, int fl_set)
{
for relay (0 To 25)
{
return ScoUniSetRelay(relay,0);
// Simple be
return ScoUniSetRelay(1,0);
return ScoUniSetRelay(2,0);
return ScoUniSetRelay(3,0);
return ScoUniSetRelay(4,0);
return ScoUniSetRelay(5,0);
// etc etc till 25 LOL
}
}

cant find nothing in MSDN maybe it was another statment. Any idea guys what else can be used ?
GeneralRe: C++ Loop statment Or LoopFor Pin
Ravi Bhavnani29-Jun-05 2:27
professionalRavi Bhavnani29-Jun-05 2:27 
GeneralRe: C++ Loop statment Or LoopFor Pin
Cillieacc0rd5o429-Jun-05 2:32
Cillieacc0rd5o429-Jun-05 2:32 
GeneralRe: C++ Loop statment Or LoopFor Pin
Ravi Bhavnani29-Jun-05 2:41
professionalRavi Bhavnani29-Jun-05 2:41 
GeneralRe: C++ Loop statment Or LoopFor Pin
Cillieacc0rd5o429-Jun-05 2:42
Cillieacc0rd5o429-Jun-05 2:42 
GeneralRe: C++ Loop statment Or LoopFor Pin
Maximilien29-Jun-05 2:45
Maximilien29-Jun-05 2:45 
GeneralRe: C++ Loop statment Or LoopFor Pin
Cillieacc0rd5o429-Jun-05 2:58
Cillieacc0rd5o429-Jun-05 2:58 
GeneralRe: C++ Loop statment Or LoopFor Pin
Maximilien29-Jun-05 3:08
Maximilien29-Jun-05 3:08 
GeneralRe: C++ Loop statment Or LoopFor Pin
Cillieacc0rd5o429-Jun-05 3:14
Cillieacc0rd5o429-Jun-05 3:14 
GeneralRe: C++ Loop statment Or LoopFor Pin
toxcct29-Jun-05 5:32
toxcct29-Jun-05 5:32 
GeneralRe: C++ Loop statment Or LoopFor Pin
Cillieacc0rd5o429-Jun-05 19:32
Cillieacc0rd5o429-Jun-05 19:32 
GeneralRe: C++ Loop statment Or LoopFor Pin
Ravi Bhavnani29-Jun-05 4:45
professionalRavi Bhavnani29-Jun-05 4:45 
GeneralRe: C++ Loop statment Or LoopFor Pin
Cillieacc0rd5o429-Jun-05 19:35
Cillieacc0rd5o429-Jun-05 19:35 
GeneralRe: C++ Loop statment Or LoopFor Pin
Maximilien29-Jun-05 2:43
Maximilien29-Jun-05 2:43 
GeneralRe: C++ Loop statment Or LoopFor Pin
Cillieacc0rd5o429-Jun-05 3:09
Cillieacc0rd5o429-Jun-05 3:09 
GeneralRe: C++ Loop statment Or LoopFor Pin
toxcct29-Jun-05 5:35
toxcct29-Jun-05 5:35 
GeneralGet exe File version, icon etc programmatically Pin
munawar196829-Jun-05 2:04
munawar196829-Jun-05 2:04 
GeneralRe: Get exe File version, icon etc programmatically Pin
ThatsAlok29-Jun-05 2:11
ThatsAlok29-Jun-05 2:11 

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.