CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: acppdummy

Search: Search took 0.03 seconds.

  1. Re: Return from within a loop that's inside a function?

    That was the concern. Thank you! :)
  2. Return from within a loop that's inside a function?

    I have a function that contains a do loop. Can I return from inside the loop? Like this:



    int myfunction(char *str, ...){
    ...
    do {...
    n = read(...);
    if (n<0){ //...
Results 1 to 2 of 2





Click Here to Expand Forum to Full Width

Featured