Click here to Skip to main content
14,695,835 members
Home » Discussions » C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Combination or inheritance Pin
leon de boer31-Mar-19 7:12
Memberleon de boer31-Mar-19 7:12 
SuggestionRe: Combination or inheritance Pin
David Crow1-Apr-19 4:31
MemberDavid Crow1-Apr-19 4:31 
Questioni really need help with this Pin
Member 1420332729-Mar-19 6:13
MemberMember 1420332729-Mar-19 6:13 
GeneralRe: i really need help with this Pin
Richard MacCutchan29-Mar-19 6:58
mveRichard MacCutchan29-Mar-19 6:58 
AnswerRe: i really need help with this Pin
Victor Nijegorodov29-Mar-19 7:43
MemberVictor Nijegorodov29-Mar-19 7:43 
GeneralRe: i really need help with this Pin
Member 142033272-Apr-19 5:14
MemberMember 142033272-Apr-19 5:14 
QuestionRe: i really need help with this Pin
David Crow29-Mar-19 10:24
MemberDavid Crow29-Mar-19 10:24 
AnswerRe: i really need help with this Pin
Member 1420332730-Mar-19 4:52
MemberMember 1420332730-Mar-19 4:52 
this is the code that i had but when i run it, it gives me a 0(zero) as the answer
#include<stdio.h>
//program for finding the lowest value in an array using a for loop
int main (){
int marks [] = {20,30,40,50,60}, a = 0, b = 1 , lowest ;
for (marks[a]<marks[b];b++;){
lowest = marks[a];
a++;
}
printf("the lowest number in the array is %d", lowest );
return 0;
}
GeneralRe: i really need help with this Pin
k505430-Mar-19 5:48
mvek505430-Mar-19 5:48 
GeneralRe: i really need help with this Pin
Member 142033272-Apr-19 5:13
MemberMember 142033272-Apr-19 5:13 
SuggestionRe: i really need help with this Pin
David Crow30-Mar-19 6:33
MemberDavid Crow30-Mar-19 6:33 
AnswerRe: i really need help with this Pin
Gerry Schmitz29-Mar-19 11:40
mveGerry Schmitz29-Mar-19 11:40 
AnswerRe: i really need help with this Pin
Vaclav_1-Apr-19 16:43
MemberVaclav_1-Apr-19 16:43 
QuestionPutting declared const into a print statement Pin
SEmmett28-Mar-19 11:45
MemberSEmmett28-Mar-19 11:45 
AnswerRe: Putting declared const into a print statement Pin
k505428-Mar-19 12:01
mvek505428-Mar-19 12:01 
AnswerRe: Putting declared const into a print statement Pin
CPallini28-Mar-19 12:06
mveCPallini28-Mar-19 12:06 
GeneralRe: Putting declared const into a print statement Pin
SEmmett28-Mar-19 12:34
MemberSEmmett28-Mar-19 12:34 
GeneralRe: Putting declared const into a print statement Pin
k505428-Mar-19 13:01
mvek505428-Mar-19 13:01 
GeneralRe: Putting declared const into a print statement Pin
SEmmett28-Mar-19 15:53
MemberSEmmett28-Mar-19 15:53 
QuestionHow i get any scan image source library ? Pin
ahmed_sa27-Mar-19 0:20
Memberahmed_sa27-Mar-19 0:20 
AnswerRe: How i get any scan image source library ? Pin
Richard MacCutchan27-Mar-19 0:49
mveRichard MacCutchan27-Mar-19 0:49 
QuestionI am trying to make a keyboard recorder for an app Pin
Member 1419098121-Mar-19 3:09
MemberMember 1419098121-Mar-19 3:09 
AnswerRe: I am trying to make a keyboard recorder for an app Pin
Eddy Vluggen21-Mar-19 3:18
professionalEddy Vluggen21-Mar-19 3:18 
GeneralRe: I am trying to make a keyboard recorder for an app Pin
Member 1419098122-Mar-19 3:15
MemberMember 1419098122-Mar-19 3:15 
GeneralRe: I am trying to make a keyboard recorder for an app Pin
Richard MacCutchan22-Mar-19 5:23
mveRichard MacCutchan22-Mar-19 5:23 

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.