Click here to Skip to main content
15,925,181 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: I need help 2 Pin
toxcct23-Nov-05 2:13
toxcct23-Nov-05 2:13 
AnswerRe: I need help 2 Pin
Saksida Bojan23-Nov-05 18:53
Saksida Bojan23-Nov-05 18:53 
QuestionI need help! Pin
Harshees22-Nov-05 12:52
Harshees22-Nov-05 12:52 
QuestionXmlValidatingReader problem with xs:date Pin
IsaacB22-Nov-05 10:28
IsaacB22-Nov-05 10:28 
QuestionEditor for collapsing '#ifdef' or '#if defined' in C/C++ files Pin
kristofvanderhaeghen21-Nov-05 21:44
kristofvanderhaeghen21-Nov-05 21:44 
QuestionHow to change CEdit's background color and text color? thanks. Pin
LeeeNN21-Nov-05 14:12
LeeeNN21-Nov-05 14:12 
QuestionFailed to retrieve SQL Server out param values using ADODB::_CommandPtr - Urgent Pin
shyjujohn21-Nov-05 1:00
shyjujohn21-Nov-05 1:00 
Questiondrawing in a console Pin
qwerty666@codeproject.com20-Nov-05 10:57
qwerty666@codeproject.com20-Nov-05 10:57 
Hello I am trying to draw a box and a message in a console window like so:
**************
* *
* Hello name *
* *
**************

Instead it looks like this:
**************
* *
* Hello name
* *
**************

This is my code that I am trying to get work:
<br />
int main(int argc, char *argv[])<br />
{int r=1,row=0,col=0,c=1;<br />
 string name,greet;<br />
 <br />
cout << "Please enter your name";<br />
cin >> name;<br />
greet = " Hello " + name +" ";<br />
<br />
row = 5;<br />
col = greet.size()+2;<br />
<br />
for(r=1;r<6;r++){<br />
                 for(c=1;c<=col;c++){                 <br />
if(c==1 || r==1 || r == 5 || c==col)<br />
        cout<< "*";<br />
else if(r==3 && c>1 && c<col-1)             {<br />
             cout<<greet;c+= greet.size();}<br />
        else<br />
        cout<<" ";<br />
                                    }<br />
  <br />
      cout<<endl; }<br />
<br />
    system("PAUSE");<br />
    return EXIT_SUCCESS;<br />
}<br />


The top one should be a box and the second one should be a box but missing an asterisk right after name.
AnswerRe: drawing in a console Pin
Curtis Schlak.20-Nov-05 15:45
Curtis Schlak.20-Nov-05 15:45 
GeneralRe: drawing in a console Pin
qwerty666@codeproject.com21-Nov-05 7:26
qwerty666@codeproject.com21-Nov-05 7:26 
GeneralRe: drawing in a console Pin
Curtis Schlak.21-Nov-05 16:35
Curtis Schlak.21-Nov-05 16:35 
QuestionConsole window Pin
orestis198720-Nov-05 9:24
orestis198720-Nov-05 9:24 
Question0 vs &quot;0&quot; Pin
IsaacB18-Nov-05 13:14
IsaacB18-Nov-05 13:14 
AnswerRe: 0 vs &amp;quot;0&amp;quot; Pin
Sheng Jiang 蒋晟20-Nov-05 16:41
Sheng Jiang 蒋晟20-Nov-05 16:41 
AnswerRe: 0 vs &amp;quot;0&amp;quot; Pin
John R. Shaw22-Nov-05 19:41
John R. Shaw22-Nov-05 19:41 
Questionstatic and the public keyword Pin
S. Senthil Kumar18-Nov-05 3:56
S. Senthil Kumar18-Nov-05 3:56 
AnswerRe: static and the public keyword Pin
toxcct18-Nov-05 7:08
toxcct18-Nov-05 7:08 
GeneralRe: static and the public keyword Pin
S. Senthil Kumar20-Nov-05 19:21
S. Senthil Kumar20-Nov-05 19:21 
Questiongathering drive contents with standard C functions Pin
computerwhiz197015-Nov-05 6:22
computerwhiz197015-Nov-05 6:22 
AnswerRe: gathering drive contents with standard C functions Pin
Nish Nishant17-Nov-05 3:45
sitebuilderNish Nishant17-Nov-05 3:45 
AnswerRe: gathering drive contents with standard C functions Pin
mikanu19-Nov-05 20:40
mikanu19-Nov-05 20:40 
QuestionCreating a CSV file using C++ Pin
Georgie Hughes15-Nov-05 1:55
Georgie Hughes15-Nov-05 1:55 
AnswerRe: Creating a CSV file using C++ Pin
Christian Graus15-Nov-05 11:00
protectorChristian Graus15-Nov-05 11:00 
GeneralRe: Creating a CSV file using C++ Pin
Georgie Hughes15-Nov-05 23:07
Georgie Hughes15-Nov-05 23:07 
QuestionAccessing file from different threads Pin
9ine14-Nov-05 22:56
9ine14-Nov-05 22:56 

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.