-
Replied To a Post in when to use paper book and when ebook?
I don't think you want to use a Kindle in a hot tub:) A little like using a hair drying in one. Not very smart thing to do. >either forum … -
Replied To a Post in DOUBT IN == OPERATOR
floats and doubles can't be eaily compared for equality due to rounding errors in memory. Read [this](http://www.daniweb.com/software-development/cpp/threads/475310/someone-please-help#post2075679) related thread -
Replied To a Post in How to find ANCII value in C
Displaying the ascii value is simple -- just typecast it from int to char. -
Replied To a Post in a little help with the memory address of pointers
What compiler are you using? I tried that and got two different addresses. -
Replied To a Post in when to use paper book and when ebook?
I prefer ebook because I can change the font size to whatever I like, because ebooks aren't as heavy as paper books, and because people don't chop down any trees … -
Replied To a Post in Download python 2.7.6 for 32bit Windows
[Really](http://lmgtfy.com/?q=python+download)??? -
Replied To a Post in MxN matrix in Spiral Order.
Yes, but the numbers are all in ascending order if you read the lines from top to bottom, ignoring the arrows. It should be rather trivel to add the arrows. … -
Replied To a Post in Video Capture
There are a lot of articles about this, just [google](https://www.google.com/#q=c%2B%2B+video+capture+library) for them. -
Replied To a Post in a little help with the memory address of pointers
Maybe you did something wrong. This is what I get 00AFFF10 00AFFF04 Press any key to continue . . . #include<iostream> using namespace std; int main(){ int fish = 6; … -
Replied To a Post in Someone, please help!
line 121: You can not test two floats or doubles for equality due to possible rounding errors in memory variable. For example if you assign the value 5.5 to a … -
Replied To a Post in Someone, please help!
line 240: Suggestion: Save yourself a lot of grief by shortening that path down. In Visual Studio you can move the projects to another folder. I always put projects in … -
Replied To a Post in Loan Calculation
you could code it: `while (rem_bal > 0.0)` -
Replied To a Post in MxN matrix in Spiral Order.
That isn't, what i said was to sort it in ascending order because the final output is in ascending order. -
Replied To a Post in Loan Calculation
LINE 33 is doing integer division which means there are no decimals. So 20/100 is 0. You need to use float, for example` 20.0/100.0` -
Replied To a Post in MxN matrix in Spiral Order.
Of course there is -- look at the expected output, it's in ascending order from top to bottom. But maybe that is just a coincidence??? -
Gave Reputation to Minimalist in backup database
O.K. You can't just have one button to do the backup and restore at the same time. This doesn't make sense. So you need either 2 buttons, one to backup … -
Replied To a Post in MxN matrix in Spiral Order.
Once you get the 12 numbers why not sort them in ascending sequence then print them out like normal? Or is that considered cheating? -
Replied To a Post in Reading a file into Qt
Try reading [their documentation](http://qt-project.org/doc/). I don't use QT, I assumed, maybe wrongly, QT supported standard C++ libraries. -
Replied To a Post in question I am having difficulies with help pls
What language is this? My guess is C# but not sure. -
Replied To a Post in MxN matrix in Spiral Order.
what is the expected output? -
Replied To a Post in Issues copying and pasting text into a console screen buffer
Yes, but you will have to post it because my eyes are not good enough to see your monitor from where I am sitting. AFAIK there are no win32 api … -
Gave Reputation to Schol-R-LEA in Help! Random Game Number
The short answer is, `rand()` and `srand()` (which you should call at the beginning of the program before calling `rand()` for the time) are in `<stdlib.h>`, so you need to … -
Replied To a Post in Database connectitvity
Most likely you got some sql error(s), for example you might be attempting to insert a new row with data that duplicates a row already in the table and the … -
Replied To a Post in Linking exe in a lib
>In Windows if we create an exe with MSVC6.0 a corresponding ".lib" file is generated. No it is not. The lib file is only generated if you create a library … -
Replied To a Post in Restoring Windows 7 to factory defaults
If you are trying to get rid of a virus wouldn't it be a lot easier to just run an antivirus program and let it remove the virus then to … -
Replied To a Post in How to create an activity log in c#
Be aware that such a file is going to get pretty large very quickly if there are a lot of users being tracked, and you have only one function or … -
Replied To a Post in Random Number Game
call srand() at the very beginnning of the program, and before the first time rand() is used. Usually srand() is called with the return value from time() so that srand() … -
Replied To a Post in Could you help me with my c++ assignment plz?
>Does it mean that if i put for example Yes, you got it correct :) -
Replied To a Post in Could you help me with my c++ assignment plz?
>im afraid if i understood this assignment unproperly: Seems pretty clear assignment to me. What part don't you understand? Since you have to work with each digit of the number … -
Replied To a Post in Reading a file into Qt
Unless it's a binary file where you know the offset to the data you want, the only way to read the pieces you need is to read the whole file … -
Replied To a Post in Reading a file into Qt
It' just standard c++ ifstream and ofstream. When the program starts, try to open the file, if it success then read it. -
Replied To a Post in Help! Random Game Number
You have to include stdlib.h -
Replied To a Post in Help! Random Game Number
Do you have a question? -
Replied To a Post in more filters please
What has your rant have to do with DaniWeb? No one at DaniWeb can do anything about bad google results. Maybe you are just entering the wrong keywords in google?? -
Replied To a Post in Help with C-compiler
Dev-C++ is nothing more than an IDE -- it's not a compiler. MinGW is the compiler that is supplied with Dev-C++, same compiler that is supplied with Code::Blocks IDE. And … -
Replied To a Post in Passing String
>Like so,this works for me: You need a different compiler. >I think it is possible to do that You can not have one function inside another function in either C … -
Replied To a Post in Database connectitvity
I would use sprintf() to format the string char namne[20], sc[5]; char query[255] = {0}; // fill in name and sc not shown here sprintf(query,"INSERT INTO scores (Player,Score) VALUES ('%s','%s');", … -
Replied To a Post in Passing String
Is it correct? No. You can't nest one function inside another. #include <stdio.h> #incluede <string.h> void getname(char name[][50],int num) int main() { char name[5][50]; int numofname = 5; getname(name,numofname); } … -
Replied To a Post in Database connectitvity
I just compiled it with VS 2013, all I had to do was compile as C program and do some typecasting. Make sure the file name has \*.c file extension, … -
Replied To a Post in backup database
Like I said, just copy the files ([link](http://www.codeproject.com/Questions/327619/vb-net-how-to-copy-file-from-one-Directory-to-anot)) -
Replied To a Post in Why does Windows XP refuse to die?
what's the difference? -
Replied To a Post in Why does Windows XP refuse to die?
How do you get that XP will become open source? reactos is just writing a Windows os alternative, no mention of what version. -
Replied To a Post in Database connectitvity
Maybe you need a different compiler. Install Code::Blocks with MinGW compiler -- it's free. -
Replied To a Post in c# windows program
Missing quotes around the last item tsxid.Text -
Created Accelerated c++ By Example eBook
Anyone know where to BUY (not steal) this eBook? I don't want paperback because they are too difficult for me to read. I'd rather have eBook or PDF version so … -
Replied To a Post in admistrator key
You can't, you have to buy them. -
Replied To a Post in Find a guide to using an Interactive Development Environment
[Here](http://www.amazon.com/s/?ie=UTF8&keywords=visual+studio+2013&tag=googhydr-20&index=aps&hvadid=27634687687&hvpos=1t1&hvexid=&hvnetw=g&hvrand=20875496881860501544&hvpone=&hvptwo=&hvqmt=b&hvdev=c&ref=pd_sl_oadshh8sx_b) are some books that may help you. Experience is probably the best teacher. IMO most of the features of Visual Studio are just fluff, the best and most useful … -
Replied To a Post in Notation Confusion
What are you confused about? for i ← 0 to n − 1 do In c++ this would be `for(i = 0; i < n-1; ;)` or it could be … -
Replied To a Post in Random Facts
But you quoted the wrong person. [I'm the one](http://www.daniweb.com/community-center/geeks-lounge/threads/474917/random-facts#post2074123) who made comments that Mike quoted in his post. -
Replied To a Post in Random Facts
Jwenting: You mixed up who said what.
The End.