344 Posted Topics

Member Avatar for Ghost0s

For `S = 1/n`, as 1 and n are both integers you are performing integer division. Assume that n = 4, then the answer is equivalent to asking "How many times does 4 go into 1" - answer = zero times. To solve this, you need to make the first …

Member Avatar for ddanbe
0
151
Member Avatar for Siberian

To achieve what you are wanting to do, you need to move all the files from `C:\Custom Program Settings\Sublime-Packages` to `C:\Users\<name>\AppData\Roaming\Sublime Text 2\Packages` and then **Delete** `C:\Custom Program Settings\Sublime-Packages`. Once you've done that the mklink command will work. i.e. All files destined for `C:\Custom Program Settings\Sublime-Packages` will be directed to …

Member Avatar for Siberian
0
2K
Member Avatar for Schmelz
Member Avatar for Minimalist

Have you tried running Malwarebytes Anti-Malware? There's usually an executable that auto starts with Windows that keeps installing the addon each time it's removed.

Member Avatar for IntegratedTweak
1
233
Member Avatar for Mr.M

PsSetCreateProcessNotifyRoutineEx is a kernel mode callback that you would use in a KM driver. Are you developing a driver?

Member Avatar for Mr.M
0
265
Member Avatar for Suzie999

As ddanbe pointed out, the byte value is being converted to an integer - BitArray(int32). Effectively what you have written is: BitArray bitArray = new BitArray(255); 255 bits all set to 0 (false).

Member Avatar for ddanbe
0
421
Member Avatar for mouaadable

Click the properties button, highlight 'Internet Protocol Version 4 (TCP/IPv4)', then click Properties. Make sure that 'Obtain an IP address automatically' is selected.

Member Avatar for mouaadable
0
361
Member Avatar for Suzie999

