Posts
 
Reputation
Joined
Last Seen
Ranked #3
Strength to Increase Rep
+16
Strength to Decrease Rep
-4
91% Quality Score
Upvotes Received
1K
Posts with Upvotes
939
Upvoting Members
284
Downvotes Received
75
Posts with Downvotes
71
Downvoting Members
55
632 Commented Posts
29 Endorsements
Ranked #45
Ranked #17
~1.92M People Reached
Favorite Tags
Member Avatar for Mr.M

> Anyone who knows how I can solve this problem? The short answer is don't put code in header files. Declarations go in header files, definitions go in source files. You get away with it in small projects where you only have one source file, and each header is included …

Member Avatar for Mr.M
0
209
Member Avatar for Lihui Zhang

You can do this with `xargs` find . -name "*.c" | xargs -d'\n' grep -w "main" Or if you know you want to search the same set of files many times. find . -name "*.c" > tmp.txt xargs --arg-file=tmp.txt grep -w "main" xargs --arg-file=tmp.txt grep -w "void"

Member Avatar for Lihui Zhang
1
33
Member Avatar for Dani

I'm a long-time moderator on cprogramming.com, but it's getting awfully quiet on many of the old forums. DiC was a loss, as was devshed. I seem to be most active now on reddit.

Member Avatar for Lihui Zhang
3
301
Member Avatar for Reverend Jim

There are 10 kinds of people in the world. Those that know binary, and those that don't.

Member Avatar for Reverend Jim
0
38
Member Avatar for azizulhaque

You have all the answers in your other thread. https://www.daniweb.com/digital-media/digital-marketing/search-engine-strategies/threads/542587/what-are-the-most-effective-seo-strategies-for-improving-organic-traffic

Member Avatar for Dani
-1
19
Member Avatar for cored0mp

How big is each record? If it's like say a customer record with maybe a dozen fields and taking up several hundred bytes of space, adding a single 32-bit timestamp isn't going to impact you. https://en.wikipedia.org/wiki/Entity%E2%80%93relationship_model Draw one of these for your [database schema](https://en.wikipedia.org/wiki/Database_schema) then consider which of the perimeter …

Member Avatar for WendyDolan
1
68
Member Avatar for Warren_12

Your app always needs to "phone home" to query the actual member status with your server. Otherwise, someone could log in twice, delete their account in one session and merrily carry on using their 'account' in the other session. Sure, you could use the cached version if the user is …

Member Avatar for Pelorus_1
0
31
Member Avatar for deceptikon

> hladysz said > please fix the condition: Please explain why you think this is the wrong condition.

Member Avatar for Salem
8
2K
Member Avatar for jackhicks121

If the drives are dropping out during normal operation, check the OS log files to see if any particular reason is reported. For all the drives, gather the [SMART](https://en.wikipedia.org/wiki/Self-Monitoring,_Analysis_and_Reporting_Technology) statistics.

Member Avatar for Salem
2
22
Member Avatar for cored0mp

I would suggest you do `pip list` in your working and non-working environments. It seems that `wrap_socket` is deprecated (and insecure) https://github.com/eventlet/eventlet/issues/795 I would have thought your `mysql` would have depended on the right version to begin with.

Member Avatar for cored0mp
1
58
Member Avatar for momentum2024

Which of the following things have you tried? 1. Cleared the cache and deleted all cookies in your browser 2. Tried with another browser 3. Tried with a browser running in "safe" mode - ie, without a bunch of plugins potentially messing with things they shouldn't 4. Tried with another …

Member Avatar for Salem
1
45
Member Avatar for Masika

Passing familiarity with a search engine would be high on the list of skills. https://duckduckgo.com/?q=cyber+security+training&t=newext&atb=v296-1&ia=web

Member Avatar for trueframe
1
111
Member Avatar for cored0mp

If your batch size is say 1K, and your user decides to spam you with say 10K+ records, what does it matter to you? - flush your existing batch queue - loop through the large request 1K at a time and immediately commit to the database using some batch update …

Member Avatar for DGPickett
1
191
Member Avatar for cored0mp

1. Get something working in Python if that's your comfort zone. 2. Profile it to find out where the bottlenecks are (do not make guesses, find evidence) For example, if the program is spending a lot of time waiting for I/O (aka the disk), then writing chunks of code in …

Member Avatar for Pelorus_1
2
69
Member Avatar for ClaudiaJesse

It doesn't require any 3rd party software. For example, I use Firefox profiles to separate my bank from my shops. https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles Coupled with quick-launch icons on the desktop, I find it to be a very easy to use solution.

Member Avatar for Salem
-2
19
Member Avatar for Hanginium65

First, let's prepare two tar files using different compression schemes for demo purposes. $ cat foo_1.txt This is file 1 $ cat foo_2.txt This is file 2 This is file two This is file too # Three tar files, two compressed and one uncompressed for reference $ tar -j -c …

Member Avatar for Salem
4
150
Member Avatar for R_4

1. Run the program in the debugger. 2. Put a breakpoint on `con.Open();` 3. Run the backup part of the program. 4. Print the contents of the `cmd` string, after it's made all the runtime substitutions. Is that string what you were expecting? The spaces around your double-back-slash seem out …

Member Avatar for Salem
0
52
Member Avatar for Reverend Jim

If you're sufficiently curious to study how the data arrives at your browser, and can wrangle some Javascript, then perhaps https://www.tampermonkey.net/ You can post-process the data to be whatever shape you want it to be.

Member Avatar for jkon
2
124
Member Avatar for prominermine

I thought this was going to turn into some kind of crypto nonsense on how to make money mining bitcoin or something.

Member Avatar for Salem
-1
14
Member Avatar for Nicolett

Well you can either: STFW with https://duckduckgo.com/?q=employee+retention+credit Wait for your sock-puppet to show up with their "recommendation".

Member Avatar for Salem
0
25
Member Avatar for jkon

Or you just learn how to use the tools. If you want only reddit, then type this into your search: `c programming language site:reddit.com` If you want everything but reddit, then type this into your search: `c programming language -site:reddit.com`

Member Avatar for jkon
0
119
Member Avatar for manmohan419
Member Avatar for aishamushtaq
0
92
Member Avatar for samaru
Member Avatar for Thomasio

If you want to know what windows is up to when you do something, then try using https://learn.microsoft.com/en-us/sysinternals/downloads/procmon

Member Avatar for Thomasio
0
183
Member Avatar for AndreRet
Member Avatar for Salem
0
46
Member Avatar for tiffani

[url]http://it.acronymfinder.com/af-query.asp?string=exact&acronym=csp&s=r[/url] Maybe we can't figure out which meaning of CSP you're talking about. > Is simple hill-climbing a complete algorithm for solving CSPs? That looks like a google question to me, if you'd done any research on the topic.

Member Avatar for Dani
0
114
Member Avatar for 3cats

So is that when you use [ICODE]for(int i = 0; i < len; i++)[/ICODE] rather than [ICODE]for ( string::size_type i = 0; i < len ; i++ ) {[/ICODE]

Member Avatar for Mahim_1
0
2K
Member Avatar for henks

> mov==getch(); > if(mov='d')//supposed to be right arrow, don't know how to You got them both wrong = is for assignment (the first one) == is for comparison (the second one)

Member Avatar for therese_1
0
502
Member Avatar for kanebt

Hell, with only 2 posts, you've already joined the top 25% of posters on the board. Only 8 more posts will get you into the top 2%!

Member Avatar for Олег_9
3
3K
Member Avatar for Deepak.G