Im using VC2005 in 64-bit Vista. When I am compiling my program , it says:
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function...
Type: Posts; User: kyaky
Im using VC2005 in 64-bit Vista. When I am compiling my program , it says:
1>MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain@16 referenced in function...
6:15 am ... i can go to bed finally!!!!! OMG!!!
Finally!!!! i found where the problem was... such a stupid i made again... the txt file has something wrong... because i made this txt file in windows it has 0D(CR) in this file... it made me...
the txt is that:
001.645.2
Learning C++
Gregory Harrison
1
001.721.3
C++ for Beginners
Quentin Resnick
where the hell is "s]" from.......... i am nearly crazy... 5:30am...
if i change it to
cout << "11111Database[SeekrPos]-->" << Database[SeekrPos].CallNumber << "<--Database[SeekrPos]"<< endl;
the output is :
Enter command (or m for menu): f
the position is totally strange!!!
wait... thats strange...~~~ why it is like that "<--Database[SeekrPos]001.823.8"
OMG
it has no space between <-- --> and "text"
output:
Enter command (or m for menu): f
Enter Call Namber: 001.645.2
<--Database[SeekrPos]001.645.2
15
Seeker-->001.645.2<--Seeker
15
<--Database[SeekrPos]001.721.3
sry, i saw wrong... it still has the same problem... ................................ -. - OZN
it still has the same problem...
i wonder why when the size and elements are same , but it reports "not same"
do i need to use this to reset all element in the array?
memset(ch,0x00,sizeof(ch));
btw why the size shows they are same?
add this code at end of your code
system ("pause");
if i do it in DEV in windows,,, it works alright...
Dear guys~~
i met a problem which is spoiling me long time... i havent figure it out~
i am coding in linux...the following code shows the comparison of two strings... the size and the content are...
thank you, matsp & hk_mp5kpdw.
when im using DEV... do i have to use makefile? or i just click compile to compile them...?
I am not sure how to compile these files without using a makefile in wiin32 OS like DEV.
it works alrigh...
btw~
when im compiling these files using DEV or Qunciy in windows or anjuta in linux without a makefile, it says " [Linker error] undefined reference to XXX " something like that? do these...
i made a sutpid mistake~ -. -
yes , i see, im a beginer... thank you guys!!!
bool ChangeStatus()
{
char Seeker[MaxCallNumber];
int SeekrPos = 0;
cout << "CallNamber: " << endl;
cin >> Seeker[MaxCallNumber];
...