[Boards: 3 / a / aco / adv / an / asp / b / biz / c / cgl / ck / cm / co / d / diy / e / fa / fit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mu / n / news / o / out / p / po / pol / qa / r / r9k / s / s4s / sci / soc / sp / t / tg / toy / trash / trv / tv / u / v / vg / vp / vr / w / wg / wsg / wsr / x / y ] [Home]
4chanarchives logo
I need help with c++, a pretty basic code just for example, how
Images are sometimes not shown due to bandwidth/network limitations. Refreshing the page usually helps.

You are currently reading a thread in /g/ - Technology

Thread replies: 21
Thread images: 3
File: IMG_20160506_015703305.jpg (2 MB, 3264x1836) Image search: [Google]
IMG_20160506_015703305.jpg
2 MB, 3264x1836
I need help with c++, a pretty basic code just for example, how do i move the "EXAMPLE" in the CMD window ? Like go to the right then back automatically.
>>
>>54403045
>>>/wsr/
>huehuehuehue
and I didn't understand what you're trying to do
>>
Be lazy, add and remove spaces.
>>
or look into termcap
>>
>>54403045
explique isso direito, br
>>
>>54403045
>Taking a photo of your screen
>>
>>54403045
> using namespace std for 2 fucking lines
> using namespace std at all
> system(pause)
> wasting a fucking line after int main

Holy shit go back to JS
>>
>>54403045
Se eu entendi bem, você vai precisar procurar alguma biblioteca relacionada ao uso de pixels, e então definir alguns valores quanto a posição do seu texto. Mas, sério, se você quer mover texto, por quê não faz isso com html + javascript?
>>
I think you are looking for escape sequences, which are a way to output special characters like tabs and newlines. Adding \t in a string will make it display a tab, and \n will display a newline. So to move to move EXAMPLE to the right, insert some \t s before it like "\t\tEXAMPLE". To make it move downwards put some \n s before it.
>>
>>54403589
Pq eu sou um bosta e mal sei c++, eu queria fazer uma piroca que ficava se mexendo pra mandar pro meu professor
>>
>>54403045
e porra, não queime mais nosso país com umas threads dessa
>>
This thread is why I vote Trump
>>
>>54403572
>wasting a fucking line after int main

omg SAVE THE LINES
>>
File: 1462002989310.jpg (24 KB, 211x305) Image search: [Google]
1462002989310.jpg
24 KB, 211x305
This is obvious baot, dorks.

Quit feeding the troll and get back to fizzbuzzing.
>>
>>54403653
why are you trying to send a dick moving on the screen to your teacher?
>>
>>54403807
Idk desu
>>
>>54403877
Wtf, desu was my corrector.
I meant "desu"
>>
Fuck off and learn English, you mentally retarded donkey fucker.
>>
>I want to be a programmer!
>How do I take screenshots?
Well that's just great
>>
get visual studio
use ctrl+F5
no need system pause
>>
File: 1415666807241.jpg (77 KB, 600x450) Image search: [Google]
1415666807241.jpg
77 KB, 600x450
>>54403895
Welcome to 4chins
Thread replies: 21
Thread images: 3

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

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.
If a post contains personal/copyrighted/illegal content you can contact me at [email protected] with that post and thread number and it will be removed as soon as possible.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com, send takedown notices to them.
This is a 4chan archive - all of the content originated from them. If you need IP information for a Poster - you need to contact them. This website shows only archived content.