Is there a manual or web site or book or ... that has describe office automation classes for C++?
I mean classes like(for Excel) :
because the method parameters names is not named good, and in MSDN there is no complete reference like MFC classes.
I use word and excel automation in our MFC app
Hi, I thing when you say poniter its pointer.
All strings and arrays in C are pointers so you cant change it.
However if you want to create a string otherwise you can use malloc, with malloc you can create one array of any size, you can see it here
But you have other way to do it, if you want to read a string for keyboard you may be need to use strdup() from string.h
. Create a List [ Create a list that will be empty at the creation time. Make void create( void ) function to achieve this task. ]
2. Determine whether the list is empty. [ Make bool empty( void ) function that shows whether the list is empty or not.]
3. Insert a Value
at the start of the list [ Make void addatstart( int ) function to insert value at the start of the list.]
at the given location [ Make void addatspecific( int, int ) function to insert value at the specific location in the list.]
at the end of the list [ Make void addatend( int ) function to insert value at the end of the list.]
at the start of the list [ Make void deleteatstart( void ) function to delete value from the start of the list.]
at the given location [ Make void deleteatspeific(void) function to delete value at the specific location of the list.]
at the end of the list [ Make void deleteatend(void) function to delete value at the end of the list.]
5. Size of the List [ Make int size(void) function that will return the size of the list.]
6. Search value from the list. [ Make void search( int ) function that will search the given value in list.]
7. Swapping two values of the list. [ Make void swap( int first_location, int second_location ) function that will swap the values at the given location from the list.]
8. Display the list [ Make void search(void) function that will display the list values.]
Sorry, but no one is going to do your homework for you. Make an effort to solve the problem for yourself and people will try to help you when you get stuck, but you are expected to do most of the work. After all, an assignment is designed to test how much you have learned, not how much we know.
Compile them into what? The compiler will turn source into object code, but that object still needs to be linked to the system libraries in order to run. Maybe you need to provide more information about exactly what your application is supposed to do.
well, the application should have a compiler or compiling system for simple codes and i want to know if i can add a compling system to any application. If there is a way , please reply ,
Thanks for the reply anyway.
i want to know if i can add a compling system to any application.
Short answer: No.
Longer answer: It is possible to compile a complete module by calling out to a compiler from an application via ShellExecute or similar. But just compiling simple statements in isolation would entail a very large amount of work.
The simplest way is feeding an actual compiler with the code. You may use system[^], or ShellExectute[^], CreateProcess[^] for running the actual compiler.
You can add a third party compiler to your application if the compiler's license allows it (I suppose you'll find a C compiler with such a liberal license).
THESE PEOPLE REALLY BOTHER ME!! How can they know what you should do without knowing what you want done?!?!
-- C++ FQA Lite