Click here to Skip to main content
15,562,015 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Saving a memory DC to a file Pin
Mircea Neacsu4-Jan-22 6:10
Mircea Neacsu4-Jan-22 6:10 
GeneralRe: Saving a memory DC to a file Pin
ForNow4-Jan-22 6:29
ForNow4-Jan-22 6:29 
AnswerRe: Saving a memory DC to a file Pin
Richard MacCutchan4-Jan-22 6:13
mveRichard MacCutchan4-Jan-22 6:13 
GeneralRe: Saving a memory DC to a file Pin
ForNow4-Jan-22 6:31
ForNow4-Jan-22 6:31 
GeneralRe: Saving a memory DC to a file Pin
Victor Nijegorodov4-Jan-22 21:28
Victor Nijegorodov4-Jan-22 21:28 
QuestionHi! Im new at coding and i wanted to ask some help. Pin
panda083-Jan-22 4:21
panda083-Jan-22 4:21 
AnswerRe: Hi! Im new at coding and i wanted to ask some help. Pin
Greg Utas3-Jan-22 5:26
mveGreg Utas3-Jan-22 5:26 
AnswerRe: Hi! Im new at coding and i wanted to ask some help. Pin
Richard MacCutchan3-Jan-22 6:10
mveRichard MacCutchan3-Jan-22 6:10 
C++
Ship input () {
    Ship S= { 0 };
    cin.ignore();
    cout << "\n Enter ship number:"; cin >> S.number;
    cin.ignore();
    cout << "\n Enter the name of the ship:"; cin.getline(S.name,50);
    cout << "\n Enter the load capacity of the ship:"; cin >> S.capacity;
    
    
    return (S);
}

It will help get a quicker answer if your code is properly indented, and uses the correct <pre> tags as above.
AnswerRe: Hi! Im new at coding and i wanted to ask some help. Pin
David Crow3-Jan-22 8:28
David Crow3-Jan-22 8:28 
QuestionLooking for advice/guidance on writting / painting to non Client area of window Pin
ForNow30-Dec-21 5:39
ForNow30-Dec-21 5:39 
AnswerRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
Victor Nijegorodov30-Dec-21 6:50
Victor Nijegorodov30-Dec-21 6:50 
GeneralRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
ForNow30-Dec-21 8:33
ForNow30-Dec-21 8:33 
GeneralRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
Victor Nijegorodov30-Dec-21 9:49
Victor Nijegorodov30-Dec-21 9:49 
GeneralRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
ForNow30-Dec-21 10:12
ForNow30-Dec-21 10:12 
GeneralRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
Victor Nijegorodov30-Dec-21 11:19
Victor Nijegorodov30-Dec-21 11:19 
GeneralRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
ForNow30-Dec-21 11:24
ForNow30-Dec-21 11:24 
GeneralRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
charlieg30-Dec-21 12:54
charlieg30-Dec-21 12:54 
AnswerRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
RedDk30-Dec-21 8:29
RedDk30-Dec-21 8:29 
GeneralRe: Looking for advice/guidance on writting / painting to non Client area of window Pin
ForNow30-Dec-21 8:50
ForNow30-Dec-21 8:50 
QuestionActiveX control development - old farts need apply Pin
charlieg28-Dec-21 17:08
charlieg28-Dec-21 17:08 
AnswerRe: ActiveX control development - old farts need apply Pin
Richard MacCutchan28-Dec-21 23:21
mveRichard MacCutchan28-Dec-21 23:21 
GeneralRe: ActiveX control development - old farts need apply Pin
charlieg29-Dec-21 2:37
charlieg29-Dec-21 2:37 
AnswerRe: ActiveX control development - old farts need apply Pin
charlieg29-Dec-21 17:49
charlieg29-Dec-21 17:49 
QuestionLink error referencing Windows Desk Top Manager Pin
ForNow28-Dec-21 2:35
ForNow28-Dec-21 2:35 
GeneralRe: Link error referencing Windows Desk Top Manager Pin
Richard MacCutchan28-Dec-21 3:03
mveRichard MacCutchan28-Dec-21 3: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.