L
L
Liselsh2014-06-08 19:05:44
C++ / C#
Liselsh, 2014-06-08 19:05:44

Problem with Word 2013, top toolbar is constantly hidden

The problem is this:
The toolbar is constantly hidden up under the plate, after clicking on it it opens, but after clicking in the body of the document it leaves again. Word already reinstalled, the problem persists.
ad3ee428bd574b0a8b39c653028fd468.png

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Armenian Radio, 2016-01-16
@KirillGo

The third point is solved simply - you need to move the elements in the array: assign a[i]=a[i+1] in a loop.
I think you are not allowed to use STL, so write loops.
The format of this site forbids combining a bunch of questions into one, so try to separate the topics.

O
Oleg Tsilyurik, 2016-01-16
@Olej

3) Remove element with number K.

Nothing can be added to C/ C ++ arrays and nothing can be removed from them, C/C++ arrays are static.
You can only create new arrays "similar" to their predecessors, where there will be more or less elements ... and each time - copying all the necessary elements.
I will add:
- according to paragraphs 4-5 - enjoy (I did not generate random numbers - it's clearer):
void defuse( const int a[], int n ) {
   int lim = n + n / 2,
       d[ lim ],
       t = lim - 1;
   while( --n >= 0 ) {
      d[ t-- ] = a[ n ];
      if( n % 2 == 0 ) d[ t-- ] = 0;
   }
   for( int n = 0; n < lim; n++ )
      cout << d[ n ] << ( n == lim - 1 ? "\n" : " " );
}

int main( int argc, char* argv[] ) {
   const int N = atoi( argv[ 1 ] );
   int arr[ N ];
   for( int i = 0; i < N; i++ )
      cout << ( arr[ i ] = i + 1 ) << ( i == N - 1 ? "\n" : " " );
   defuse( arr, N );
}

- and to make the howl less ... we execute:
$ ./narr 5
1 2 3 4 5
1 2 0 3 4 0 5
$ ./narr 6
1 2 3 4 5 6
0 1 2 0 3 4 0 5 6

- by the way, you can do the same trick (without any malloc()) in modern C ;-)

R
romy4, 2016-01-16
@romy4

4. solved by recreating the array and filling it with new values

A
Annabel02, 2020-10-24
@Annabel02

Open the toolbar and right-click on it, after that you need to uncheck the item "Collapse Ribbon".

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question