visual-c++rc.exe

visual c++ rc.exe


i use visual studio 2008, and i chose a .cpp in visual c++

at first i copied a tutorial sample

#include <stdio.h>

int main()
{
 int x=1;
 int n =1;
 printf("Wie viele Zahlen wollen sie ausgeben lassen?: ");


 for(int i=0; i < n; ++i)
 {
  x*=i; // x=x*i
  printf("%d: %d\n", i, x); 
 }

 return 0;
}

but i get an error

in german:Fehler beim Starten von "rc.exe". --> Problem by statring "rc.exe"

what did i wrong?


Solution

  • well finally i found the solution

    vs2008 installs rc.exe in C:\Program Files\Microsoft SDKs\Windows\v6.0A\Bin and there the rc.exe was missing, so i had download rc.exe and put it into that folder.

    now it works