APİ

turbo c + + how to encode the speech I had written a powerpoint file to a run on the desktop. that the code I want. My English language is weak.Please help. important
you mean you want to run your powepoint from c++??
if like that this is the code...
1
2
3
4
5
6
7
8
9
10
#include<stdio.h>
#include<windows.h>

main()
{
   unsigned a;
   FILE*fp;
	a=system("D:\yourDataHere.ppt");
   fp=fopen("a", "r+");
}


work on borland c++ v5,I dont know with other version
That's not valid C++. And even if you fix the syntax by adding a return statement, there's still so much wrong with it!

Needless to say, it doesn't do what you want it to do.
thank you. Single file on the desktop, not c: \ \ running.
Topic archived. No new replies allowed.