|
Do you mean C, or C++ ?
Christian
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
What does an unresolved external symbol mean. Respond ASAP. Program due in less than 3 hours. HELP
|
|
|
|
|
Mr. Gates wrote:
What does an unresolved external symbol mean.
It means your compiler was able to see a header, but could not see the .lib for the implimentation of the method or object.
Mr. Gates wrote:
Respond ASAP.
Yes, sir. Seriously, do you think it will help to order us around ? 3 HOURS ? What the hell is wrong with you ?
Mr. Gates wrote:
Program due in less than 3 hours.
Maybe you should have spent more time studying and less time getting drunk then. Sheesh.
Mr. Gates wrote:
HELP
If the answer does not help, explain how you're getting the error, and what it says, so we can help further. Just reconsider that there are people on both ends of this connection before barking orders next time.
Christian
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
verify you have the lib path set up right (but only especially if you are using 3party libs)....Or make sure you have spec'ed a lib in the link tab if you are bringing in 'something special'......or use the pragma comment lib if you dont want to relink entire project
Just trying to keep the forces of entropy at bay
|
|
|
|
|
Hi,
I am working on a hydrology project, about stations, wireless communication and central control system.
Look here,
<br />
enum HydroElement<br />
{ <br />
waterlevel,<br />
rainfall,<br />
mudSand<br />
}
there is a station type---waterlevel and rainfall, can i simply use
waterlevel|rainfall
to present this station type?
Thanks alot.
Extreme programming. Do the No.1
|
|
|
|
|
Maybe:
enum HydroElement
{
waterlevel = 0x1,
rainfall = 0x2,
mudSand = 0x4
}
then you may use the or operator.
Michel
It is a lovely language, but it takes a very long time to say anything in it, because we do not say anything in it, unless it is worth taking a very long time to say, and to listen to.
- TreeBeard
|
|
|
|
|
yeah,
it's better, but it makes no difference between
waterlevel&rainfall
and
waterlevel&mudSand
Is there and other data type instead of enum can help fix the problem?
Thnx
Extreme programming. Do the No.1
|
|
|
|
|
That should be
waterlevel | rainfall (which = 3)
and
waterlevel | mudSand (which = 5)
no &
Todd Smith
|
|
|
|
|
Hi,
There is a limitation, right? Max number of item inside enum must less than 32.
In case that happens, how to deal with, then?
Extreme programming. Do the No.1
|
|
|
|
|
You'll have to use another int or a double if you want more than 32 bits. The number of items can be up to 32 not less than.
Todd Smith
|
|
|
|
|
stevenson wrote:
can i simply use
waterlevel|rainfall
to present this station type?
Only if you define the enumerator values to be one bit each, as in:
enum HydroElement
{
waterlevel = 1,
rainfall = 2,
mudSand = 4
};
--Mike--
Just released - 1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click!
My really out-of-date homepage
Sonork-100.19012 Acid_Helm
|
|
|
|
|
If "waterlevel and rainfall" is a distinct type, make it so.
It however seems odd to mix waterlevel (measuring a distance) with rainfall (a weather phenomena) and mudSand (which is a particular type of sand, or mud depending on how you look at it).
Maybe it could use some more design before implementation?
|
|
|
|
|
Hi,
It's about hydrology, something relative to water system, where sensors are used to measure the water level of a river or a reservior. Other Hydro element includes rainfall, flux, sediment, water quality, flood warning etc.
In this system, GIS is used.
Extreme programming. Do the No.1
|
|
|
|
|
stevenson wrote:
It's about hydrology, something relative to water system, where sensors are used to measure the water level of a river or a reservior.
OK. But what is it you want to explain/quantify with this bitset/flags/enum/whatever-it-becomes? The types of sensors present at a particular station? The stations "purpose"?
If this data is to tell what types of sensors are present, and it just happens that there is more than 32 possible sensor types, what about creating an enum of (not as bit-flags, but as simply counting upwards) and put them in a collection (e.g. std::set, vector, ...)?
If you have 32 < nTypes <= 64, you could use a (non-portable) unsigned __int64 data type, but then an enum is out of the question (MSVC6 is unfortunately hard-coded to use 32-bit enums no matter how small they are - I don't know if VC7 allows >32-bit enums).
|
|
|
|
|
The following is about one of the tables, u may get it.
Layers Feature Type
District/Taluk/Village/River basin/Watershed Boundary Poly
Drainage (Drainage Density Line/Poly
Geology Poly
Topography/Relief Line/Poly
Lineament (Lineament Density) Line/Poly
Land use Poly
Hydrogeomorphology Poly
Water Quality Sample locations Point
Waterlevel monitoring stations Point
Geophysical survey locations Point
Litholog locations Point
Pump Test Locations Point
Other important locations/Land marks Point
a. Rainfall
Pre-Monsoon Poly
Post Monsoon Poly
Average Poly
Annual Poly
b. Water level
Pre-Monsoon Poly
Post Monsoon Poly
Average Poly
Annual Poly
c. Depth to Bedrock
Depth to bed rock / Weathered thickness Poly
d. Saturated thickness
Pre-Monsoon Poly
Post Monsoon Poly
Average Poly
e. Grid Deviation Water Table
Recharge areas Poly
Discharge areas Poly
f. Ground water quality
Physical Poly
Chemical Poly
Biological Poly
Extreme programming. Do the No.1
|
|
|
|
|
i may get the value of lparam from these function
long MouseX;
long MouseY;
MouseX = (long) (lParam & 0x0000FFFF);
MouseY = (long) (lParam >> 16);
//////////////////////////////////////////////
may i set different x an y values at the exect lParam's
location ?
if yes how ?i need syntex ?
r00d0034@yahoo.com
|
|
|
|
|
i may get the value of lparam from these function
int xPos = GET_X_LPARAM(lParam);
int yPos = GET_Y_LPARAM(lParam);
///////////////////////////////////////////
long MouseX;
long MouseY;
when i receive this message:
case WM_LBUTTONUP:
// Getting mouse x and y
MouseX = (long) (lParam & 0x0000FFFF);
MouseY = (long) (lParam >> 16);
//////////////////////////////////////////////
may i set different x an y values at the exect lParam
location ?
if yes how ?i need syntex ?
r00d0034@yahoo.com
|
|
|
|
|
What are you asking ? You want to put in a new location ? I don't think that will set your mouse position for you, in fact I'm sure of it. But you can use MAKELPARAM to join two values into a suitable LPARAM value.
Christian
Hey, at least Logo had, at it's inception, a mechanical turtle. VB has always lacked even that... - Shog9 04-09-2002
During last 10 years, with invention of VB and similar programming environments, every ill-educated moron became able to develop software. - Alex E. - 12-Sept-2002
|
|
|
|
|
Hi.
Does 32-bit Windows console support multithread programming? For example, is is possible to use _beginthreadex(), WaitForSingleObject(), and CloseHandle() in a 32-bit Windows console program?
Thanks,
Kuphryn
|
|
|
|
|
Yes. #include <windows.h> and you're away.
Dave
|
|
|
|
|
|
Yes, and the best part is that normally you won't need the MsgWait* functions, only the normal Wait* functions
"In an organization, each person rises to the level of his own incompetence." Peter's Principle
|
|
|
|
|
Hi I want to drag some images from a listbox to Oulook2000. How should I do it? HOw can I set Allowdrag property of Outlook to true. I want to do it using VC++.
Please help me.
Thanks
|
|
|
|
|
any body tell how to use that function OutputDebugString because i have try but it does not show any meassage.plz help?
OutputDebugString
r00d0034@yahoo.com
|
|
|
|
|
OputputDebugString outputs its message in the Visual Studio debug window: Press F5 to launch your program, click on Visual Studio and look for it --usually a lot of "foo.dll loaded" messages appear right at the beginning of execution.
Joaquín M López Muñoz
Telefónica, Investigación y Desarrollo
|
|
|
|