| | Name |
Line Count |
Sample Quote |
| 1 |
Salem |
   2210 |
28.8.2012 14:42 |
"size of union without using sizeof operator - How about int *a = &u..." |
| 2 |
laserlight |
   1265 |
29.9.2012 14:44 |
"Problems with recursive structure - Another thing: show_persons should..." |
| 3 |
iMalc |
   1079 |
15.6.2012 22:47 |
"Is GOTO a bad idea ever? - ---Quote (Originally by christop)--- I think..." |
| 4 |
grumpy |
   1030 |
2.5. 13:04 |
"Function to detect subsequence string - ---Quote (Originally by drawar..." |
| 5 |
Adak |
   961 |
21.7.2012 14:38 |
"Loop not working - ---Quote (Originally by Muppetlol)--- I don't get it..." |
| 6 |
std10093 |
   956 |
26.9.2012 23:26 |
"need help please. - ---Quote (Originally by rosemary)--- ok. i changed..." |
| 7 |
Elysia |
   845 |
9.7.2012 14:22 |
"trouble reading binary data file - No, you should focus on using the..." |
| 8 |
phantomotap |
   811 |
11.4.2012 6:18 |
"head gasket replacement 94 ford ranger - ---Quote--- I think my first..." |
| 9 |
AndiPersti |
   735 |
24.10.2012 0:32 |
"not running properly - Code: --------- fgets(command, MAX_CMD_LEN..." |
| 10 |
whiteflags |
   713 |
10.11.2012 18:02 |
"Vote! - And let me tell you that "modern democracy" isn'..." |
| 11 |
Click here |
  643 |
4.9.2012 3:51 |
"getting values from text file twice - Can you show your code so far?..." |
| 12 |
anduril462 |
   635 |
17.10.2012 20:10 |
"Advice needed, how to encode large arrays - ---Quote (Originally by..." |
| 13 |
Matticus |
   558 |
14.11.2012 6:05 |
"Validation - ---Quote--- Does it matter if behaviour is undefined? ---End..." |
| 14 |
oogabooga |
   509 |
21.4.2012 0:15 |
"total login time of each user in last - FYI, the code you've given simply..." |
| 15 |
stahta01 |
   497 |
29.5.2012 5:14 |
"code blocks windows pcap basic program - If you have no Library..." |
| 16 |
jimblumberg |
   492 |
8.3. 20:09 |
"Help with a program to spell check a file - ---Quote--- What is the best..." |
| 17 |
Elkvis |
   482 |
23.8.2012 18:17 |
"help hak plasea..? - this is an EXTREMELY simple task. you should try..." |
| 18 |
manasij7479 |
   390 |
21.4. 14:48 |
"Could someone please clarify enums for me - And just to confuse you..." |
| 19 |
Nominal Animal |
   363 |
6.7.2012 0:29 |
"Need help understanding a piece of code - Let me reiterate: unless..." |
| 20 |
c99tutorial |
   346 |
22.1. 1:31 |
"What exactly does #ifdef DEBUG do? - DEBUG sounds like it's a name..." |
| 21 |
dmh2000 |
  269 |
1.11.2012 1:36 |
"Reversing a string - ---Quote--- That function doesn't care about the..." |
| 22 |
rogster001 |
   266 |
4.8.2012 0:19 |
"And you thought your bugs were bad! - yes its crazy - The weird thing..." |
| 23 |
christop |
   251 |
16.11.2012 17:57 |
"my good friend Mr Seg Fault - You're still not allocating enough space..." |
| 24 |
ZuK |
   242 |
28.8.2012 22:43 |
"Stumped - Sorry. My only excuse is that it has been a hard day. Kurt" |
| 25 |
rags to riches |
  234 |
5.6.2012 4:12 |
"Pass 2d array to function - There's just so much wrong... Start here:..." |
| 26 |
ledow |
 211 |
31.5.2012 18:40 |
"strdup and malloc - strcpy does not allocate memory, it just copies what..." |
| 27 |
brewbuck |
  206 |
