-
Replied To a Post in Unit Conversion wit C++
If you want all the characters on the same line then remove the newline character '\n' from the cout statement(s). >The second comparism doesn't seem to come out well too … -
Replied To a Post in What's wrong with my code?
You might want to use sizeof there instead of hardcoding a number. That way when you change the size of the fields in the structure you won't have to bother … -
Replied To a Post in Finding a specific digit in a number
line 26 has two problems: position should not be decremented on line 26, decrement it after line 29. the loop should continue while position > 0 instead of > 1. -
Replied To a Post in What's wrong with my code?
The problem is that there is no memory allocated to the members of that structure -- they are just pointers whose address is unknown. cin does not allocate memory -- … -
Replied To a Post in Passing a pointer by reference
SetParents() does not need a reference to a pointer -- just the pointer `_clients->at(FreeIdx).GetPlayer()->SetParents(this, __clients->at(FreeIdx));` When passing a poitner by reference the & operator is not used in the actional … -
Replied To a Post in Memory Leak in Daniweb? (Chrome)
I'm running the same version number of Chrome you are. -
Replied To a Post in Memory Leak in Daniweb? (Chrome)
Are you running Chrome under Windows or \*nix? In Windows 8.1 I used Task Manager to view the process memory and didn't notice that much memory being taken up by … -
Replied To a Post in Code Question
I notice you have use parentheses in places where they aren't needed, for example line 159 the ( is in the wrong place. itemNuimbers has to be dereferenced before the … -
Replied To a Post in How do convert from int to string and why is this code crashing?
it crashes because the second parameter to itoa() must be a characte array, not just a pointer. See the example [here](http://www.cplusplus.com/reference/cstdlib/itoa/). -
Replied To a Post in Version Control
there are now cloud based version control systems, never used it and probably wouldn't use it for sensitive programs such as government classified programs. But for non-sensitive stuff I would … -
Replied To a Post in Code Question
readfile() expect the first parameter to be a pointer to a pointer -- you only provided the pointer on line 29. Here is how the first parameter should look like. … -
Replied To a Post in how to read file in c++
I've sometimes said that too -- it's a toung-in-cheek way of saying we aren't going to write the program. But ... if someone really puts a million dollars usd in … -
Gave Reputation to Schol-R-LEA in Help in C++
First off, we don't do other people's homework for them. Second, we *don't* do other people's homework for them. And third, ***we don't do other people's homework for them***. Sensing … -
Replied To a Post in #include<conio.h>
mahroza: how will including stdio.h resolve the problem??? -
Replied To a Post in Expression: (unsigned)(c+1) <=256 Error
I think Microsoft removed that in later versions of the compiler because I can't find isctype.h in either 2012 or 2013. [Here](http://www.gamedev.net/topic/110180-isctypeh-in-vcnet/) is anoter thread on the same topic. -
Replied To a Post in turbo c
You write the code, we only answer questions. -
Replied To a Post in Expression: (unsigned)(c+1) <=256 Error
Which line contains the error? What compiler are you using? I compiled with Visual Studio 2013 and did not get any errors. -
Replied To a Post in Dev CPP Help
because it, along with conio.h, isn't a standard c function. Not very many compilers support it. That's the unfortunate consequences of learning to program on ancient 30-year-old compilers such as … -
Replied To a Post in linked list code
have you tried google? -
Replied To a Post in dbDOS PRO 2
>I cannot get things to work on my Windows 7 PC. What kinds of problems are you having? As I recll from 25 years ago dBase ran under MS-DOS version … -
Replied To a Post in create a minimal file explorer in a windows form
If all you want to display is the files in the folder then call [Directory.GetFiles()](http://www.) method. You don't need a tree to do that, unless what you really want is … -
Replied To a Post in c programing error message]
Sorry about the lengthy delay in answering your question -- if you haven't already done it all you have to do is create a new console project and add the … -
Replied To a Post in What movie have you seen lately?
Fast and Furious 6 -- good movie with lots of car races and other action. -
Replied To a Post in Bad Grammar
Pirate Grammer  -
Replied To a Post in Why does Windows XP refuse to die?
You can buy Windows XP from [amazon.com](http://www.amazon.com/Microsoft-Windows-Professional-Full-Version/dp/B001K4PWFS) -
Replied To a Post in c++
what's the question? -
Replied To a Post in to the admin (again)
Everyone can earn reputation points by making good helpful posts in any of the forums except in Community Center. No one, even the admins, get rep in the community center. … -
Replied To a Post in Header File Compilation Error.
VS has never recognized anything other than .h extension by default, so I doubt that is the problem. Most likely the .h file was added to the project as a … -
Replied To a Post in Bad Grammar
>"I could care less" Guilty :) -
Replied To a Post in Header File Compilation Error.
header files are not to be compiled, they are just included in other \*.c and \*.cpp files. // some \*.cpp file #include <iostream> #include "SalesP.h" // rest of cpp code … -
Replied To a Post in GUI in c++
win32 api itself is a bit dated, most windows programs are written using .NET languages today. -
Replied To a Post in clrscr is usually given after declaration of variables. why ?
All functions must first be declared before they can be called, that lets the compiler know the function's return value and parameter types. I was programming in 1980s before C … -
Replied To a Post in GUI in c++
What operating system? What compiler? I would't do that -- it would take years to duplicate what other teams of programmers have already done, especially if you want cross platform. … -
Replied To a Post in h0w can i convert it to be a client server software?
have you googled for tutorials? -
Replied To a Post in Does Linux support monsterous hardware?
As I recall it was a Unix computer that beat the world chess champion about 10-15 years ago. Pretty impressive feat, I doubt MS-Windows could have done that. -
Replied To a Post in Bad Grammar
>//No I do not have a glass eye That sentence has double negatives, which in English cancel each other out, meaning you do indeed have a glass eye. That should … -
Replied To a Post in Bad Grammar
I think I like the original better -- "à propos" an attempt to mix French words with English. I've never ever heard anyone say or write that, had to google … -
Replied To a Post in Bad Grammar
I don't like India spices, too hot for my blood. -
Replied To a Post in Bad Grammar
Do other languages have the same problem? I mean, do native French people find bad French grammar among native French people appalling? I know of people right here in St … -
Replied To a Post in Bad Grammar
If you don't know what you are talking about then how do you expect anyone else?? By your English grammer I take it you are not native English? -
Replied To a Post in Bad Grammar
Huh? Would you translat that into English? -
Replied To a Post in h0w can i convert it to be a client server software?
If all you want to do is access a database on another computer then you don't need client/server software. In the connection string put in the IP address of the … -
Replied To a Post in Decipher Broken English
spellcheck is the checkmark on the editor's toolbar. However some of it's suggested corrections are hilarious. -
Replied To a Post in reverse the string
why are you calling strlen() so many times? Do you expect the length of the string to change? int length = strlen(str); for (int i = 0; i < length … -
Replied To a Post in Bad Grammar
>@AD - copy cat! Sorry, I didn't see your post :) -
Replied To a Post in Bad Grammar
>The phrase's origins are unclear; some credit Louis Abolafia. Radical activists Penelope and Franklin Rosemont helped to popularize the phrase by printing thousands of "Make Love, Not War" buttons at … -
Replied To a Post in Bad Grammar
>more like Make love, no war. Nope -- your daughter is right. ([link)](http://www.metacafe.com/watch/yt-zqEHzFR5kUk/9_11_sunny_make_love_not_war_official_music_video_hd/) Another way to say it is "Make love, make no war" -
Replied To a Post in snake game in c lanuage
No. But google might. -
Replied To a Post in Adding some style to my program
Depends on the operating system and compiler. C language does not specify anything about GUI functions, entirely os and compiler dependent. -
Replied To a Post in C++ program to search a given element in a circular queue
not going to happen. Post the code you have already done.
The End.