Click here to Skip to main content
15,912,329 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionOCR example Pin
Maynka5-Aug-07 20:00
Maynka5-Aug-07 20:00 
AnswerRe: OCR example Pin
Shouvik Das5-Aug-07 21:12
Shouvik Das5-Aug-07 21:12 
AnswerRe: OCR example Pin
ThatsAlok6-Aug-07 1:43
ThatsAlok6-Aug-07 1:43 
Questionhow do switching to ring0 Pin
zon_cpp5-Aug-07 19:55
zon_cpp5-Aug-07 19:55 
AnswerRe: how do switching to ring0 Pin
henky@online-resource.org5-Aug-07 23:27
henky@online-resource.org5-Aug-07 23:27 
QuestionCListCtrl is not display the information in 64-bit windows OS Pin
ksrameshkanth5-Aug-07 18:58
ksrameshkanth5-Aug-07 18:58 
AnswerRe: CListCtrl is not display the information in 64-bit windows OS Pin
prasad_som5-Aug-07 20:12
prasad_som5-Aug-07 20:12 
Questionconst keyword Pin
lavanya815-Aug-07 18:48
lavanya815-Aug-07 18:48 
Hi,
I am new to this forum>plz let me know which forum is suitable for 'C' language.
And my question is -
What are the possible ways of writing C codes using 'const' keyword. I have written some.I need few more.
Plz go thru and send me any other cases where we can use const keyword in C only not C++.Hope I will get reply as early possible.

const int degrees = 360;
int const degrees1 = 180;

const float pi = 3.14;
const char quit = 'q';

int * const var1;
const int * var2;
int const * var3

const char * const Var4;
char const * const Var5;

void test1() const;
const int * test2(); /* function returns a adress that
could not be modified */

void test3(const int *i);
const int arr1[]={1,2,3,4,5,6,7};

char const *arr="coderzone";
typedef struct member
{
char name[20];
long phno;
};
const struct member M1 = {"Marino" , 62627000};
struct member * const M2 = {"John" , 2786900};
const struct member * const M3 = {"Smith",57361777};

union single
{
int I1;
char C1;
};
const union single S1 = {97};
union single * const S2 = {'A'};
const union single * const S3 = {'0'};


Thank U..

AnswerRe: const keyword Pin
Shouvik Das5-Aug-07 19:52
Shouvik Das5-Aug-07 19:52 
AnswerRe: const keyword Pin
toxcct5-Aug-07 22:20
toxcct5-Aug-07 22:20 
QuestionIs there any possibilty to create Drawing area in MFC? Pin
vikramkarthik5-Aug-07 18:29
vikramkarthik5-Aug-07 18:29 
AnswerRe: Is there any possibilty to create Drawing area in MFC? Pin
Hamid_RT5-Aug-07 19:11
Hamid_RT5-Aug-07 19:11 
AnswerRe: Is there any possibilty to create Drawing area in MFC? Pin
Anurag Gandhi5-Aug-07 19:24
professionalAnurag Gandhi5-Aug-07 19:24 
AnswerRe: Is there any possibilty to create Drawing area in MFC? Pin
ThatsAlok5-Aug-07 19:39
ThatsAlok5-Aug-07 19:39 
QuestionError regarding .sbr file in VC++ 2005 Pin
yudhisthira5-Aug-07 18:26
yudhisthira5-Aug-07 18:26 
AnswerRe: Error regarding .sbr file in VC++ 2005 Pin
Paresh Chitte5-Aug-07 19:40
Paresh Chitte5-Aug-07 19:40 
GeneralRe: Error regarding .sbr file in VC++ 2005 Pin
yudhisthira5-Aug-07 19:55
yudhisthira5-Aug-07 19:55 
GeneralRe: Error regarding .sbr file in VC++ 2005 Pin
Paresh Chitte5-Aug-07 20:02
Paresh Chitte5-Aug-07 20:02 
AnswerRe: Error regarding .sbr file in VC++ 2005 Pin
Shouvik Das5-Aug-07 19:48
Shouvik Das5-Aug-07 19:48 
GeneralRe: Error regarding .sbr file in VC++ 2005 Pin
yudhisthira5-Aug-07 19:55
yudhisthira5-Aug-07 19:55 
AnswerRe: Error regarding .sbr file in VC++ 2005 Pin
ThatsAlok5-Aug-07 19:53
ThatsAlok5-Aug-07 19:53 
GeneralRe: Error regarding .sbr file in VC++ 2005 Pin
yudhisthira5-Aug-07 19:56
yudhisthira5-Aug-07 19:56 
GeneralRe: Error regarding .sbr file in VC++ 2005 Pin
ThatsAlok5-Aug-07 20:20
ThatsAlok5-Aug-07 20:20 
Questionstatic member variable, dll export and multiple translation units Pin
devvvy5-Aug-07 15:43
devvvy5-Aug-07 15:43 
AnswerRe: static member variable, dll export and multiple translation units [modified*2] Pin
Mark Salsbery5-Aug-07 16:41
Mark Salsbery5-Aug-07 16:41 

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.