[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

CODEBLOCKS

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 14
Thread images: 1

File: Untitled.png (9KB, 395x222px) Image search: [Google]
Untitled.png
9KB, 395x222px
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
>>
>>1124488
>>>/g/
They have programming generals. Check the catalog.
>>
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
>>
>>1124488
Go back to your containment thread >>>/g/dpt

>printf("%d\n", 420);
>printf("im a yoyoyo retard\n");
>printf("\tohhhhh shieet");
>>
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
Thread posts: 14
Thread images: 1


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.