|
std::ifstream Hi, I am learing C++ with Thinking in C++ (Bruce Eckel) and we've done some exercises on ifstream in the past chapter. If I pass to my ifstream object a constant filePath (as we did in he book) it works, but it doesn't as soon as I pass it a variable. I have got one error araising from linesCount.cpp, line 6. ... 20 Jun 2008 12:15
How to write a pure C program independ on msvcr90.dll Hi, all, I want to write a pure c program that independ on msvcr90.dll, can I do this with Visual Studio 2008? This idea based on I do not want to deploy msvcr90.dll to target machine just for a small toolkit program. If I can do this, all I need to do is to copy the program to target machine because that tool... 21 Jun 2008 21:58
/clr:safe Hi I am doing a C++/CLI dll that is supposed to be fully managed code. I was wondering what exactly is the criteria for the DLL to be 100% fully managed and usuable from C#? Do I need to compile using / clr:safe or is /clr enough? The reason I need to know this is that I would like to use pin_ptr<> for some t... 19 Jun 2008 12:41
how to store list of varying types I am writing a program that parses data found in a proprietary protocol packet into individual chunks of varying sizes, based on the Opcode tag of the packet. sizes could be from a single byte to an very large null terminating string. The parser is part of a pipeline that works on the incoming packets so that ... 19 Jun 2008 06:31
Allocations that overflow Hello, According to the standard, what must the following function do if it is passed std::numeric_limits<std::size_t>::max()? struct S { char a[64]; // Any size greater than 1 would do. }; S* allocate(std::size_t size) { return new S[size]; } ... 30 Jun 2008 10:40
How to use SQL Server in VC++? Hello, How to get Visual C++ (either MFC or pur Win32 ) to interact with SQL server? I need to write a program in VC++ which will create a database, add tables, insert entries into that database? How do I go about doing it? I have VC6, VS2005 and SQL Server 2005. The app will be developed and deployed on an XP m... 18 Jun 2008 23:06
About volatile qualifier Hi all, In an article about volatile qualifier there is a small code by which the author explains a hidden bug which occurs if we neglect using volatile qualifier. The code is simple : class Gadget { public: void Wait() { while (!flag) Sleep(1000); } void Wakeup() { flag = true;} private: bo... 1 Jul 2008 12:20
passing vector as argument How will all that about C++0x affect .NET? Will it require current programming practices using .NET to change? Daniel "Ben Voigt [C++ MVP]" <rbv(a)nospam.nospam> wrote in message news:eczPL9WqIHA.672(a)TK2MSFTNGP02.phx.gbl... Alex Blekhman wrote: "Ben Voigt [C++ MVP]" wrote: Comeau and gcc are both a... 18 Jun 2008 23:06
how to run .exe on separate computer I have created a console application using Visual C++ 2008. What must I do to deploy the application onto another computer which does not have Visual Studio installed on it? I did not use .NET to create this application. Daniel ... 4 Jul 2008 00:49
Migrating from VC6 to VS2005 First off, I do have VS2008, am I better off migrating straight to VS2008 rather then VS2005? The DLL, an Apache Module to be exactly, compiling just fine, but it will not load into Apache. According to depends, it is looking for MSVCR80.DLL. I did run into the following post: http://forums.msdn.microsoft.co... 18 Jun 2008 23:06 |