Click here to Skip to main content
15,917,608 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Linked Lists Pin
Prakash Nadar14-Aug-05 20:52
Prakash Nadar14-Aug-05 20:52 
GeneralRe: Linked Lists Pin
Christian Graus15-Aug-05 13:14
protectorChristian Graus15-Aug-05 13:14 
GeneralModeless window data Pin
Lampros Giampouras14-Aug-05 6:44
Lampros Giampouras14-Aug-05 6:44 
GeneralRe: Modeless window data Pin
Christian Graus14-Aug-05 13:55
protectorChristian Graus14-Aug-05 13:55 
GeneralRe: Modeless window data Pin
Lampros Giampouras15-Aug-05 9:20
Lampros Giampouras15-Aug-05 9:20 
GeneralRe: Modeless window data Pin
Christian Graus15-Aug-05 13:19
protectorChristian Graus15-Aug-05 13:19 
GeneralRe: Modeless window data Pin
Lampros Giampouras16-Aug-05 2:17
Lampros Giampouras16-Aug-05 2:17 
GeneralVisual C++ .net Build Error Pin
sc09227014-Aug-05 6:33
sc09227014-Aug-05 6:33 
I am trying to learn C++ .net. I have done a little with VBA and VB.net.

I bought Visual C++ .net for Dummies. I was trying one of the programs in the book. I using Visual Studio .net 2003.

The example in the book is an example of an unmanaged C++ program.
So I created a Win32 Project. I also tried creating a Win32 Console Project and a C/C++ Console Application. Below is the code I typed in. This is the code from the Dummy book. And I am getting a Build error. And I also tried to build the project that is on the actual CD from the dummy book.


//HelloWorld2
// Prints hello world on the screen
//Unmanaged

#include "stdafx.h"
#include <iostream.h>

int _tmain(int argc, _TCHAR* argv[])
{
//Write to the screen
cout << "Hello World\n";
return 0;
}



Here is the error I am getting:

fatal error C1083: Cannot open include file: 'iostream.h': No such file or directory
c:\Documents and Settings\steve\Desktop\Code\HelloWorld2\HelloWorld2.cpp(6):

I reinstalled Visual Studio but I guess that was not the problem. I also searched my computer for iostream.h. It did not find the file. I went to the folder vc7 and then the include folder. I found iostream but it was not iostream.h.

Does anyone have any suggestions. Is there a difference in using Visual C++ .net and C++ .net in Visual Studio?

Thanks for any help.
Steve

GeneralRe: Visual C++ .net Build Error Pin
S. Senthil Kumar14-Aug-05 7:23
S. Senthil Kumar14-Aug-05 7:23 
GeneralTooltips for Controls in Visual Studio .NET 2003 Pin
Ulrich14-Aug-05 2:31
Ulrich14-Aug-05 2:31 
GeneralRe: Tooltips for Controls in Visual Studio .NET 2003 Pin
Jose Lamas Rios14-Aug-05 20:12
Jose Lamas Rios14-Aug-05 20:12 
Generaladding menu items Pin
rajeev8214-Aug-05 2:02
rajeev8214-Aug-05 2:02 
GeneralRe: adding menu items Pin
Anonymous14-Aug-05 12:05
Anonymous14-Aug-05 12:05 
QuestionWhen is an HWND invalid? Pin
Maverick13-Aug-05 17:25
Maverick13-Aug-05 17:25 
AnswerRe: When is an HWND invalid? Pin
John R. Shaw13-Aug-05 18:19
John R. Shaw13-Aug-05 18:19 
GeneralRe: When is an HWND invalid? Pin
Maverick14-Aug-05 1:32
Maverick14-Aug-05 1:32 
GeneralRe: When is an HWND invalid? Pin
Tim Smith14-Aug-05 4:19
Tim Smith14-Aug-05 4:19 
GeneralRe: When is an HWND invalid? Pin
Maverick14-Aug-05 20:49
Maverick14-Aug-05 20:49 
GeneralRe: When is an HWND invalid? Pin
HumanOsc14-Aug-05 23:36
HumanOsc14-Aug-05 23:36 
GeneralRe: When is an HWND invalid? Pin
Maverick15-Aug-05 18:53
Maverick15-Aug-05 18:53 
QuestionWould u please give me some advice about dynamic curve display? Pin
sssmmmyyy13-Aug-05 16:41
sssmmmyyy13-Aug-05 16:41 
AnswerRe: Would u please give me some advice about dynamic curve display? Pin
John R. Shaw13-Aug-05 18:33
John R. Shaw13-Aug-05 18:33 
GeneralDate Time object for win 32 dll Pin
Laser113-Aug-05 13:29
Laser113-Aug-05 13:29 
GeneralRe: Date Time object for win 32 dll Pin
Laser113-Aug-05 13:32
Laser113-Aug-05 13:32 
GeneralRe: Date Time object for win 32 dll Pin
Ravi Bhavnani13-Aug-05 15:54
professionalRavi Bhavnani13-Aug-05 15:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.