Click here to Skip to main content
15,923,120 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: How to measure number of cycles of a C code Pin
Chris Losinger8-Feb-05 4:29
professionalChris Losinger8-Feb-05 4:29 
GeneralMCSD preparation!!!!!!!!!!!! Pin
URagavSouth7-Feb-05 18:12
URagavSouth7-Feb-05 18:12 
GeneralRe: MCSD preparation!!!!!!!!!!!! Pin
David Crow8-Feb-05 7:53
David Crow8-Feb-05 7:53 
GeneralRe: MCSD preparation!!!!!!!!!!!! Pin
URagavSouth8-Feb-05 17:24
URagavSouth8-Feb-05 17:24 
GeneralRe: MCSD preparation!!!!!!!!!!!! Pin
David Crow9-Feb-05 2:20
David Crow9-Feb-05 2:20 
GeneralDate/Time Pin
Rajesh_K_Sharma7-Feb-05 18:04
Rajesh_K_Sharma7-Feb-05 18:04 
GeneralRe: Date/Time Pin
2249177-Feb-05 21:22
2249177-Feb-05 21:22 
GeneralError executing cl.exe Pin
spacetimecont7-Feb-05 17:14
spacetimecont7-Feb-05 17:14 
Hello, my name is Kevin. I'm a 16 year old programmer. I do C++ and build webpages.

I'm having an error; a major error at that. Not the most common 'pharse' errors. I'm using the Introductory Edition to Visual Microsoft Studios C++ .

Here is the code and compiler error message:
#include <iostream>

int main()
{
using std::cout;
cout << "The size of an int is:\t\t"
<< sizeof(int) << " bytes.\n";
cout << "The size of a long int is:\t"
<< sizeof(long) << " bytes.\n";
cout << "The size of a char is:\t\t"
<< sizeof(char) << " bytes.\n";
cout << "The size of a float is:\t\t";
<< sizeof(float) << " bytes.\t\t"
cout << "The size of a double is:\t"
<< sizeof(double) << " bytes.\n";
cout << "The size of a bool is:\t"
<< sizeof(bool) << " bytes.\n";

return 0;
}


-----------
Message Error description

#include <iostream>

int main()
{
using std::cout;
cout << "The size of an int is:\t\t"
<< sizeof(int) << " bytes.\n";
cout << "The size of a long int is:\t"
<< sizeof(long) << " bytes.\n";
cout << "The size of a char is:\t\t"
<< sizeof(char) << " bytes.\n";
cout << "The size of a float is:\t\t";
<< sizeof(float) << " bytes.\t\t"
cout << "The size of a double is:\t"
<< sizeof(double) << " bytes.\n";
cout << "The size of a bool is:\t"
<< sizeof(bool) << " bytes.\n";

return 0;
}

Frown | :(
GeneralRe: Error executing cl.exe Pin
Yulianto.7-Feb-05 17:29
Yulianto.7-Feb-05 17:29 
GeneralRe: Error executing cl.exe Pin
spacetimecont7-Feb-05 17:49
spacetimecont7-Feb-05 17:49 
GeneralRe: Error executing cl.exe Pin
toxcct7-Feb-05 22:30
toxcct7-Feb-05 22:30 
GeneralRe: Error executing cl.exe Pin
ThatsAlok7-Feb-05 17:43
ThatsAlok7-Feb-05 17:43 
GeneralRe: Error executing cl.exe Pin
spacetimecont7-Feb-05 17:47
spacetimecont7-Feb-05 17:47 
GeneralRe: Error executing cl.exe Pin
Wes Aday7-Feb-05 17:58
professionalWes Aday7-Feb-05 17:58 
GeneralRe: Error executing cl.exe Pin
ThatsAlok7-Feb-05 18:35
ThatsAlok7-Feb-05 18:35 
GeneralRe: Error executing cl.exe Pin
David Crow8-Feb-05 7:58
David Crow8-Feb-05 7:58 
GeneralRe: Error executing cl.exe Pin
spacetimecont8-Feb-05 10:18
spacetimecont8-Feb-05 10:18 
GeneralRe: Error executing cl.exe Pin
David Crow8-Feb-05 10:25
David Crow8-Feb-05 10:25 
GeneralProperty Sheet in system tray Pin
Rajesh_K_Sharma7-Feb-05 17:06
Rajesh_K_Sharma7-Feb-05 17:06 
GeneralRe: Property Sheet in system tray Pin
ThatsAlok7-Feb-05 17:30
ThatsAlok7-Feb-05 17:30 
GeneralProperty Sheet Pin
Rajesh_K_Sharma7-Feb-05 16:53
Rajesh_K_Sharma7-Feb-05 16:53 
GeneralRe: Property Sheet Pin
ThatsAlok7-Feb-05 17:21
ThatsAlok7-Feb-05 17:21 
GeneralRe: Property Sheet Pin
Rajesh_K_Sharma7-Feb-05 18:39
Rajesh_K_Sharma7-Feb-05 18:39 
GeneralRe: Property Sheet Pin
ThatsAlok7-Feb-05 19:07
ThatsAlok7-Feb-05 19:07 
GeneralRe: Property Sheet Pin
Rajesh_K_Sharma7-Feb-05 19:22
Rajesh_K_Sharma7-Feb-05 19:22 

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.