Click here to Skip to main content
14,456,907 members

C / C++ / MFC

 
AnswerRe: error C3861: 'major': identifier not found Pin
Stefan_Lang8-Jan-20 22:58
mveStefan_Lang8-Jan-20 22:58 
GeneralRe: error C3861: 'major': identifier not found Pin
_Flaviu8-Jan-20 23:04
Member_Flaviu8-Jan-20 23:04 
GeneralRe: error C3861: 'major': identifier not found Pin
Stefan_Lang8-Jan-20 23:40
mveStefan_Lang8-Jan-20 23:40 
Questionsetw irrational behaviour Pin
Vaclav_5-Jan-20 9:25
MemberVaclav_5-Jan-20 9:25 
AnswerRe: setw irrational behaviour Pin
k50545-Jan-20 11:27
Memberk50545-Jan-20 11:27 
GeneralRe: setw irrational behaviour Pin
Vaclav_5-Jan-20 18:37
MemberVaclav_5-Jan-20 18:37 
GeneralRe: setw irrational behaviour Pin
Richard MacCutchan5-Jan-20 22:53
communityengineerRichard MacCutchan5-Jan-20 22:53 
GeneralRe: setw irrational behaviour Pin
k50546-Jan-20 5:16
Memberk50546-Jan-20 5:16 
Vaclav_ wrote:
Did I misinterpret setw - as it appears to set the width of the entire cout message , not just setting the starting column?

Looks like you figured out where you went wrong with setw(), but I'd like to point out that setw sets the width of the next output field, but does not truncate, so cout << setw(5) << "Hello World"; will still print all of the string "Hello World".
If you really want to put output at a specific location on screen, maybe take a look at curses: http://tldp.org/HOWTO/NCURSES-Programming-HOWTO/
AnswerRe: setw irrational behaviour Pin
CPallini6-Jan-20 22:30
mveCPallini6-Jan-20 22:30 
Questionerror C2065: '_S_IFDIR' : undeclared identifier Pin
_Flaviu5-Jan-20 8:42
Member_Flaviu5-Jan-20 8:42 
AnswerRe: error C2065: '_S_IFDIR' : undeclared identifier Pin
k50545-Jan-20 11:31
Memberk50545-Jan-20 11:31 
AnswerRe: error C2065: '_S_IFDIR' : undeclared identifier Pin
Richard MacCutchan5-Jan-20 22:28
communityengineerRichard MacCutchan5-Jan-20 22:28 
QuestionC++ control textBox of Form1 and Form2 Pin
HeeMongKorea29-Dec-19 21:08
professionalHeeMongKorea29-Dec-19 21:08 
AnswerRe: C++ control textBox of Form1 and Form2 Pin
Richard MacCutchan29-Dec-19 23:02
communityengineerRichard MacCutchan29-Dec-19 23:02 
AnswerRe: C++ control textBox of Form1 and Form2 Pin
Victor Nijegorodov30-Dec-19 1:37
MemberVictor Nijegorodov30-Dec-19 1:37 
QuestionAbstract Factory Design/Linked List Problem Pin
EjireK28-Dec-19 5:59
MemberEjireK28-Dec-19 5:59 
AnswerRe: Abstract Factory Design/Linked List Problem Pin
Richard MacCutchan28-Dec-19 6:51
communityengineerRichard MacCutchan28-Dec-19 6:51 
GeneralRe: Abstract Factory Design/Linked List Problem Pin
EjireK28-Dec-19 7:14
MemberEjireK28-Dec-19 7:14 
GeneralRe: Abstract Factory Design/Linked List Problem Pin
Richard MacCutchan28-Dec-19 7:29
communityengineerRichard MacCutchan28-Dec-19 7:29 
GeneralRe: Abstract Factory Design/Linked List Problem Pin
EjireK28-Dec-19 13:18
MemberEjireK28-Dec-19 13:18 
GeneralRe: Abstract Factory Design/Linked List Problem Pin
leon de boer28-Dec-19 15:53
Memberleon de boer28-Dec-19 15:53 
GeneralRe: Abstract Factory Design/Linked List Problem Pin
Richard MacCutchan28-Dec-19 22:49
communityengineerRichard MacCutchan28-Dec-19 22:49 
AnswerRe: Abstract Factory Design/Linked List Problem Pin
Stefan_Lang6-Jan-20 1:22
mveStefan_Lang6-Jan-20 1:22 
Questionqueues to find minimum time to serve all. Pin
Jiopik27-Dec-19 20:01
MemberJiopik27-Dec-19 20:01 
AnswerRe: queues to find minimum time to serve all. Pin
Richard MacCutchan27-Dec-19 23:01
communityengineerRichard MacCutchan27-Dec-19 23:01 

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.