15,300 Posted Topics
![]() | Re: [Jingle Bells, Jingel Bells, ](https://www.youtube.com/watch?v=3PgNPc-iFW8) Merry Christmas, and Happy New Year (Hicup!) |
![]() | Re: 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. |
Re: 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 … | |
Re: >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 … | |
Re: 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. | |
Re: 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 ) { } … | |
Re: 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. | |
Re: Congrats on your 1 year anniversery -- may you have many many more. | |
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. … | |
Re: What DiasplayEvent() are you talking about? I know of no such MS-Windows api function. | |
Re: [Here's another related article](http://www.daniweb.com/software-development/cpp/threads/469900/qt-with-visual-studio-2010) | |
Re: 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 … | |
Re: Please explain your problem in more detail. Can we help you do what, exactly? | |
Re: >i am to try the gets() Don't bother with that. use getline() as nullptr suggested. | |
![]() | Re: Didn't notice any problems on my Windows 7 or 8.1 computers (I have one of each). |
Re: [This wiki article](http://en.wikipedia.org/wiki/Standard_deviation) explains how to calculate the sandard deviation. | |
| |
Re: 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), … | |
Re: 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/) | |
Re: 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. | |
Re: 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 … | |
Re: what do you want to do with the image? | |
Re: 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 … | |
Re: 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). | |
Re: 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 … | |
Re: Today's Most Active Members -- fades out so that I can't even read the bottom few lines. Was that on purpose? | |
Re: Is there a question or problem with your code? Why did you post it??? | |
Re: 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. | |
Re: If you don't know python why do you want to convert that code? Learn python then you can convert it yourself. | |
Re: 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:  | |
Re: How old is your computer? Is it the BIOS that doesn't recognized it, or the operating system (which one) | |
Re: You might check out some of [these free apps](http://www.downloadcollection.com/freeware/caps-lock-on-app-windows.htm) | |
Re: line 2 need escape characters `string text="I'm \"trying\" to search for quotes";` | |
Re: 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) | |
Re: 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. | |
[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. | |
Re: >>what is the logic behind initializing inner loop variable j=i+1 instead of j=0??? which post # are you talking about? | |
![]() | |
Re: testing [edit]Alt+S doesn't work for me either on Windows 8/Chrome | |
Re: 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 … | |
Re: >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 … |
The End.