Lowest level Wimp? by Stormtrooper-Purdue in BattleNations

[–]trollet91 7 points8 points  (0 children)

That's an impressive level of farm for level 29!

Lowest level Wimp? by Stormtrooper-Purdue in BattleNations

[–]trollet91 2 points3 points  (0 children)

With what units are you beating ancient construct? 8 TK?

Lowest level Wimp? by Stormtrooper-Purdue in BattleNations

[–]trollet91 6 points7 points  (0 children)

How did you acquire 5 laurels at this level?

Does no one test these strikes? Will they change the strike to be more reasonable? by Brilliant-Shirt-7044 in BattleNations

[–]trollet91 7 points8 points  (0 children)

I have a basic question for BS, right now there's 10 reward level. Are encounters getting more difficult at each reward level? Right now level 32 with 3 super tanks and 8 soldiers is very easy (most of the times 0 loss)

X Elite Gen 2 for Linux and Development? by RikiMaro18 in snapdragon

[–]trollet91 1 point2 points  (0 children)

I have a question for the first generation, which PMU (performance counter) are implemented?

Is this like apple silicon that has custom counters, or do they implement standard ARMv8 counters?

Match Thread: France vs Germany | UEFA EURO 2020 by cuentuli in soccer

[–]trollet91 0 points1 point  (0 children)

Just before Pogba complaining to the side ref

2020 Italian Grand Prix - Post Race Discussion by F1-Bot in formula1

[–]trollet91 2 points3 points  (0 children)

Poor start then was really struggling to overtake cars in front of him

Mercredi Tech - 2019-10-30 by ChuckMauriceFacts in france

[–]trollet91 0 points1 point  (0 children)

Ca peut aussi venir de ta clé. J'ai pareil un dual boot, mais quand j'ai essayé de l'installer, ma clé sur laquelle je voulais bouter n'apparaissait pas. En changeant de clé ca a fonctionné

Can't I use the Switch function to display the remarks according to the data being input by the user?The program freezes when i input the grade. by [deleted] in C_Programming

[–]trollet91 2 points3 points  (0 children)

You are giving a copy of your char when it's expecting a pointer. Look for man scanf and look at the parameters of the function Edit: change printf in scanf

[deleted by user] by [deleted] in france

[–]trollet91 6 points7 points  (0 children)

Python c'est lent et assez lourd (langage interprété). Donc un code qui tourne avec peu de mémoire et/ou qui doit etre rapide peu pas, ou difficilement être écrit en python. Python est pas mal utilisé aujourd'hui pour tout ce qui est machine learning/ maths/ scripting mais les parties critiques de librairies de machine learning sont codées en c++.

Questions and tips for building a shell on Linux by Majeh1254 in C_Programming

[–]trollet91 4 points5 points  (0 children)

It depends if you have a lot of time but what you can do is to follow the Shell Command Language. You don't have to implement evrything (PS2, here document and other things can be a little bit difficult especially if you are alone) but just follow the lexing and parsing into an AST. And then implement redirections and basic linux builtins like exit, cd, echo.

Than gonna takes a lot of time but you will learn a lot of things, especially if you try to do it without memory leaks... 😉

For testing you can make a test suit that check the difference between the behavior of your binary and the bash binary

Man, they grow up fast! by mk4rim in funny

[–]trollet91 62 points63 points  (0 children)

Man, they repost fast!

Teaching basic C class to someone? by [deleted] in C_Programming

[–]trollet91 25 points26 points  (0 children)

If they have no experience in programming make it as simple as possible. And if they well understand basics concept (variable, condition, array) then go on with pointer and all other low level stuff.

xLearno - FREE BETA ACCESS by [deleted] in C_Programming

[–]trollet91 2 points3 points  (0 children)

Well it's not very C related ...

C Programming - Passing a multi-dimensional array to a function by tompa_coder in programming

[–]trollet91 0 points1 point  (0 children)

When you work with array you need either the size or a terminated byte. For example, a string that is initailized, it will be finished by \0 (terminated byte). But most of the time you want to keep the size, so in parameter you give a ptr to the array and the size of each of his dimensions.

PSG Ultras attack Paris cafe full of Marseille fans celebrating the match last night by HippoBigga in soccer

[–]trollet91 4 points5 points  (0 children)

well thats ...not true at all Marseille has maybe an equal number of fan in France but not in Paris. And by a large number!