January 27th, 2013 03:58 AM
The following code writes to a file on either local disk to a remote disk (commented out code) on Windows 7 platform.
#include <iostream>
#include <fstream>
using namespace std;
int main...
January 17th, 2013 04:18 AM
The understand I have is a static library is a collection of compiled object files. Does not that mean that a static library could use a different CRT version than the exe?
How can I check that...
January 17th, 2013 02:59 AM
Say I have an executable and a library on the Windows XP platform.
Does building the executable and library as static (/MT) or dynamic (/MD) have any impact on which unit creates and deletes...
November 26th, 2012 08:39 AM
Thank you. Will take a look at what you mentioned.
November 26th, 2012 07:03 AM
The example enable a client to iterate the internal std::vector using being() and end().
class foo
{
public:
typedef std::vector<std::string>const_iterator iter;
iter begin () const;
...
November 20th, 2012 02:05 AM
Agree. Boost is library of choice.
Original post was poorly phrased on my part. What I meant was the controller should create all views (plural) and manage switching between views. Switching...
November 15th, 2012 04:50 AM
What is good practice for the relationship between view and controller in the MVC pattern?
It appears to me that this relationship can become quite strongly coupled and is this desirable?
To...
April 26th, 2012 06:53 AM
Hello,
Using multiple computers connected with ethernet and running WinXP SP3.
One of the computers is defined as the server, meaning it has created a file share that all the other computers...
October 26th, 2011 04:25 AM
The MessageManager class is a wrapper around a c library with all the fun that brings along. The class retrieves all Messages available in the system. Since the class loads a lot of resources it is...
November 11th, 2010 04:16 AM
Thank you for the feedback.
We would like to have a tool that only checks a developers adherence to a set of rules and for instance blocks an attempt to check-in that file. The application you...
November 10th, 2010 01:27 PM
What tool would you recommend to verify C++ source code styling? By C++ source code styling I mean, usage of indentation, spacing and newlines, howto format commenting, where to place bracket ,...
November 26th, 2009 12:02 AM
#include <iostream>
#include <string>
using namespace std;
int main()
{
// rest of code...
}
November 25th, 2009 12:29 AM
The code you provided should not compile, the variable 'value' is not defined.
LDI::LDI(int valueTemp)
: Instructions()
{
value = valueTemp;
}
November 25th, 2009 12:22 AM
Please provide code example.
Also explain what happens and what you would like to happen.
November 23rd, 2009 08:14 AM
November 23rd, 2009 08:05 AM
First of all, definiting a type called "new1" is just plain annoying.
In the below code 'sList' is a pointer but the method list_sort does not return a pointer.
new1 *sList;
new1...
November 23rd, 2009 07:34 AM
In the below code the variable all_names is not defined and the function strcmp requires two parameters of type const char *.
int id;
result = strcmp (all_names[loop].id,id);
...
November 3rd, 2009 04:05 AM
You already asked the question here http://www.codeguru.com/forum/showthread.php?t=487497
Stick to one thread. Please be a bit more specific in your problem description.
November 3rd, 2009 12:48 AM
Some info http://www.parashift.com/c++-faq-lite/serialization.html
What specific part of the task are you having a problem with? Does the current code write any, some or all necessary infomation...
November 3rd, 2009 12:28 AM
Please use code tags and indent your code.
November 3rd, 2009 12:26 AM
You can use socket programming to communicate between to computers across a network.
October 29th, 2009 01:59 AM
Use two for loops.
for(int index1 = 0; index1 < STUDENT; index1++)
{
for(int index2 = 0; index2 < NUM_QUIZ; index2++)
{
// out data from array
}
October 29th, 2009 01:47 AM
Sorry, this does not make any sense to me. Please explain with a bit more detail. What do you hope to accomplish?
October 29th, 2009 01:45 AM
Please use code tags and proper indent.
Please show code with while loop and give us the error message you receive.