Home > Back-end >  The C language
The C language

Time:10-03

How to quickly delete the space on the Dev ao?

CodePudding user response:

Delete a what space
That's code format display, to some, so you can see that the hierarchical relationships between the code
Or is one tuo, unreadable

CodePudding user response:

Yes, is like this

CodePudding user response:

Yes, is like this

CodePudding user response:

This space is indented, c + + must be indented

CodePudding user response:

Advice to learn python

CodePudding user response:

reference 5 floor akari10032 reply:
suggest learning python

Huh? Studious, ahem

CodePudding user response:

The
reference 4 floor (' del `)? The Program (' del `)? Response:
this space is indented, c + + must be indented

Before you can copy and paste don't ah, why now need

CodePudding user response:

Fun
reference 1 floor response:
delete what Spaces!
That's code format display, to some, so you can see that the hierarchical relationships between the code
Or is one tuo, unreadable

Don't delete, can't submit, shows a compiler error

CodePudding user response:

What is the topic? Let me see, an error message

CodePudding user response:

The
references 9 f (' del `)? The Program (' del `)? Response:
what problem? Let me see, error message

Is submitted, a compiler error, and then mark out a lot of space red dot, can delete the blank space

CodePudding user response:

Screenshots ah, should not be indented problems
To the code, the hair shaft, or directly post

CodePudding user response:

The
11 references (' del `)? The Program (' del `)? Response:
screenshots ah, should not be indented problems
To the code, the hair shaft, or directly post

Locate the node * (node * l, int x)
{
The node * p, * pindex;
Pindex=NULL;//the default didn't find
For (p=l - & gt; Next; p!=NULL; P=p - & gt; Next)
{
If (p - & gt; data=https://bbs.csdn.net/topics/=x)//find
{
Pindex=p;
}
}
Return pindex;
}

CodePudding user response:

The
11 references (' del `)? The Program (' del `)? Response:
screenshots ah, should not be indented problems
To the code, the hair shaft, or directly post

# include & lt; stdio.h>
# include & lt; stdlib.h>
Typedef struct node
{
The int data;
Struct node * next;
}node;
Node * the clear ();
* the add node (the node * l, int x);
Void out (node * l);
Locate the node * (node * l, int x);
Int main (int arg c, char * argv []) {
Int I, n, x;
The node * l, * p;
The scanf (" % d ", & amp; N);
L=the clear ();
for(i=0; i{
The scanf (" % d ", & amp; X);
L=add (l, x);
}
The scanf (" % d ", & amp; X);
P=the locate (l, x);
If (p==NULL)
{
Printf (" NULL ");
}
The else
{
Printf (" % d ", p - & gt; The data);
}

return 0;
}
Node * the clear ()
{
Node * l;
L=(*) malloc (sizeof (node));
L - & gt; Next=NULL;
Return the l;
}
* the add node (the node * l, int x)
{
Node * p;
P=(*) malloc (sizeof (node));
P - & gt; data=https://bbs.csdn.net/topics/x;
P - & gt; Next=l;
return p;
}
Void out (node * l)
{
Node * p;
P=l;
While (p!=NULL)
{
Printf (" % d ", p - & gt; The data);
P=p - & gt; Next;
}
printf("\n");
}

CodePudding user response:

The
11 references (' del `)? The Program (' del `)? Response:
screenshots ah, should not be indented problems
To the code, the hair shaft, or directly post

Can be shipped on C, PTA is achieved

CodePudding user response:

It is not clear, didn't try, that also give me some points, I'm tired enough

CodePudding user response:

The
reference 15 floor (' del `)? The Program (' del `)? Response:
the not clear, didn't try, that give me some points, I'm tired enough

Well, how to give you

CodePudding user response:

Answers your questions, such as others' knot stick, on two points to me, the last point 'and stick to the point, thanks

CodePudding user response:

Wait to answer you, don't worry

CodePudding user response:

The
reference 17th floor (' del `)? The Program (' del `)? Response:
others answers your questions, such as point of junction post, on two points to me, the last point 'and stick to the point, thanks

Ok, no problem, belch

CodePudding user response:

nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull
  • Related