Can someone tell me is it possible to write C++ script for analysis in Abaqus. I know that it is possible to use python, but I am wondering can it be done with C++.
Use what you are more comfortable with. If you have not used either then I would recommend python. The overall use of C++ is decreasing and for python increasing. Both have good support.
you can use C++ for subroutines, or post-processing, but not pre-processing. Python is a lot easier to write, especially because you can record a macro, or just copy things from the journal file; so you don't need to know the data models and syntax that well.