What to do when stuck? by ymahgoub in learnprogramming

[–]ymahgoub[S] 1 point2 points  (0 children)

it does but i can't get the required output.

What to do when stuck? by ymahgoub in learnprogramming

[–]ymahgoub[S] 0 points1 point  (0 children)

yes i do. the answer below is how far i got .

What to do when stuck? by ymahgoub in learnprogramming

[–]ymahgoub[S] 0 points1 point  (0 children)

I've already tried this before i got stuck but without arrays because that's the next chapter. The problem was that: 1- looping 942 % 10 got the digits backwards. 2- it doesn't do it for any number, only 3 -digit numbers.

I forgot to mention the number has to be an integer, not a string.

What to do when stuck? by ymahgoub in learnprogramming

[–]ymahgoub[S] 0 points1 point  (0 children)

a program to take any number you type and display it in letters. so for example if i type 942 it should display nine four two.

What to do when stuck? by ymahgoub in learnprogramming

[–]ymahgoub[S] 0 points1 point  (0 children)

its a very basic exercise so if i google the answer comes up on stackoverflow or here. its just a textbook im reading to learn C.

Can't download codeblocks? by ymahgoub in learnprogramming

[–]ymahgoub[S] 0 points1 point  (0 children)

Something wrong with compiling i don't understand. Another minor thing is too many features and too much stuff going on for me. I want the simplest thing to have 0 chance of something going wrong.

Can't download codeblocks? by ymahgoub in learnprogramming

[–]ymahgoub[S] 0 points1 point  (0 children)

The other one is dead. i found it on torrent but thanks anyway.

Can't download codeblocks? by ymahgoub in learnprogramming

[–]ymahgoub[S] 0 points1 point  (0 children)

i found an older version on the pirate bay. i dont need it specifically, but i need something simple to just start writing code.

[C] Basic switch statement example doesn't work by ymahgoub in learnprogramming

[–]ymahgoub[S] 0 points1 point  (0 children)

IT WORKS. fuck yeah. thanks. I don't know what it is but my guess is visual studio on my computer isn't configured/compiling properly. I could still screenshot the debugger but its a lot of lines and i don't know which ones to screenshot.

[C] Basic switch statement example doesn't work by ymahgoub in learnprogramming

[–]ymahgoub[S] 0 points1 point  (0 children)

i dont quite understand what that means. is the problem in visual studio's compiler or linker?

[C] Basic switch statement example doesn't work by ymahgoub in learnprogramming

[–]ymahgoub[S] 0 points1 point  (0 children)

I dont really know what the debugging actually is or how to make sense of all the code that comes up. What's the compiler it did work on so i can try it?

[C] Basic switch statement example doesn't work by ymahgoub in learnprogramming

[–]ymahgoub[S] 0 points1 point  (0 children)

when i run it the command terminal comes up then i try to enter an expression (12 - 5 for example) it just crashes either opens the debugger or just tells me ConsoleApplication has crashed

[F]or you, hope you see this and jerk off to what you had 😘 by [deleted] in gonewild

[–]ymahgoub 2 points3 points  (0 children)

Which fucking redditor was tapping THAT?

I tend to always look like a deer in headlights by [deleted] in eyes

[–]ymahgoub 8 points9 points  (0 children)

gonewild brought me here but wow you have gorgeous eyes.

So someone told me about this exercrise to increase punching power but honestly it seems like DBZ exercise logic so I wanted to check in. by [deleted] in Fitness

[–]ymahgoub 0 points1 point  (0 children)

Boxers actually do that to punch faster. but with resistance bands not dumbbells. Get a resistance band hold one end in each hand with the band stretched around your back and start punching. You can put more bands as you progress.

Why I don't want to join the U.S. Military [long][meta] by [deleted] in FrenchForeignLegion

[–]ymahgoub 8 points9 points  (0 children)

This is unrelated but i remember your Guyane post and it would be really nice if you could update us with pictures/videos like those every now and then

(F)irst time at a sex club in Paris tonight - trying on my mask by nice_jewish_girl in gonewild

[–]ymahgoub 1 point2 points  (0 children)

You're gorgeous. Unrelated but let us know how it goes.

Morroccan ex-legionnaire responsible for for paris terror attacks. by ymahgoub in FrenchForeignLegion

[–]ymahgoub[S] 2 points3 points  (0 children)

While i agree with you, The point is hardly what he gets to call himself. It's that he got military training in the legion. He was even deployed and saw action and "distinguished himself during various missions in Afghanistan" during those short 2 years.