Click here to Skip to main content
15,918,742 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Question about enum in C/C++ Pin
Mike Dimmick24-Sep-03 9:11
Mike Dimmick24-Sep-03 9:11 
GeneralRe: Question about enum in C/C++ Pin
George224-Sep-03 22:05
George224-Sep-03 22:05 
GeneralVectors Pin
bhangie23-Sep-03 0:56
bhangie23-Sep-03 0:56 
GeneralRe: Vectors Pin
YaronNir23-Sep-03 0:58
YaronNir23-Sep-03 0:58 
GeneralRe: Vectors Pin
jhwurmbach23-Sep-03 1:26
jhwurmbach23-Sep-03 1:26 
GeneralRe: Vectors Pin
bhangie23-Sep-03 1:31
bhangie23-Sep-03 1:31 
GeneralRe: Vectors Pin
bhangie23-Sep-03 1:36
bhangie23-Sep-03 1:36 
GeneralRe: Vectors Pin
jhwurmbach23-Sep-03 1:48
jhwurmbach23-Sep-03 1:48 
Just as an excercise -
Here is how to use iterators for the display:
#include "stdafx.h"
#include "vector"
#include "iostream"
#include "string"

int _tmain(int argc, _TCHAR* argv[])
{
    std::vector< double > v(10);

    for(int i = 0; i < 10; ++i)
    v.push_back(i + 0.1);

    //Display
    std::vector< double >::iterator it = v.begin();
    while (it != v.end())
    {
        std::cout << *it << "\n";
        ++it;
    }

    std::string s;
    std::cin >> s;
}



Who is 'General Failure'? And why is he reading my harddisk?!?
GeneralIcon sizing problem Pin
YaronNir23-Sep-03 0:56
YaronNir23-Sep-03 0:56 
GeneralRe: Icon sizing problem Pin
RobJones23-Sep-03 6:05
RobJones23-Sep-03 6:05 
GeneralRe: Icon sizing problem Pin
YaronNir23-Sep-03 6:11
YaronNir23-Sep-03 6:11 
GeneralRe: Icon sizing problem Pin
RobJones23-Sep-03 7:10
RobJones23-Sep-03 7:10 
GeneralChanging the DC's offset Pin
Zizilamoroso23-Sep-03 0:28
Zizilamoroso23-Sep-03 0:28 
GeneralRe: Changing the DC's offset Pin
vcplusplus23-Sep-03 3:14
vcplusplus23-Sep-03 3:14 
GeneralRe: Changing the DC's offset Pin
Zizilamoroso23-Sep-03 3:29
Zizilamoroso23-Sep-03 3:29 
GeneralRe: Changing the DC's offset Pin
vcplusplus23-Sep-03 7:21
vcplusplus23-Sep-03 7:21 
GeneralRe: Changing the DC's offset Pin
Zizilamoroso24-Sep-03 0:08
Zizilamoroso24-Sep-03 0:08 
GeneralRe: Changing the DC's offset Pin
vcplusplus24-Sep-03 1:56
vcplusplus24-Sep-03 1:56 
GeneralRe: Changing the DC's offset Pin
Zizilamoroso24-Sep-03 5:25
Zizilamoroso24-Sep-03 5:25 
GeneralSAS Window: Winlogon.exe Application error. Pin
rohit.dhamija22-Sep-03 23:42
rohit.dhamija22-Sep-03 23:42 
GeneralRe: SAS Window: Winlogon.exe Application error. Pin
Mike Dimmick23-Sep-03 0:39
Mike Dimmick23-Sep-03 0:39 
GeneralRe: SAS Window: Winlogon.exe Application error. Pin
rohit.dhamija23-Sep-03 0:58
rohit.dhamija23-Sep-03 0:58 
GeneralRe: SAS Window: Winlogon.exe Application error. Pin
Mike Dimmick23-Sep-03 7:24
Mike Dimmick23-Sep-03 7:24 
GeneralDon't paint the blue &quot;Hi-light&quot; rectangle Pin
Urban Olars22-Sep-03 23:07
Urban Olars22-Sep-03 23:07 
GeneralRe: Don't paint the blue &quot;Hi-light&quot; rectangle Pin
Mike Dimmick23-Sep-03 0:03
Mike Dimmick23-Sep-03 0:03 

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.