15,300 Posted Topics

Member Avatar for Dani
Member Avatar for mussdroid

[Jingle Bells, Jingel Bells, ](https://www.youtube.com/watch?v=3PgNPc-iFW8) Merry Christmas, and Happy New Year (Hicup!)

Member Avatar for cproger
0
244
Member Avatar for Warrens80

Has to be vinalla ice cream, never tasted a bad brand of it. [Baskin- Robins](https://www.baskinrobbins.com/content/baskinrobbins/en.html) is good, but, like Starbucks, is overpriced.

Member Avatar for ddanbe
0
176
Member Avatar for tiverton

What new compiler did you install? Visual Studio will compile both 32 and 64 bit programs, its just an option change. The compiler itself is a 32 bit compiler and is always installed in the Program Files (x86) folder. Is your entire program contained within just one \*.cpp file? If …

Member Avatar for tiverton
0
264
Member Avatar for happygeek

>Xmas is the version that takes the Christ out of Christmas [Actually, no ](http://en.wikipedia.org/wiki/Xmas)-- xmas was the original spelling of Christ. > the "X" comes from the Greek letter Chi, which is the first letter of the Greek word Χριστός which comes into English as "Christ".[2] I was going to …

Member Avatar for GrimJack
6
269
Member Avatar for sadia.rasheed.9231

Please post the code you have done so far. No one here will write the program for you. Hint: you need to know how to read text files.

Member Avatar for Moschops
0
339
Member Avatar for RASHA_T

line 49: Why is time() part of the equation? rand() will generate a random number, no need to add value returned by time(). `int secret = 1 +(rand() % 100);` lines 56-65: Use a series of if statements instead of that switch statement. if( guess < secret ) { } …

Member Avatar for RASHA_T
0
238
Member Avatar for happygeek

Now that Christmas is over for another year -- Happy New (Hicup) Year everyone :) I plan to have a glass of champaign with a shot of brandy on new year's even.

Member Avatar for Ancient Dragon
3
307
Member Avatar for ImZick

Congrats on your 1 year anniversery -- may you have many many more.

Member Avatar for smallbites
0
201
Member Avatar for Ancient Dragon

I just finished upgrading Windows 7 Pro to Windows 8.1 Pro. I thought it was supposed to keep all files and applications, but only a few of the applications were carried over. Seems like I have to re-install most of the programs, especiall games, Office 365, and Microsoft Visual Studio. …

Member Avatar for master.ainorsoft
0
350
Member Avatar for primero
Member Avatar for abousetta
Re: C++

What DiasplayEvent() are you talking about? I know of no such MS-Windows api function.

Member Avatar for maheshd13
0
190
Member Avatar for Smartboy33

[Here's another related article](http://www.daniweb.com/software-development/cpp/threads/469900/qt-with-visual-studio-2010)

Member Avatar for Shiraz_1
0
425
Member Avatar for HiHe

They're not the only ones who have such server problems. Diablo III was similar when it was first released over a year ago. Blizzard sold millions of copies before the release date but yet the servers couldn't handle the huge workload. The only way to test a system with millions …

Member Avatar for mike_2000_17
1
858
Member Avatar for CreatorZeus

Please explain your problem in more detail. Can we help you do what, exactly?

Member Avatar for Ancient Dragon
0
230
Member Avatar for opel123
Member Avatar for Ancient Dragon
0
15K
Member Avatar for diafol
Member Avatar for Ancient Dragon
0
218
Member Avatar for <M/>

[This wiki article](http://en.wikipedia.org/wiki/Standard_deviation) explains how to calculate the sandard deviation.

Member Avatar for dev90
0
501
Member Avatar for ateeqbkr
Member Avatar for vegaseat

use fgets() instead of scanf() because it avoids buffer overflow problems if you type in more characters than name will hold. On the flip side of the coin you will have to remove the '\n' that fgets() will probably tack on to the end of the string. [icode]fgets( person->name, sizeof(person->name), …

Member Avatar for Ancient Dragon
1
470
Member Avatar for Brian_6

Check the hard drive to see if it's nearly filled up, also check the computer's memory -- could be a bad memory stick. I use [memtest86](http://memtest86.com/)

Member Avatar for Ancient Dragon
0
130
Member Avatar for Suzie999

Your link doesn't work. Why start a new program using pure win32 api? It is a lot easier just to use Windows Forms and CLR/C++, C# or VB.NET. Visual Studio will create a basic windows GUI app for you in just a few seconds.

Member Avatar for Ancient Dragon
0
543
Member Avatar for mrmodest34

You need to use two different clock_t variables, such as t1 and t2. set t1 before doing anything, such as on line 27, then set t2 after finishing, such as on line 50. Then just subtract the two. But, be warned that computers are very very fast so the difference …

Member Avatar for meta.quota
0
511
Member Avatar for kirtikesh
Member Avatar for kent.johnstone_1

I prefer dereferencing using -> because it's simpler and doesn't make me think about it. Similar to a native English speaking person reading code written in English instead of some other language that has to be translated into English. Both might do the same thing, but one is more easily …

Member Avatar for kent.johnstone_1
1
246
Member Avatar for Junior_1

I that an exe file you want us to download to our computers? Not going to happen because it's just too risky (viruses, malware, etc).

Member Avatar for meta.quota
0
321
Member Avatar for Builder_1

I'm not sure what you want. Something like this??? int main(int arc, char* argv[]) { std::string input; if( argc > 1) input = argv[1]; // get string from command-line argument else cin >> input; // get string from keyboard or from stdin } cin does not allow space in the …

Member Avatar for Ancient Dragon
0
703
Member Avatar for Dani

Today's Most Active Members -- fades out so that I can't even read the bottom few lines. Was that on purpose?

Member Avatar for happygeek
1
829
Member Avatar for iness.popovcic

Is there a question or problem with your code? Why did you post it???

Member Avatar for 2teez
0
109
Member Avatar for khader(ldo)

But beware of unconventional constructs like ++x-- or `y = ++x - x--;` Such constructs have undefined behavior, the compiler is free to produce any results it wants.

Member Avatar for Ancient Dragon
0
143
Member Avatar for davorka.tonkovic_1

If you don't know python why do you want to convert that code? Learn python then you can convert it yourself.

Member Avatar for Ancient Dragon
0
676
Member Avatar for ACE--

Good luck getting 200 text boxes on the same form. > txtb.Name = txtb.Name Huh? Why are you setting Name equal to itself? Question 3: What version of vb.net are you using -- I know vb.net 2013 makes it very easy to create excel worksheets, here is an example: ![fced9aa485ce9e9b0e3cecf6f0c9e27e](/attachments/large/0/fced9aa485ce9e9b0e3cecf6f0c9e27e.png …

Member Avatar for Reverend Jim
0
613
Member Avatar for Kumi_1
Member Avatar for haider885

What compiler and operating system are you using? AFAIK the ascii table doesn't have anything that will move the cursor, except for the backspace key.

Member Avatar for Ancient Dragon
0
676
Member Avatar for salah_saleh
Member Avatar for haider885

I don't get it. If the program is supposed to be similar to Notepad.exe, how is it supposed to use the S, L and Q characters as commands? That's more like the behavior of Edline.exe, which is a very old MS-DOS line editor. In Notepad you can't use characters as …

Member Avatar for Ancient Dragon
0
767
Member Avatar for roshan.parate.73

What is WAP? Google says it's " Wireless Appication Protico", but I doubt that's what you are talking about.

Member Avatar for L7Sqr
0
773
Member Avatar for mrnutty

Mine was from about 20 years ago when I played Dungeons and Dragons role playing board game. It has nothing to do with my real-life race -- I'm a WASP, not Chinese.

Member Avatar for Reverend Jim
0
687
Member Avatar for pritaeas

Ban alcohol -- Oh wait, we already tried that and it didn't work. Oh well, ban it again, along with tobacco, fast food, french fries, candy, ice cream, etc. because they are all bad for us and can kill us.

Member Avatar for diafol
0
981
Member Avatar for party4tool

How old is your computer? Is it the BIOS that doesn't recognized it, or the operating system (which one)

Member Avatar for Ancient Dragon
0
164
Member Avatar for damle1

You might check out some of [these free apps](http://www.downloadcollection.com/freeware/caps-lock-on-app-windows.htm)

Member Avatar for Ancient Dragon
0
209
Member Avatar for michelle.trinsky
Member Avatar for mrnutty
0
4K
Member Avatar for Herfiandre

You probably need to download and install the device driver for it. do you have the Verizon Wireless Pc5750 Usb Modem? If yes, then I think you can get the device driver from [here.](http://tags.topshareware.com/verizon-wireless-pc5750-usb-modem-driver/downloads/1.htm)

Member Avatar for Herfiandre
0
134
Member Avatar for dp121307

Can't help you if you don't post the code and the errors. My eyesight's too poor to see your monitor from where I'm sitting.

Member Avatar for Ancient Dragon
0
299
Member Avatar for Ancient Dragon

[Here's](http://www.upworthy.com/one-time-a-guy-gave-a-homeless-man-a-computer-and-the-recipient-did-exactly-what-the-giver-expected?c=ufb1) a good story about a homeless guy that learned how to write programs and was successful.

Member Avatar for jwenting
2
302
Member Avatar for mariners95

>>what is the logic behind initializing inner loop variable j=i+1 instead of j=0??? which post # are you talking about?

Member Avatar for johnnew
0
400
Member Avatar for Warrens80
Member Avatar for Dani
Member Avatar for <M/>
0
245
Member Avatar for kent.johnstone_1

what compiler are you using? Please post the contents of the \*.c file where the error appears, or at least the part from line 1 until the line that contains the error. Another hint: check calibration.h to see if it expects some macro definitions to be defined before including that …

Member Avatar for kent.johnstone_1
0
250
Member Avatar for edrianhadinata

>belajar1.cpp:17:3: warning: no newline at end of file Linking... Move the cursor to the end of the last line of your program, press the Enter key, then save. Some compilers don't like not having a '\n' at the end of the file. The other errors are because the program isn't …

Member Avatar for edrianhadinata
0
3K

The End.