-
Replied To a Post in Random Facts
It's actually pretty even -- 18 Republicans and 15 Demoncrats. -
Replied To a Post in 1.11
I've always seen 1M as one million, e.g. $1M is one million dollars. -
Replied To a Post in GUI in C
The GUI will depend on operating system. [Here's ](http://www.winprog.org/tutorial/)a tutorial for win32 api (MS-Windows). -
Replied To a Post in Write a C++ program that accepts the rectangular coordinates of two points
worked for me using vs2013 Enter values for x1 x2 y1 y2 1 2 3 4 5 Distance from first point to origin :3.16228 Distance from second point to origin … -
Replied To a Post in pointers and refs
fn is a pointe to a function. It is set on line 11 but never actually used for anything. That is what your compiler is warning you about -- you … -
Replied To a Post in [win32] - super subclass: how connect the form to window procedure
unless you are sending a private message (one that you make up yourself) you can't control the value of lparam parameter. The easiest way to get a ponter to a … -
Replied To a Post in [win32] - super subclass: how connect the form to window procedure
use your debugger and put a breakpoint on WM_CREATE. Since the window hasn't been created yet there can be no message box to show you. -
Replied To a Post in [win32] - super subclass: how connect the form to window procedure
All messages are sent to the WinProc() procedure -- the first parameter to that function tells you which hWnd the message is for. In the case of wm_create the message … -
Replied To a Post in program problem
Your program might compile but does the compiler produce any errors or warnings? You have to fix them befre you can run the program. I spot at least one error … -
Replied To a Post in VB.NET AND QUERY
send it a text on your iphone? -
Replied To a Post in File handling
>Anyone knows how to do solve this problem. Yes, don't you? Please post your attempts (code) to solve it. -
Replied To a Post in Rewrite the code from C to C++
That's not C code -- looks more like pascal or java.' At any rate, in C/C++ you have to declare variables before they can be used. so if you want … -
Replied To a Post in Start running the C++ code with visual studio 2010
Are you trying to wite a program with Notepad then compile it with VS iDE? The easiest was is not to use Notepad, but to do all your work is … -
Replied To a Post in char array, how do I extract from beginning to '\n'
cin >> buffer will auto stop getting keys from the keybord when cin counters the first white apace (space, tab or '\n'). Buffer will never contain any of those white … -
Replied To a Post in Random Facts
When you are a kid, all teachers are like Einstein :) -
Replied To a Post in What is the difference between __inline__ and inline?
The way I understand it, `__inline__ `is an older version of the `inline` keyword -- it was an extension to some compilers. It's pretty much obolete nowdays except for older … -
Replied To a Post in What is the difference between __inline__ and inline?
It's really not all that difficult - the standard inline keyword is SUGGESTION to the compiler to duplicate the function contents each time it appears in the program -- the … -
Replied To a Post in What is the difference between __inline__ and inline?
might be [gcc extension](http://gcc.gnu.org/ml/gcc-help/2007-01/msg00049.html) -
Replied To a Post in What is the difference between __inline__ and inline?
Is [this](http://msdn.microsoft.com/en-us/library/z8y1yy88.aspx) what you mean? -
Replied To a Post in Create a Folder
LPCWSTR is a ponter to a wchar_t* string. typecasting like you do on line 18 doesn't work. You have two choices: (1) turn off UNICODE strings and use just standard … -
Replied To a Post in update or insert in a single query
maybe something like this: Replacing the \* with your own criteria IF EXITS(select \* from tablename where <clause>) THEN ' increment counter ELSE ' insert new row END IF -
Replied To a Post in How to get window properties of a desktop application
what language? In C and C++ (probably otheers too) you can call win32 api functions to get a handle to another application. But if start App B by calling CreateProcess() … -
Replied To a Post in Mini projects
read the questions here about C programming to get good ideas. You might just learn something new you didn't know before. -
Replied To a Post in Maximal Coordinate
>getch() is not part of the C standard. Use getchar(); instead. Why use either one? cin.get() is already in <iostream> so use it instead of adding more C-code to the … -
Replied To a Post in Passing by value with two variables
lines 30 and 38: result() is not a function that has been previously declared. line 62; Functions can only return one variable, not two. It seems you have misunderstood the … -
Replied To a Post in Data type mismatch in criteria expression
line 24 is all wrong. the insert command does not include the sql connection stuff. Please read the tutorial I posted earlier. -
Replied To a Post in Memcpy Char Pointers
Yes, you are right -- line 2 jut prints a literal string. -
Replied To a Post in help
think how you would do it with pencil and paper. You start out wit $1,000 then simply subtract the amunt of purchses. -
Replied To a Post in Data type mismatch in criteria expression
Then you need to post exact code. The code you posted is wothless. -
Replied To a Post in Data type mismatch in criteria expression
Looks like you are attempting to create a connection, nsert some data, and select somore other data all in one statement. Can't do that. You need to std a tutorial … -
Replied To a Post in microsoft windows 7 not genuine
There are a number of ways that a valid Windows license may become invalid. One way is to install a new motherboard in the computer or make other significant hardware … -
Replied To a Post in Memcpy Char Pointers
line 2: what do you expect prinitf() will display? first is just an ininitiaolized array of random caracters which may or may not contain '\0' which printf() looks for to … -
Replied To a Post in Random Facts
Jim, why are you so obsessed with American gun problems when you dont even live here? I don't see anyone making any posts posts about Canadian prolems. -
Replied To a Post in MS SQL Library?
tutorial [here](http://dev.mysql.com/doc/refman/5.0/en/tutorial.html). You are expected to already know fundamtals of c++ language. -
Replied To a Post in Getting started with data bases.
Your first task will be to learn the Sequential Query Lanaguage (sql). That is the language all SQL-compliant database servers use. There are many free tutorial online, such as [these](https://www.google.com/?gws_rd=ssl#q=sql+tutorial+for+beginners). … -
Replied To a Post in How to read an .txt file and turn each line into a ARRAY
>everyone ask me to do this in C++ using getline(), fgets() is the C equivalent of c++ getline() (almost anyway). -
Replied To a Post in Mystery positioning/height reports from client
I assumed you were talking about printing a report to a lazer printer. If not, then please ignore my silly question. -
Replied To a Post in Mystery positioning/height reports from client
do all clients have the same printers? Do you have the same printer as the clients? -
Replied To a Post in Lost files
what operating system is the computer running? I used to have lots of corrupt files with all versions of MS-Windows XP and older -- have not had such problems with … -
Replied To a Post in Code ownership
Of course I can not speak for Ms Dani, but as I recall her comments on this topic in the past is that she has no intent to restrict what … -
Replied To a Post in Read Binary data (size of objects unknown)
IMO the best solution is to not use std::string at all in MyClass but use a character array, which will ensure the string is written/read from the binary file without … -
Replied To a Post in i need practice..
why not just practice on your own computer? -
Replied To a Post in c output
That's because "%x" is an unsigned hex 32-bit integer on 32-bit compilers. See [this article](http://www.cplusplus.com/reference/cstdio/printf/). -
Replied To a Post in Why does Windows XP refuse to die?
>I havn't tried hacking 8, but I have tried hacking a horridly adware infected 7... >let's just say, XP is easier, broader, and less controlling than 7. And that is … -
Replied To a Post in MFC APP VS 2010
I've always liked [this Scribble tutorial](http://msdn.microsoft.com/en-us/library/aa716527(v=vs.60).aspx) -
Replied To a Post in c++
have you tried [goodle](https://www.google.com/?gws_rd=ssl#q=c%2B%2B+library+management+system)? -
Replied To a Post in Code ownership
>Posts contributed to the community immediately become the property of DaniWeb upon submission. See [this link](http://www.daniweb.com/home/tos) -
Replied To a Post in C++, copying char* to another char* with memcpy?
line 11. sizeof a pointer always returns 4 on 32-bit compilers. There is no way for the compiler to determine the length of the data to which the pointer addresses. … -
Replied To a Post in Repairing mother board
enroll in a tech school that teaches such things. -
Replied To a Post in Read Binary data (size of objects unknown)
Well, if your program is anything like the one below then the strings may not be anywhere in the file because std::string contains a pointer to where the string is …
The End.