Click here to Skip to main content
15,796,661 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How to get disk model and serial number for the disk Windows is installed on Pin
jschell21-Sep-23 5:57
jschell21-Sep-23 5:57 
GeneralRe: How to get disk model and serial number for the disk Windows is installed on Pin
trønderen21-Sep-23 7:23
trønderen21-Sep-23 7:23 
AnswerRe: How to get disk model and serial number for the disk Windows is installed on Pin
Dave Kreskowiak20-Sep-23 14:23
mveDave Kreskowiak20-Sep-23 14:23 
AnswerRe: How to get disk model and serial number for the disk Windows is installed on Pin
Randor 20-Sep-23 23:34
professional Randor 20-Sep-23 23:34 
Questionwrite a progrrame create a calculator (using function) Pin
CHIRAG VAJA 202318-Sep-23 21:15
CHIRAG VAJA 202318-Sep-23 21:15 
AnswerRe: write a progrrame create a calculator (using function) Pin
Victor Nijegorodov18-Sep-23 21:26
Victor Nijegorodov18-Sep-23 21:26 
RantRe: write a progrrame create a calculator (using function) Pin
Richard Deeming18-Sep-23 22:23
mveRichard Deeming18-Sep-23 22:23 
AnswerRe: write a progrrame create a calculator (using function) Pin
jschell19-Sep-23 6:49
jschell19-Sep-23 6:49 
Since this is a standard class project one would expect the teacher to cover all of this.

First step.
1. Learn basics of C (or C++)
2. Learn basics of compiling C.
3. Write a hello world program.
4. Learn how methods work. Write methods that add, subtract, etc, and nothing else.

Next steps depends on how the calculator works.
If a console
1. Learn about stdin and stdout
2. Learn how to run application to read keyboard input and output response

If a UI. This is MUCH harder than above.
1. Find a C UI library
2. Learn basics of that
3. Design calculator UI look.
4. Implement UI look
5. Learn how to tie the UI into C method calls.

Final step - Put all of the above together to build your app.
QuestionRe: write a progrrame create a calculator (using function) Pin
CPallini19-Sep-23 21:02
mveCPallini19-Sep-23 21:02 
AnswerRe: write a progrrame create a calculator (using function) Pin
Richard MacCutchan19-Sep-23 22:44
mveRichard MacCutchan19-Sep-23 22:44 
GeneralRe: write a progrrame create a calculator (using function) Pin
CPallini19-Sep-23 22:50
mveCPallini19-Sep-23 22:50 
JokeRe: write a progrrame create a calculator (using function) Pin
trønderen21-Sep-23 7:35
trønderen21-Sep-23 7:35 
QuestionPointer indirection Pin
Calin Negru14-Sep-23 4:01
Calin Negru14-Sep-23 4:01 
AnswerRe: Pointer indirection Pin
Mircea Neacsu14-Sep-23 4:06
Mircea Neacsu14-Sep-23 4:06 
GeneralRe: Pointer indirection Pin
Calin Negru14-Sep-23 5:13
Calin Negru14-Sep-23 5:13 
GeneralRe: Pointer indirection Pin
Mircea Neacsu14-Sep-23 5:31
Mircea Neacsu14-Sep-23 5:31 
GeneralRe: Pointer indirection Pin
Calin Negru14-Sep-23 10:40
Calin Negru14-Sep-23 10:40 
GeneralRe: Pointer indirection Pin
jschell14-Sep-23 11:50
jschell14-Sep-23 11:50 
GeneralRe: Pointer indirection Pin
Calin Negru14-Sep-23 21:55
Calin Negru14-Sep-23 21:55 
GeneralRe: Pointer indirection Pin
k505414-Sep-23 5:32
mvek505414-Sep-23 5:32 
AnswerRe: Pointer indirection Pin
Richard MacCutchan14-Sep-23 6:43
mveRichard MacCutchan14-Sep-23 6:43 
GeneralRe: Pointer indirection Pin
Calin Negru14-Sep-23 10:10
Calin Negru14-Sep-23 10:10 
GeneralRe: Pointer indirection Pin
Richard MacCutchan14-Sep-23 22:12
mveRichard MacCutchan14-Sep-23 22:12 
Question[edited] collision response in a RTS Pin
Calin Negru28-Aug-23 7:49
Calin Negru28-Aug-23 7:49 
AnswerRe: [edited] collision response in a RTS Pin
Randor 28-Aug-23 9:48
professional Randor 28-Aug-23 9:48 

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.