17.2. 1:14 |
"FIFO queue vs Link List - ---Quote (Originally by DeeMan)--- Hello everyone..." |
| 28 |
rcgldr |
   201 |
20.4. 9:45 |
"how can I reboot system,with one line c++ code? - You can follow..." |
| 29 |
VirtualAce |
  195 |
22.6.2012 2:28 |
"XML parsing with C++ - Xerces is a fine piece of software as long as..." |
| 30 |
memcpy |
   191 |
12.9.2012 16:27 |
"I suck at programming - ---Quote (Originally by cfanatic)--- ALWAYS..." |
| 31 |
Subsonics |
   186 |
17.5.2012 19:04 |
"File between functions - ---Quote (Originally by skg29)--- I removed..." |
| 32 |
Malcolm McLean |
  182 |
11.4. 13:42 |
"Find closest point on a line? - ---Quote (Originally by xArt)--- Thanks..." |
| Count |
Name |
Randomly selected sample (amount) |
| 152 |
Salem |
"persist"(3), "eString"(3), "num_entd"(5), "scrolled"(3), "imported"(3), "reviewing"(6), ... |
| 59 |
grumpy |
"HelloQt"(4), "exceeded"(5), "greet.h"(3), "stupidly"(4), "size_reg"(3), "last_move"(3), ... |
| 41 |
AndiPersti |
"deposit"(18), "notebook"(8), "DataField"(11), "wordnum"(4), "arcsinh"(3), "*theNum"(3), ... |
| 39 |
Elysia |
"lvalues"(4), "nagging"(3), "Stephan"(3), "antique"(3), "showMenu"(5), "TechTalk"(4), ... |
| 38 |
Adak |
"catalan"(5), "**words"(4), "briefcase"(7), "itemized"(3), "abhorred"(3), "practiced"(6), ... |
| 34 |
phantomotap |
"insults"(5), "invited"(5), "agument"(4), "tripped"(3), "generics"(6), "*thing*"(3), "Turtles"(3), ... |
| 33 |
laserlight |
"closed*"(10), "someint"(4), "gcc.exe"(5), "denotes"(3), "restored"(4), "hash_map"(4), ... |
| 33 |
std10093 |
"strnpow"(5), "usefull"(4), "inspired"(7), "diameter"(6), "reversi"(3), "narrowed"(5), ... |
| 28 |
anduril462 |
"lefence"(15), "lcurses"(12), "anyones"(3), "tabstop"(3), "breakdown"(9), "**table"(3), ... |
| 28 |
oogabooga |
"stuffit"(5), "fbuffer"(4), "Federal"(3), "getch.o"(3), "sentinal"(3), "m_length"(3), ... |
| Count |
Names |
Randomly selected sample (amount) |
| 38 |
Salem and grumpy |
"sendfile"(16), "analyse"(8), "class"(4), "#RANDOM"(4), "new-line"(7), "WorkPATH"(4), ... |
| 21 |
Salem and laserlight |
"max_size"(17), "bsearch"(9), "Bloodshed"(14), "selfish"(6), "TABULAR"(6), "ToolBar"(6), ... |
| 20 |
Salem and Elysia |
"createfile"(28), "provider"(10), "cartype"(6), "newSize"(5), "eyesore"(4), "World\n"(4), ... |
| 19 |
Salem and AndiPersti |
"products"(29), "*result"(9), "**array"(5), "addFront"(7), "serving"(4), "tracked"(4), ... |
| 19 |
Salem and iMalc |
"foo.cpp"(18), "Breadth"(11), "*message"(8), "Supposedly"(14), "Dynamical"(6), ... |
| 18 |
Salem and phantomotap |
"workers"(14), "timeout"(12), "mystruct"(15), "Dilemma"(10), "presently"(13), "handful"(6), ... |
| 17 |
laserlight and iMalc |
"traversal"(19), "Proplem"(11), "toReturn"(9), "cycling"(5), "newArray"(6), "destroys"(5), ... |
| 16 |
iMalc and grumpy |
"computes"(16), "inlined"(6), "evident"(4), "compose"(4), "compller"(6), "threshold"(9), ... |
| 15 |
grumpy and manasij7479 |
"diferent"(6), "coreboot"(6), "actively"(5), "moderate"(4), "probable"(3), "recomended"(9), ... |
| 15 |
grumpy and Elysia |
"symptom"(6), "size_type"(11), "clashes"(4), "invokes"(4), "Getters"(4), "freedom"(4), ... |
| 1 | |
Salem |
| |
|
| Lines: 2210 |
| Days active: 399/426 |
| Average lines per day: 5,5 |
| Average letters per line: 242 |
|
|
| Question ratio: 38% |
| Exclamation ratio: 11% |
|
|
|   |
| | Weekly activity |
| Hourly activity |
| Last 20 days |
| 2 names used |
| Mostly active with: |
|
|
|
|
|
| grumpy |     |
| Cat |     |
| std10093 |     |
| Adak |    |
| memcpy |     |
|
|
|
Recent activity
| 19.5. 23:10 | Salem Bit Packing Issue - Given Code: --------- struct foo { uint8_t a:4; }; --------- You don't know in advance (and have no control over) whether the compiler uses xxxxNNNN or NNNNxxxx (the low or high nibble) - that's the "The order of allocation of bit-fields" statement in the standard. |
| 20.5. 7:50 | Salem What is the MIDI documentation for C in Windows 7? - http://cboard.cprogramming.com/windows-programming/156883-wh at-midi-documentation-c-windows-7-a.html#post1163553 |
| 22:49 | Salem Problem finding the condition for loop - It's probably best to use the information given in the question. |
|
| |
| |
| 2 | |
laserlight |
| |
|
| Lines: 1265 |
| Days active: 337/426 |
| Average lines per day: 3,8 |
| Average letters per line: 253 |
|
|
| Question ratio: 39% |
| Exclamation ratio: 7,2% |
|
|
|   |
| | Weekly activity |
| Hourly activity |
| Last 20 days |
| Mostly active with: |
|
|
|
|
| grumpy |     |
| std10093 |     |
| Click here |    |
| Adak |     |
| whiteflags |    |
|
|
|
Recent activity
| 18.5. 21:41 | laserlight Confusing bit shift behaviour, bits set after right shift - ---Quote (Originally by rcgldr)--- I thought this was a defined behavior in C (right shifting of signed negative numbers retains the sign). ---End Quote--- Well, it is defined, implementation defined: ---Quote (Originally by C99 Clause 6.5.7 Paragraph 5)--- The result of E1 >> E2 is E1... |
| 22:29 | laserlight clone() function, what do I need it for? - ---Quote (Originally by Absurd)--- /* some pointers that points to * dynamic allocated memory here*/ ---End Quote--- Not a good idea. Where feasible, you should be using the standard (or other) containers or smart pointers rather than such pointers with ownership. If you do need to... |
| 19.5. 8:16 | laserlight Confusing bit shift behaviour, bits set after right shift - ---Quote (Originally by rcgldr)--- Was it ever a defined operation in ANSI C or older versions (C89, C90, K&R C)? ---End Quote--- The rule is the same for C89/C90. I have no clue for K&R. ---Quote (Originally by rcgldr)--- I don't know if C99 specifies how signed numbers are to be... |
|
| |
| |
| 3 | |
iMalc |
| |
|
| Lines: 1079 |
| Days active: 349/426 |
| Average lines per day: 3,1 |
| Average letters per line: 266 |
|
|
| Question ratio: 31% |
| Exclamation ratio: 12% |
|
|
|   |
| | Weekly activity |
| Hourly activity |
| Last 20 days |
| Mostly active with: |
|
|
|
|
| grumpy |     |
| oogabooga |    |
| Elysia |     |
| std10093 |     |
| rcgldr |     |
|
|
|
Recent activity
| 19.5. 22:31 | iMalc Copy control of Binary Tree - Pseudocode for tree deletion that wont cause a stack overflow: Code: --------- while head is not null if head's left child is not null rotate right at the head node else set temp equal to head's right child delete head |
| 20.5. 22:22 | iMalc Linked List Sorting - ---Quote (Originally by MutantJohn)--- Nevertheless, I've figured out a way to improve the efficiency of the algorithm (insertion sort!) and this will remedy the situation entirely. Let's just multithread this! Split the array into equally long (or about as equal as you can get it) segments in... |
| 22:24 | iMalc Binary search tree - No your latest code is wrong. "->right" does not appear anywhere, so how is it ever supposed to go down into a right subtree?! |
|
| |
| |
| 4 | |
grumpy |
| |
|
| Lines: 1030 |
| Days active: 327/426 |
| Average lines per day: 3,1 |
| Average letters per line: 295 |
|
|
| Question ratio: 28% |
| Exclamation ratio: 5,3% |
|
|
|   |
| | Weekly activity |
| Hourly activity |
| Last 20 days |
| Mostly active with: |
|
|
|
|
| laserlight |     |
| iMalc |     |
| Salem |     |
| Elysia |     |
| std10093 |     |
|
|
|
Recent activity
| 19.5. 16:36 | grumpy C program for prime numbers - "Obvious" is subjective. Do you think your code is clearer than this? Does it have different results? Code: --------- #include int main() |
| 20.5. 13:07 | grumpy Why do you need pointers to pointers? - ---Quote (Originally by c_weed)--- I'm having trouble understanding why pointers to pointers arise and am hoping someone could give me a very high level general explanation. For example int **myVar One thing I don't understand is int *myVar could be an array of int's - ok. But I don't see how... |
| 17:20 | grumpy Why do you need pointers to pointers? - ---Quote (Originally by Elkvis)--- this isn't the best example, because Factory() could simply return the pointer, but it gives you an idea of why you'd use a pointer to a pointer, not as an array. ---End Quote--- It's as good an example as any. There are very few problems for which there is... |
|
| |
| |
| 5 | |
Adak |
| |
|
| Lines: 961 |
| Days active: 275/426 |
| Average lines per day: 3,5 |
| Average letters per line: 270 |
|
|
| Question ratio: 31% |
| Exclamation ratio: 23% |
|
|
|   |
| | Weekly activity |
| Hourly activity |
| Last 20 days |
| Mostly active with: |
|
|
|
|
| christop |    |
| laserlight |     |
| Nominal Animal |     |
| AndiPersti |    |
| Salem |    |
|
|
|
Recent activity
| 13.5. 8:18 | Adak Mass file renaming help - ---Quote (Originally by rcgldr)--- As mentioned, putting the entire path and name within quotes and using this as if it was a command should work: "\Pelles C Projects\example.pdf" ---End Quote--- That works fine, UNLESS the path or file name has a space in it, then it fails. That was my... |
| 19.5. 4:50 | Adak C program for prime numbers - Welcome to the forum, arslan20! Don't worry that your code is "not acceptable" - because no real beginner's code is acceptable. We just aren't born with the knowledge and skill of C programming already inside. By definition, every beginner's code is unacceptable, until they've mastered the... |
| 18:37 | Adak C program for prime numbers - You need to work through the C tutorial, which is linked at the top of this forum, slowly and carefully. You will learn a TON of C, I promise. As far as your prime program - well, it's really not YOUR program is it? It's pretty easy to find other programs to do what you want, but if you do that,... |
|
| |
| |
| 6 | |
std10093 |
| |
|
| Lines: 956 |
| Days active: 230/426 |
| Average lines per day: 4,2 |
| Average letters per line: 236 |
|
|
| Question ratio: 33% |
| Exclamation ratio: 19% |
|
|
|   |
| | Weekly activity |
| Hourly activity |
| Last 20 days |
| Mostly active with: |
|
|
|
|
| laserlight |     |
| cfanatic |     |
| Matticus |    |
| Elysia |    |
| grumpy |     |
|
|
|
Recent activity
| 19.5. 18:45 | std10093 Functions - ---Quote (Originally by SCRIPT_KITTEH)--- Ohhh, so it doesn't matter that the defining of the function was after printf called the function, the program is smart enough to use the definition regardless of where it is? ---End Quote--- Exactly! Bravo! That's the answer :) ---Quote (Originally... |
| 20.5. 12:52 | std10093 Stack Overflow in liars10000.txt - How can I measure performance? - We have as a bonus assignment to write the liars problem (http://en.wikipedia.org/wiki/Liar_paradox) in programming with constraints (with prolog, in certain environments, ic, fd, swi-prolog, etc.) We are given some txt files, with the input, which is of the form claim1 claim2 ... claimN... |
| 17:26 | std10093 Stack Overflow in liars10000.txt - How can I measure performance? - If I was in C/C++, I would do that with malloc/new, but how can I do something like that in prolog? The only thing that comes to mind is the assert/retract, but this is for the database of the program... Since it's a bonus assignment, nothing has been told in class :/ |
|
| |
| |
| 7 | |
Elysia |
| |
|
| Lines: 845 |
| Days active: 242/426 |
| Average lines per day: 3,5 |
| Average letters per line: 250 |
|
|
| Question ratio: 36% |
| Exclamation ratio: 9,7% |
|
|
|   |
| | Weekly activity |
| Hourly activity |
| Last 20 days |
| Mostly active with: |
|
|
|
|
| whiteflags |     |
| grumpy |     |
| Elkvis |     |
| std10093 |    |
| phantomotap |     |
|
|
|
Recent activity
| 19.5. 22:33 | Elysia "Subscript requires array or pointer type." - I suggest you get to learn std::array or std::vector lest you make buffer overruns or corrupt data. Also declare variables near first use. You can declare them in the initialization part of the for loop too! Some material to help you: SourceForge.net: Safer arrays in Cpp - cpwiki... |
| 20.5. 3:08 | Elysia "Subscript requires array or pointer type." - Don't remove variable names in the declaration: SourceForge.net: Do not remove parameter names - cpwiki (http://sourceforge.net/apps/mediawiki/cpwiki/index.php?title =Do_not_remove_parameter_names) |
| 4:13 | Elysia using maps - I see the problem. I didn't actually think it would do that >_< So I am left with the alternatives of: - (1) Incorrectly allow lvalues to be move by default (bad), but correctly move values into container (good). - (2) Not allow lvalues to be moved by default (good), but incorrectly copy values... |
|
| |
| |
| 8 | |
phantomotap |
| |
|
| Lines: 811 |
| Days active: 239/426 |
| Average lines per day: 3,4 |
| Average letters per line: 267 |
|
|
| Question ratio: 43% |
| Exclamation ratio: 12% |
|
|
|   |
| | Weekly activity |
| Hourly activity |
| Last 20 days |
| Mostly active with: |
|
|
|
|
| manasij7479 |     |
| Elysia |     |
| laserlight |     |
| grumpy |     |
| iMalc |     |
|
|
|
Recent activity
| 20.5. 14:09 | phantomotap Linked List Sorting - [Edit] O_o Nevermind. There is apparently something wrong with your reading comprehension. Pointing this stuff out was a waste of time. [/Edit] |
| 14:53 | phantomotap Vectorization - ---Quote--- I totally misunderstood vectorization then. ---End Quote--- O_o No. It seems I misunderstood you. Well, you used "implement" with `int', a standard type with no normal vectorization support, in your example so I thought you were trying to get vectorization using native stuff. |
| 15:40 | phantomotap Linked List Sorting - ---Quote--- You've obviously been told that using a parallel processor doesn't change big O, but that's not true. ---End Quote--- O_o Neither parallel execution nor "wall clock time" is measured by "Big O". I don't know what complexity scale you are using or pretending to use, but you are... |
|
| |
| |
| 9 | |
AndiPersti |
| |
|
| Lines: 735 |
| Days active: 246/426 |
| Average lines per day: 3,0 |
| Average letters per line: 270 |
|
|
| Question ratio: 40% |
| Exclamation ratio: 13% |
|
|
|   |
| | Weekly activity |
| Hourly activity |
| Last 20 days |
| Mostly active with: |
|
|
|
|
| Adak |    |
| std10093 |     |
| iMalc |    |
| laserlight |     |
| Salem |     |
|
|
|
Recent activity
| 20.5. 10:36 | AndiPersti how to make script start over or exit on Y/N prompt? - ---Quote (Originally by lleb)--- how do i get the while to wait for an answer before it chooses to either continue or exit? so im reading BUFFER in my fgets from standard input, but its not waiting for an input. ---End Quote--- The problem is that you are mixing scanf() and fgets() which... |
| 10:46 | AndiPersti Please help!! Vertex Coloring Algorithm - You have an infinite loop. Bye, Andreas |
| 20:02 | AndiPersti Binary search tree - ---Quote (Originally by ezionice)--- This code is correct? ---End Quote--- One important part of programming is testing the code you write. So instead of asking people on the internet whether some code is correct you should write your own tests and find out yourself. Did you test your first... |
|
| |
| |
| 10 | |
whiteflags |
| |
|
| Lines: 713 |
| Days active: 307/426 |
| Average lines per day: 2,3 |
| Average letters per line: 265 |
|
|
| Question ratio: 33% |
| Exclamation ratio: 11% |
|
|
|   |
| | Weekly activity |
| Hourly activity |
| Last 20 days |
| Mostly active with: |
|
|
|
|
| Elysia |     |
| laserlight |    |
| std10093 |     |
| grumpy |    |
| Adak |     |
|
|
|
Recent activity
| 19.5. 7:30 | whiteflags Copy control of Binary Tree - ---Quote--- BTW... now I have revised my class.. And I get segmentation fault.. why I am getting segmentation fault Code: --------- struct TreeNode{ TreeNode()=default; |
| 10:47 | whiteflags Copy control of Binary Tree - I commented earlier that destruction was wrong and I wasn't sure how to comment apart from that. I will try harder now, although I still prefer the "rotate and delete a list" way of doing it. There's no recursion that way and I find that healthy. The main problem with a tree data structure... |
| 18:06 | whiteflags Copy control of Binary Tree - Well the rotate and delete a list way has to do with changing the structure of the tree to make it easier to delete in a loop. Normally, rotation is used to balance trees, but if you keep rotating in one direction, you make a list of nodes. If every node in the tree is on one side, it is easier to... |
|
| |
| Line length |
Count |
Names |
| 300.. |
24 |
chaucer345(358), illiseboararl(339), hefese(328), scrfix(319), MutantJ... |
| 290..299 |
12 |
comocomocomo(299), C ntua(299), cas(298), novacain(296), grumpy(... |
| 280..289 |
14 |
Rick19468(290), kmdv(290), c99tutorial(290), Dude22(288), tennisstar... |
| 270..279 |
24 |
workisnotfun(279), jeremy duncan(278), Barney McGrew(277), A34C... |
| 260..269 |
28 |
fnprintf(269), c weed(269), clmoore3(269), generaltso78(269), Swoor... |
| 250..259 |
36 |
bos1234(260), Cynic(260), Dawud.Beale(259), ppdouble(259), Shakti(... |
| 240..249 |
19 |
cyberfish(250), Yarin(250), LearnOnTheFly(249), aquilina(248), bakri(... |
| 230..239 |
17 |
Therry(240), DeadPlanet(237), november1992(236), gemera(236), std... |
| 220..229 |
20 |
JayCee++(229), sharonch(228), skmightymouse(228), DRK(228), Meer... |
| 210..219 |
21 |
camel-man(220), NetworkLearning(220), Shinzu911(220), drew99(21... |
| 200..209 |
13 |
Gil Carvalho(209), leo2008(208), xeon321(207), C programmer.C(205),... |
| 190..199 |
12 |
Aslaville(199), kdun(199), CASHOUT(199), acho.arnold(199), TheBigH... |
| ..189 |
15 |
Ducky(187), shansajid(184), ilans11il(183), alphasil(182), Bsmooth01(... |