-
- Pointers
by Karthikeyan_world
- 1 Replies
- Last post
by Nishant Sivakumar
- what is the difference between these two statements
int *i;
int *j=NULL;
what is NULL is going to hold
what is the value of i
what is the value of j
what is meant by garbage collector
-
- how to return a array in a function?
by monchhib
- 5 Replies
- Last post
by Brian Kramer
- i write a function like this :
void firstScan(int bitmapArray[][],Bitmap*bitmap1) { int bitmapArray [640][480]; int greyRangeMax; int greyRangeMin; System::Drawing::Color tmpColor1; for(int inty=0;inty<480;inty++) { for(int intx=0;intx<640;intx++) { //get pixel color tmpColor1 = bitmap1->GetPixel(intx, inty);
//calculate grey color range int temp = Math::Ma
-
- How To Make Use Of Data From MS-ACCESS In VC++
by Allaudeen_N_587b24
- 2 Replies
- Last post
by Allaudeen_N_ff93ad
- Hi Friends,
Iam doing a project in VC++ about the Teachers Feedback. In this i want to retrieve data saved in Ms-Access... I should want to compare the input data from VC++ and the data in Ms-ACESSS . And with is result of the comparision i want to open a corresponding Dialog Box.... Data saved in the Dialog Box should be again saved in Ms-Acess..
Can You understand what i actually need I
-
- c++ code works in release not in debug !
by Steve_fr88
- 3 Replies
- Last post
by Marius Bancila
- Hi Guys,
first i would like to mention that it has been a while since i played with c++, please be indulgent (i hope i post in the right forum).
In order to put myself back in business, i download the visual c++ express, and try to play around. As these sudoku games are quite famous nowaday i was trying to build a solver as a easy target. And well i didn't fully succeed...
So the code wri
-
- how to trim integer!
by Memoona
- 14 Replies
- Last post
by Simple Samples
- hello all!!! i have a problem regarding int.i have a number like year suppose 2007 in an int variable and now i want only the last two digits of this integer...i mean i have yera in four digits but i want it to be in two digits...fot dat matter i have to trim the first two digits.....can nyone help me out... regards
-
- Ask a solution for LNK2019 error.
by smilebabyface
- 4 Replies
- Last post
by smilebabyface
- Hi, everyone, I need help: Recently, I read an article which teach me to use an better "TRACE" way which using an class to print helpful, more clear information while in debug mode. This's good for me, but one problem is I have to include the class files(.cpp, .h) into my project everytime, it's not convenient! So, I want to modified it to as an DLL, which might be easier to use. However
-
- Help Needed...
by Deepak
- 3 Replies
- Last post
by decyclone
- My Application have a client-server model developed in C++. The client has to fetch the url of a website (say hotmail.com) and then fill the username and password fields in the page. Can some one tell me how to fetch the url and then fill the fields in VC++
-
- Intrinsics Vs Asm Vs Optimizer (and maximum flops)
by DesG
- 8 Replies
- Last post
by Holger Grund
- Hello
If I have some very simple loops such as image filter kernels, convolutions, vector products etc, then is it generally worth my while trying to speed things up by resorting to intrinsics or even assembly. Or is it better to just simplify the code structure as best as possible and let the optimizer do the work for me.
Take the simple examples
for(i=0;i<N;i++)
va
-
- CString
by Tamasatoe
- 3 Replies
- Last post
by Martin von Dehn
- What is CString
What are different between string type (CString, char*, ..)
How to use type of string
How to convert between difference type and convert to and back form another type of data (eq. int, real)
-
- Problem with x64 hello world app...
by Balthasar
- 10 Replies
- Last post
by Ben Anderson MSFT
- Hi all, I've been trying to port a 32bit app to 64bit these past days, and finally got the thing to compile and link after a long struggle. needless to say, the thing refuses to run on my x64 XP machine, it's missing a number of libraries (assemblies, or whatever the term en vogue these days may be. God, does anybody remember the days when code was just code Sigh.) Anyhow.... I thus am now trying
-
- Sending an SMS through Extended MAPI and Outlook
by DaveThompson
- 2 Replies
- Last post
by DaveThompson
- Hello all, I'm trying to send an SMS message through MAPI on a desktop computer via Microsoft Outlook. To send an SMS through the Outlook UI, I simply use "sms:0xxxxxxx99", and Outlook will automatically set the email type to SMS. However, when trying to do the same thing through extended MAPI, using the following code... pAddressList->aEntries[0].rgPropVals[1].ulPropTag=PR_ADDRTYPE; pAddr
-
- Deallocation of CONST T*
by Nikam Shailesh B
- 5 Replies
- Last post
by einaros
- Hi,
Why can't we deallocate memory for CONST T* object
And why can't we create pointer object of T* CONST
-
- gaming
by fenwayb
- 8 Replies
- Last post
by Simple Samples
- i didnt know where to post this so im posting it here i want to learn how to make a video game without spending a dime. i want to know the best free compiler, debuggers. etc and i also need to learn how to make video games in what eversoftare i use i have no programing exerience what so ever but i am willing to learn as long as the outcome is worth it if anybody would like to tell me if they know
-
- anne help regarding Ghostscript???
by Jay_Vora_b4843e
- 2 Replies
- Last post
by Jay_Vora_b4843e
- hi all,
i hv found tht Ghostscript is made in c++ . ..
so is there any help or support in Vc++ 2005 for ghostscript
-
- error LNK2019: unresolved external symbol while migrating to VC2005
by Angshuman Chatterjee
- 2 Replies
- Last post
by Angshuman Chatterjee
- I am encountering some linker errors when I am migrating from VC2002 to VC2005.
I have a statically linked library, which exports some functions like
SCP_STATUS DECLSPEC SCP_IsValidEnum( LPCWSTR szEnumName, UINT uiValue); While building the project where this library is called, I get linker error like: 1>MuxEnumeration.obj : error LNK2019: unresolved external symbol "__declspec(dll
-
- Decimal numbers
by banker2003
- 2 Replies
- Last post
by banker2003
- Current trying to get a loop to work.
But the problem is every 10th job runs a method. So after 10 loops a method runs another 10 loops(so 20 loop total) the method is run. Etc. I was wondering how u get the decimal value after the point in a number eg. 10.0 how do u get the value of '.1' if u divide the number by 100. This is the only way i can think to know its the 10th loop.
Any h
-
- Problems using CSocket in an Windows 2003 Server environment
by DigCamara
- 1 Replies
- Last post
by DigCamara
- I have a custom COM+ object, designed to communicate with an ActiveX object on the client's browser. It worked fine until we migrated the server to Windows 2003 Server. It seems to lock up and/or produce thise two messages: Faulting application dllhost.exe, version 5.2.3790.3959, faulting module MTXSicaProvider.dll, version 1.0.0.1, fault address 0x0006d0ac. For more information, see Help and Su
-
- about time and time_t
by George2
- 4 Replies
- Last post
by George2
- Hello everyone,
In MSDN for time function,
time_t time( time_t *timer );
http://msdn2.microsoft.com/en-us/library/1f4c8f33(VS.80).aspx
the return value of time is time_t, but in the Return Value section, it mentioned,
Return the time as seconds elapsed since midnight, January 1, 1970. There is no error return.
So, I am wondering whether time_t could be represented as elapsed num
-
- This application has failed to start because the application configuration is incorrect
by Bill Tubbs
- 6 Replies
- Last post
by Roybert
- Re: This application has failed to start because the application configuration is incorrect
I have built a small console application (the .exe is 17k) that I created in Visual C++ 2005 Express. I want to share it with 10-20 users working on XP platforms. It processes data using file i/o, thats all. However, I have found that on some machines it
-
- _vsnprintf vs. _vsnprintf_s
by Ladislav Dud&#38;&
- 12 Replies
- Last post
by Ladislav Dud&#38;&
- I'm translating project from VC++ 2003 to VC++ 2005. Compiler told me, that _vsnprintf is deprecated. So i'm using _vsnprintf_s, but this function not work like _vsnprintf.
If i call _vsnprintf(NULL, 0, format, lListP), function returns number of needed bytes to write. But if i call _vsnprintf_s(NULL, 0, 0, format, lListP) returns 0. What's wrong How i can get number of needed bytes to wri
-
- Sharing global data between app & dll
by Pr09aN1g0d
- 6 Replies
- Last post
by Simple Samples
- I am writing an application which serves as a host/client shell for a selected game type. The application stores and deals with all of the networking data and object lists. A DLL stores all of the game specific windows and data.
I am trying to write this app to work for a number of different game types. When the user starts the app, he is given a choice of which game type he wants to host/join.
-
- change line termination in editor
by smeuser
- 2 Replies
- Last post
by smeuser
- I hope this is the proper place to ask question about the C++ IDE. We are migrating our C++ development from Unix to Windows. Since some developers have still to work with our Unix IDE ( SNiFF+), our source is now edited from Windows and Unix. The Unix IDE has some problems, if the line termination characters change inside a file. Visual Studio works fine with mixed termination characters and on l
-
- Dev Question - C# or C++
by kumar310
- 10 Replies
- Last post
by Simple Samples
- Hello everyone,
I just recently got a new job for a startup company. For my first project, they want me to design a program that automatically retrieves information from a webpage(for example like taking stock quotes from etrade) and put it into a database. I have no idea how to do that I have no exsprience with SQL or any database programming languages. I also don't know c# that well but
-
- Having differently colored characters in a RichEdit 1 control
by Jehjoa
- 5 Replies
- Last post
by Pintu Shukla
- Hello everyone, first post here. :-) I am currently experimenting with the RichEdit control, trying to beat it into submission. What I'm trying to do is have text entered in a certain color, then let the user change color, and continue typing in that color. I expected this to be a pretty trivial task, but I was wrong. Currently, the RichEdit control is being initialized with default settings, whi
-
- Sending Commands to any Process
by Schlurmann
- 10 Replies
- Last post
by Schlurmann
- Hello, I've been trying to send Commands like BM_CLICK or WM_LBUTTONDOWN or whatever to any applications. It worked pretty well when I could figure out the Class of a Button or Edit or somethign else, but now I got a window whose elements I can't get by using Spy++. I tried to filter all messages, but mouse clicks/movements always are 0x00FF -> unknown messages with wParam 0 and lParam is some