Such a dweeb.
Ok, this is what i need info on
Im learning coding
but for some effin' reason
I cant start ne line when I
Printf ("%d" 420);
but when its text like:
printf("yo yo yo \n) ;
printf ("ya ya ya \n) ;
Ive tried ENDL
anyone know how to newline after a number?
dont want it to look like
420 yo yo yo
ya ya ya
I want
420
yo yo yo
ya ya ya
i realize i put some mistakes like a missin , in the integer
i was in a daze b/c this is ticking me off
still wont newline tho
it seems so damn simple to do it with text, wtf is with the numbers
Just put the newline escape sequence
>>1124488
>Printf ("%d" 420);
> Printf "%d\n" 420);
ur the bomb-diggy man
>>1124488
as said, /g/ is a better place for this.
If you are going to post code, upload an EXACT copy into a site like pastebin and give the link here.
printf ("%d\n", 420);
printf("yo yo yo \n");
printf ("ya ya ya \n");
OR
printf ("%d\nyo yo yo \nya ya ya \n", 420);
OR
printf ("%d", 420);
printf("\nyo yo yo \n");
printf ("ya ya ya \n");
>>>/wsr/
OR
printf ("%d", 420);
printf ("\n");
printf("yo yo yo \n");
printf ("ya ya ya \n");
Software is >>>/g/ unless it's something like microcontroller or robotics programming
printf ("420 \n");
printf("yo yo yo \n") ;
printf ("ya ya ya \n") ;
>>1124943
Why would you add a space before the new line character?
>>1125098
That's what I was wondering but I guess it doesn't matter