|
I have made the new project from the existing one, now when I compiled the project it gives the
link error.
fatal error C1083: Cannot open include file: 'stdafx.h': No such file or directory
so for
I have set the project property to use precompile header but then it gives the same error for
.pch file.
what should I do to run my application.
Amit Mistry - petlad -Gujarat-India
|
|
|
|
|
Clean and rebuild the project.
Regards,
Paresh.
|
|
|
|
|
You are missing one or more required files.
Having an error about a missing PCH file is due to a build issue. Missing an .H file is a missing file.
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
Hi All .
In GPU & CUDA programming : What is difference between shader clock and core clock ?
thanks .
|
|
|
|
|
different parts of the GPU run at different clock speeds.
the core clock controls the basic functions. the memory clock regulates memory access. the shader clock controls the speed of the shading section.
Google should be able to tell you more.
|
|
|
|
|
i want to retrieve my current system time in milli sec
Can anybody tell me how to do it??????
Thanks in advance
|
|
|
|
|
|
Try SYSTEMTIME .
Regards,
Paresh.
|
|
|
|
|
Depends on what you are really asking... What do you mean by "System Time"? Do you mean the current time as far as the system is concerned? Or do you need to know how long the system has been running?
Do you also need millsecond resolution (where you need a feature that has millisecond resolution), or just need the results in milliseconds (where you can simply multiply a seconds value by 1000)?
Either way, a simple search in MSDN will provide useful results.
Peace!
-=- James Please rate this message - let me know if I helped or not!<HR> If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong! Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road! See DeleteFXPFiles
|
|
|
|
|
thanku my problem got solved
|
|
|
|
|
sulabh_expert@rediffmail.com wrote: my problem got solved
how ?????
you're on a forum, please share the solutions !
|
|
|
|
|
Hi all,
I am starting with a contact manager application. And for this i need to have a double link list to get the data from the csv file.
So that i can add new contact, delete contacts, update contact and save contact.
Is linklist and node class already there in C++.NET
or do i have to create one.
And one more thing i would like to ask is do i have to sort the list before i can read it (using doubly linked list). I mean do i have to write a sort function. Which sort method would be best for this application ?
Thanks a lot
|
|
|
|
|
sir, you've been asking for C++.NET several times already, and you've been said that this was probably refering to something different to what you think.
that's why, before someone else propose a solution, I'd like you to tell me what you mean exactly by C++.NET ?
thanks
|
|
|
|
|
what do you want to know about C++.NET. It is C++ language based over .NET framework.
Which is bit different from VC++ or C++(Borland)
In Borland you have to write your own classes for mostly everything. But in .NET few classes are already defined.
So my question was whether link list class is already there in MS Visual Studio C++.NET 2005 or not.
Thanks
|
|
|
|
|
so that's what i thought.
Microsoft's C++ extension to the .NET framework is called Managed C++ (or C++/CLI for newer versions).
questions related to it belongs to the Managed C++/CLI Forum[^]
|
|
|
|
|
oh allright..
Ill post my question in that forum then.
Thanks
|
|
|
|
|
Hi All
I goted the responsibility for making an application of Inventory Management System in VC++.
can any one please told me about that.also if you have send me a demo project also.
waiting for your reply
mailing me
Yogi
|
|
|
|
|
|
I am looking for demo project in vc++ for inventory management System
Thanks
mailing me
Yogi
|
|
|
|
|
How to fix this ?
wchar_t buf[50];
swprintf( buf, L"%s", L"Hello world" );
=> Warnings (in MS Visual Studio 2005)
warning C4047: 'function' : 'size_t' differs in levels of indirection from 'unsigned short [3]'
warning C4024: 'swprintf' : different types for formal and actual parameter 2
|
|
|
|
|
wrote: warning C4047: 'function' : 'size_t' differs in levels of indirection from 'unsigned short [3]'
No idea, what should cause this warning here ? But suggesting you to replace your code with following code,
wchar_t buf[50]= {0};
swprintf( buf, 50,L"%s", L"Hello world" );
|
|
|
|
|
From the Online-MSDN, search for swprintf:
[...]
int swprintf(
wchar_t (&buffer)[size],
size_t count,
const wchar_t *format [,
argument]...
); // C++ only
[...]
With
buffer = Storage location for output
count = Maximum number of characters to store in the Unicode version of this function.
format = Format-control string
argument = Optional arguments
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
Was this reply meant for me ?
|
|
|
|
|
Partially.
I seemed that you knew what the correct way to call swprintf was, but were unsure about "why" (mainly because you used the limit 50 without any explanation).
That might, however, be a misinterpretation - I am not a native speaker of English, and might have misunderstood your comment.
My reply just gave the prototype, so that both you and the OP might read it, if necessary.
Cheers,
Sebastian
--
Contra vim mortem non est medicamen in hortem.
|
|
|
|
|
Sebastian Schneider wrote: but were unsure about "why" (mainly because you used the limit 50 without any explanation).
As array size is 50, I used it, and I think its implicit.
Sebastian Schneider wrote: I am not a native speaker of English
Same here.
Sebastian Schneider wrote: My reply just gave the prototype, so that both you and the OP might read it, if necessary.
I thought, by mistake you have posted it to me .
|
|
|
|