Posts
 
Reputation
Joined
Last Seen
Ranked #206
Strength to Increase Rep
+8
Strength to Decrease Rep
-2
64% Quality Score
Upvotes Received
23
Posts with Upvotes
17
Upvoting Members
18
Downvotes Received
15
Posts with Downvotes
9
Downvoting Members
13
30 Commented Posts
0 Endorsements
Ranked #779
~47.0K People Reached
Favorite Tags
Member Avatar for mini person
Member Avatar for Human01
Member Avatar for Keath Moore
1
433
Member Avatar for kinger29

C decides whether to sign extend or zero-extend when you cast an integer type based on whether it's signed or unsigned.

Member Avatar for trololo
0
11K
Member Avatar for khess
Member Avatar for artemis_f

[QUOTE=artemis_f;834384]I normally program in Java and Haskell to me seems completely alien and weird.[/QUOTE] That's because it is. I normally program in Haskell and Java seems deficient and limiting. I don't think you really get a benefit out of learning Haskell until you learn more about type classes. But the …

Member Avatar for sweetypie
1
996
Member Avatar for serkan sendur
Member Avatar for Sam.ars
0
1K
Member Avatar for newsguy

If you believe in freedom then that includes the freedom to buy whatever cellphone you want.

Member Avatar for thoughtcoder
0
330
Member Avatar for MosaicFuneral

Why aren't you using the signature [icode]double round_nplaces(double value, uint32_t to)[/icode]? Passing primitive types by reference is useless unless you want multiple return values. Also, you don't need to separate the value out into whole number / fractional part. Also your code doesn't even compile.

Member Avatar for MosaicFuneral
0
9K
Member Avatar for tux4life

Here's a better implementation of apow, assuming I don't have bugs. [code] double apow(double x, int y) { if (y < 0) return apow(1 / x, -y); double m = x, p = 1.0; while (y) { if (y & 1) p = p * m; m = m * …

Member Avatar for tux4life
0
536
Member Avatar for sneekula

Who gets viruses? You have to try hard to get viruses on Windows. Stop pirating software, then you won't get viruses.

Member Avatar for vegaseat
0
229
Member Avatar for carobee

There's nothing wrong with that. carobee, write a simulator for Conway's Game of Life. And then make it run faster.

Member Avatar for carobee
0
155
Member Avatar for xgmx
Member Avatar for s_sridhar
-1
416
Member Avatar for vandenzergen

Time travel is possible. The mind evolves at the rate of time travel. I am a visitor from the future and I got here by programming my mind. They ask that if time travel were possible, where are the time travelers? Well, here I am. We will have an openly …

Member Avatar for Salem
0
1K
Member Avatar for Poab9200

Beginner/Novice: Lacking most of the things mentioned below. Average/Intermediate: Inexperienced in the things mentioned below. Experienced at programming: [list] [*]able to make the most of the type system he's working with [*]thinks about API design in terms of how to minimize the amount of mistakes made while using the API …

Member Avatar for Poab9200
0
118
Member Avatar for serkan sendur

base-64 encode it. base-96 (or whatever) encode it. encode it into unicode characters.

Member Avatar for serkan sendur
0
2K
Member Avatar for serkan sendur
Member Avatar for Aia

[QUOTE=GrimJack;870064]I, personally, am against the immoral, unfettered precepts that capitalism stands for[/QUOTE] What is capitalism? [QUOTE=GrimJack] Blind adherence to [B][I][U][COLOR="Red"]any[/COLOR][/U][/I][/B] ideology[/QUOTE] Such as blind adherence to centrism?

Member Avatar for GrimJack
0
166
Member Avatar for cristane
Member Avatar for massivefermion

Ancient Dragon is an idiot and doesn't know what he's talking about. Look up the terms online and you'll find definitions, and you can use your brain to see how they're different.

Member Avatar for siddhant3s
0
187
Member Avatar for free_eagle

The language versions are called C# 2 and C# 3. It's perfectly fine to start with C# 2.

Member Avatar for jjoensuu
0
300
Member Avatar for Bramenator

[QUOTE=dickersonka;842281]you normally would use this singleton method for a configuration accessor class[/QUOTE] Hah! If only you knew the Hell I went through thanks to people thinking that. [QUOTE] or a group of data that needs to be shared throught the app without passing a class object around[/QUOTE] This situation (the …

Member Avatar for swain
0
175
Member Avatar for Undream

[QUOTE=Undream;865182]Ok, so this question spans from the typical "Math is/not needed for software engineering" I do believe that math is at least partially important, but I have to admit that i know pretty little of it...[/QUOTE] Math is very important for software engineering. It's impossible to write correct code without …

Member Avatar for BestJewSinceJC
0
138
Member Avatar for mus_203

The "first" answer? Any number congruent to 13 or 29 (mod 32) is correct. There is no "first" answer.

Member Avatar for thoughtcoder
0
111
Member Avatar for applebiz89
Member Avatar for serkan sendur

[QUOTE=verruckt24;865294]I fail to understand why this thread is named what it is. No one's interested in Rashakil Fol anymore I guess.[/QUOTE] I am very interested in him.* He is the reason I joined this forum. You should unban him! I bet you are just jealous of the size of his …

Member Avatar for ~s.o.s~
0
532
Member Avatar for hider
Member Avatar for thoughtcoder
0
139
Member Avatar for Sri_r

That's a vague question. No, nobody can help you with such a vague question.

Member Avatar for kvprajapati
0
83
Member Avatar for applebiz89

It's hard to understand what you're trying to do with all that unindented code.

Member Avatar for thoughtcoder
0
110
Member Avatar for NicAx64
Member Avatar for NicAx64
0
133
Member Avatar for Hiroshe

[QUOTE=Hiroshe;860238]Question 1: Is this easily reversable?[/QUOTE] Yes. If you have the key, you can xor it and add it to get back the original plaintext. [QUOTE=Hiroshe]Version 2) Then I thought that it might be more secure to do the subtracting stage in (2 bytes, 16 bits) rather than in (1 …

Member Avatar for thoughtcoder
0
144