Open
Conversation
pjohn3
reviewed
Oct 25, 2019
Collaborator
pjohn3
left a comment
There was a problem hiding this comment.
Nincs előttem a könyv, majd együtt menjünk végig rajta. Stílusra kommenteltem.
helloworld/H7_E1.c
Outdated
| return 0; | ||
| } | ||
|
|
||
| //setbuf(stdout, NULL); No newline at end of file |
Collaborator
There was a problem hiding this comment.
Ezt töröld ki. Ki is van kommentelve, meg amúgy se lehetne itt.
helloworld/TYC_Hour_2
Outdated
| void main() | ||
| { | ||
| printf ("Howdy, neighbor! This is my first C program.\n"); | ||
| exit(0); |
Collaborator
There was a problem hiding this comment.
inkább return 0; az exit()-nek csak akkor van értelme, ha nem main()-ben vagy,
pjohn3
reviewed
Nov 10, 2019
| 3: | ||
| 4: main() | ||
| 5: { | ||
| 6: printf ("Howdy, neighbor! This is my first C program.\n"); |
Collaborator
There was a problem hiding this comment.
printf után ne legyen space
| int i; | ||
| int j; | ||
| printf("2. feladat\n"); | ||
| for (i = 0, j = 1; i < 8; i++, j++) |
Collaborator
There was a problem hiding this comment.
akkor is legyen kinn a kapcsos zárójel a for loopnál, ha csak egy sorból áll a teste. Ugyanez igaz az if-re, a while-ra, stb. Vagy itt pont ez volt a feladat?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.