Something like: for (int h = 0; h < height; h++) { for (int w = 0; w < width; w++) { // do whatever // pPixels[w + h*width]; } }

Member Avatar for Suzie999
0
1K
Member Avatar for sherwin_2
Member Avatar for rproffitt
0
111
Member Avatar for hefaz
Member Avatar for jkon

I think the teachers of these coding classes tell their students "If you have any problems, just copy/paste your homework on Daniweb - the people there really dig that kind of thing".

Member Avatar for Dani
3
1K
Member Avatar for diafol

After their performance against a bumbling Australia, I'm surprised that no one is screaming "Uruguay FTW!"

Member Avatar for diafol
0
244
Member Avatar for cambalinho
Member Avatar for SAMMY12345

Supposedly, the telemetry data gathered is used to personalize your experience and provide ads "specially tailored to you". If windows was free, I could understand some advertising, but not for an operating system that I pay for.

Member Avatar for jacob81
0
290
Member Avatar for minitauros
Member Avatar for nullptr

`Inline Code Example Here` I just noticed a post that contained 'Inline Code Example Here'. This can be reproduced by not selecting any code, then pressing the |>_Inline Code| button. Is this by design or a bug?

Member Avatar for Reverend Jim
0
215
Member Avatar for Dani

I think it would be more appealing if it were written in the first person - or at least the opening spiel. :)

Member Avatar for diafol
0
377
Member Avatar for Reverend Jim

I've just noticed some anomalies when I try to paste code that aren't consistent with how things previously operated. I can't recall exactly what it was, but I ended up with the code being double tabbed.

Member Avatar for Reverend Jim
0
355
Member Avatar for Hermelix

Here's your code, formatted and with curly braces as ddanbe explained. #include <stdio.h> int main(void) { int w; double v, s, t; printf("Dieses Programm berechnet Geschwindigkeiten, Wegdifferenzen und\n" "Zeitdifferenzen fuer eine gleichfoermige Translation.\n" "1 ... Berechnung der Geschwindigkeit\n" "2 ... Berechnung der Wegdifferenz\n" "3 ... Berechnung der Zeitdifferenz\n"); printf("Bitte waehlen …

Member Avatar for AndrisP
0
588
Member Avatar for Testt

> Hi all i already got a solution thanks for all the input. Cheers Did you go with a cruise missile perchance?

Member Avatar for gentlemedia
0
573
Member Avatar for cambalinho
Member Avatar for shashank_n

Lelelele, it would be preferable if you started a new thread rather than resurrect a prehistoric thread. You also need to explain in more detail what problems you are having with your PC, what browser you're using and anything else of relevance.

Member Avatar for Paul_36
0
4K
Member Avatar for tony75

> My exe file contain my mail and password Why does it need to contain your password? Isn't that just asking for trouble?

Member Avatar for Slavi
0
3K
Member Avatar for DS9596
Re: C++

From what I see at a glance, you've declared a `class G_master` Above that you have variables with the same names as variables and functions in your class. Many of the class functions are undefined and some make no sense. e.g void G_master::respond() { switch (m_choice) { case 1: { …

Member Avatar for David W
0
458
Member Avatar for SAMMY12345
Member Avatar for COKEDUDE

From the [GNU C library](http://www.gnu.org/software/libc/manual/html_node/Other-Output-Conversions.html): The ‘%m’ conversion prints the string corresponding to the error code in errno.

Member Avatar for nullptr
0
110
Member Avatar for nullptr

When I go to Web Development Discussion Community and scroll down to the post titled "What skills do you need to become a good web developer?", I see in the post snippit *Hi, I'm Olivia, 16 years old and I guess I've always been a bit geeky. ~snip~* If I …

Member Avatar for nullptr
0
337
Member Avatar for diafol

> I've also seen many times where a newbie will mark their own new thread solved because they don't realize what the button means. I think sometimes they're just seeing if they can rort the reputation system.

Member Avatar for nullptr
1
236
Member Avatar for Porady

A poor attempt at spam with definite need for a spellchecker. What's an energy suplayer? A high voltage hip chicken?

Member Avatar for Reverend Jim
0
100
Member Avatar for kavinsac

If I'm reading your mind correctly, remove the frame that's redirecting to ***.i.illuminationes.com. The obfuscated code repeats 4 times.

Member Avatar for diafol
0
135
Member Avatar for IntegratedTweak

> Some things say "NetworkServiceNetworkRestricted" or "LocalServiceAndNoImpersonation" does this mean the internet is not connecting? No, they are basically just service categories, each instance of svchost.exe will be running 1 or more services. For example: NetworkServiceNetworkRestricted Commandline: C:\Windows\system32\svchost.exe -k NetworkServiceNetworkRestricted Services: PolicyAgent IPsec Policy Agent C:\Windows\System32\ipsecsvc.dll LocalServiceNoNetwork Commandline: C:\Windows\system32\svchost.exe -k …

Member Avatar for IntegratedTweak
0
241
Member Avatar for DDoerschuk

Scan your system with Eset's online scanner. If Ramnit is detected, repeat the scan until it's no longer detected. http://www.eset.com/us/online-scanner/ Post back with the results.

Member Avatar for nullptr
0
935
Member Avatar for IntegratedTweak
Member Avatar for commando1200

[This article](http://www.pcworld.com/article/157966/laptop_security.html) does a decent job of explaining the role of a TPM chip in hardware-based full disk encryption.

Member Avatar for nullptr
0
127
Member Avatar for apekodonkorjewel

I'm not sure but I think Dave was the bus driver and Victor ate fish.

Member Avatar for Julius_1
0
222
Member Avatar for Suzie999

I imagine that that is the entire point of the site, to be one giant PIA. `hxxps://www.daniweb.com/members/logout`

Member Avatar for nullptr
0
233
Member Avatar for mustaffa hasan

What version of MS Office? Do you get the error when trying to open a document? Are you able to launch Word from the Start Menu?

Member Avatar for rubberman
0
67
Member Avatar for Reverend Jim

My contribution: The lady played the piano with broken legs.

Member Avatar for Reverend Jim
7
5K
Member Avatar for naz1234

> there is wrong, because i can only put one value .. please help That's because you copy/pasted code that is irrelevant to the question from http://pastebin.com/JQeihwdQ

Member Avatar for nullptr
0
212
Member Avatar for Sayyo
Member Avatar for toneranger

The 5 minute data is only valid for the first 10420 bytes. Thereafter, the data is padded with the following sequence of bytes: 0x09 0x09 0x09 0x09 0x09 0x09 0x09 0x09 0x09 0x0D 0x0A

Member Avatar for David W
0
307
Member Avatar for Suzie999

Have a look at https://msdn.microsoft.com/en-us/library/aa394340%28v=vs.85%29.aspx and related example code.

Member Avatar for Suzie999
0
1K
Member Avatar for cambalinho
Member Avatar for ipswitch
0
272
Member Avatar for Mahnoor_1

Are you using the Orwell fork of Dev-c++? http://orwelldevcpp.blogspot.com.au/ If not, then I'd recommend updating.

Member Avatar for ipswitch
0
372
Member Avatar for nathan.pavlovsky

You have too many arguments as indicated. You could use: `transform(theReadMessage.begin(), theReadMessage.end(), theReadMessage.begin(), ::tolower);` Using a lambda: transform(theReadMessage.begin(), theReadMessage.end(), theReadMessage.begin(), [](char ch) { return tolower(ch); });

Member Avatar for nathan.pavlovsky
0
738
Member Avatar for strongard63

Using your above example for 1252345 n = 1252345 number = "" chunk_count = 0 number = 1252345 % 1000 = 345 <- convert to string n = 1252345 / 1000 = 1252 number = three hundred forty five + number = three hundred forty five chunk_count = 1 number …

Member Avatar for m.shajeeh
0
183
Member Avatar for festus_2

From the forum rules: **Do provide evidence of having done some work yourself if posting questions from school or work assignments** Post the code that you have written and explain any problems that you may be having.

Member Avatar for nullptr
0
114
Member Avatar for James_47
Member Avatar for StuXYZ
0
118
Member Avatar for Kausik_1

[Flush the input stream](https://www.daniweb.com/software-development/cpp/threads/90228/flushing-the-input-stream) after you get the value of X. After outputting the value of CDF, your program needs to pause so that CDF can be read. Format your code. That way the code will be far more readable and errors will be more obvious.

Member Avatar for Kausik_1
0
238
Member Avatar for irshad398

The End.