Click here to Skip to main content
15,889,992 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Question[question] Inheritance and access level Pin
w2520n252019-Oct-06 16:24
w2520n252019-Oct-06 16:24 
AnswerRe: [question] Inheritance and access level Pin
Mark Salsbery19-Oct-06 18:05
Mark Salsbery19-Oct-06 18:05 
QuestionDirect3D image scramples when the screensaver comes up Pin
lastgen19-Oct-06 15:39
lastgen19-Oct-06 15:39 
QuestionI need help,who can help me of this project? Pin
alphaxz19-Oct-06 15:32
alphaxz19-Oct-06 15:32 
AnswerRe: I need help,who can help me of this project? Pin
Hamid_RT19-Oct-06 20:55
Hamid_RT19-Oct-06 20:55 
Questionrealtime Redirection Pin
rupert_durans19-Oct-06 15:22
rupert_durans19-Oct-06 15:22 
QuestionRe: realtime Redirection Pin
David Crow20-Oct-06 3:43
David Crow20-Oct-06 3:43 
QuestionA real beginner Q Pin
Ray_mond19-Oct-06 10:00
Ray_mond19-Oct-06 10:00 
I have this simple code in c++ and I was wondaring if anyone can tell me what does it do.And I mean line by line. Tnx I know what it does i just can figure out what it does in the lines. tnx again

#include
using namespace std;
main(){
int a,b,i,j;
cout<<"Vpisi a ";
cin>>a;
cout<<"Vpisi b ";
cin>>b;
for(i=1;i<=a;i++)
{
for(j=1;j<=b;j++)
{
if((i==1)||(i==a))
{
cout<<"*";}
else{
if((j==1)||(j==b))
{
cout<<"*";}
else{
cout<<" ";}
}
}
cout<<endl;
}
system("pause");
return 0;
}
=""
=""

<div="" class="ForumSig">I'm The Stig
AnswerRe: A real beginner Q Pin
Zac Howland19-Oct-06 10:14
Zac Howland19-Oct-06 10:14 
AnswerRe: A real beginner Q Pin
Christian Graus19-Oct-06 10:17
protectorChristian Graus19-Oct-06 10:17 
QuestionStruct(ures) pointers - how to initialize? Pin
Vaclav_19-Oct-06 8:47
Vaclav_19-Oct-06 8:47 
AnswerRe: Struct(ures) pointers - how to initialize? Pin
David Crow19-Oct-06 8:50
David Crow19-Oct-06 8:50 
GeneralRe: Struct(ures) pointers - how to initialize? Pin
Vaclav_19-Oct-06 9:14
Vaclav_19-Oct-06 9:14 
GeneralRe: Struct(ures) pointers - how to initialize? Pin
Zac Howland19-Oct-06 9:49
Zac Howland19-Oct-06 9:49 
AnswerRe: Struct(ures) pointers - how to initialize? Pin
Christian Graus19-Oct-06 9:02
protectorChristian Graus19-Oct-06 9:02 
GeneralRe: Struct(ures) pointers - how to initialize? Pin
Vaclav_19-Oct-06 9:27
Vaclav_19-Oct-06 9:27 
GeneralRe: Struct(ures) pointers - how to initialize? Pin
Vaclav_19-Oct-06 9:35
Vaclav_19-Oct-06 9:35 
GeneralRe: Struct(ures) pointers - how to initialize? Pin
Christian Graus19-Oct-06 9:51
protectorChristian Graus19-Oct-06 9:51 
Questionoverlaying graphics using API Hooks Pin
bayfouinc19-Oct-06 8:43
bayfouinc19-Oct-06 8:43 
AnswerRe: overlaying graphics using API Hooks Pin
Hamid_RT20-Oct-06 6:47
Hamid_RT20-Oct-06 6:47 
GeneralRe: overlaying graphics using API Hooks Pin
bayfouinc20-Oct-06 7:01
bayfouinc20-Oct-06 7:01 
Questionrun msword or other registered files such as PDF files &amp; etc. Pin
asdf175319-Oct-06 8:29
asdf175319-Oct-06 8:29 
AnswerRe: run msword or other registered files such as PDF files &amp; etc. Pin
Christian Graus19-Oct-06 8:28
protectorChristian Graus19-Oct-06 8:28 
GeneralRe: run msword or other registered files such as PDF files &amp; etc. Pin
asdf175319-Oct-06 8:35
asdf175319-Oct-06 8:35 
GeneralRe: run msword or other registered files such as PDF files &amp; etc. Pin
David Crow19-Oct-06 8:38
David Crow19-Oct-06 8:38 

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.