需要一些帮助的人.... :( [英] NEED SOME HELP GUYS.... :(

查看:61
本文介绍了需要一些帮助的人.... :(的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

只是告诉你们,我只用了两个星期的时间用c ++拿了我的

的第一堂课,现在我的proffesor要求我解决这个问题

问题:

///使用函数创建一个Win32控制台应用程序,在屏幕上输出

星号(*),显示你的名字,如矩阵屏幕。

它必须采用自上而下的设计风格。 PLS帮助这个年轻人

学生。 * _ *

如果你可以帮我发送源代码......即使我不能这样做我可以说它应该很简单。

谢谢Joe

解决方案

Joe Black发布:

只是为了通知你那些我只用了两周的时间,我用c ++开始了我的第一堂课,现在我的proffesor要求我解决这个问题:
///使用函数创建一个Win32控制台应用程序在屏幕上输出星号(*),显示您的名字,如矩阵屏幕。
它必须采用自上而下的设计风格。 PLS帮助这个学生
学生。 * _ *
如果你能帮我发送源代码......即使我不能这样做,我可以说它应该很简单。
谢谢Joe



第1步:


打开记事本,选择等宽字体并设计你的名字。

第2步:


使用标准输出来输出字符串。


Google forcout。

-JKop


" Joe Black" < PR ********** @ hotmail.com>在留言中写道

news:f1 ************************** @ posting.google.c om ...

只是告诉你们,我只用了2个星期就用c ++开始了我的第一堂课,现在我的proffesor要求我解决这个问题:
///使用函数创建一个Win32控制台应用程序,在屏幕上输出
星号(*),显示您的名字,如矩阵屏幕。
它必须采用自上而下的设计风格。


在两周的
课程结束后,在我看来这是合理的工作。

PLS帮助这个学生
学生。 * _ *


我们当然会帮助你。我们不会做的是为你做。

向我们展示你最好的尝试代码,并提出具体问题。

如果你可以帮我发送源代码代码...


发送给你的代码根本不会帮助你(如果你没有得到的话,可能会帮助你通过你的课程
抓到作弊,就是这样。

肯定不会帮助你学习。 给一个人一条鱼,并且

所有这些。

即使我不能做


你有没有试过?如果是这样,请告诉我们代码。如果没有,请尝试。

我可以说它应该很简单。




它相对简单。


提示:不要试图一次完成所有操作。一次做一点,

测试你去。不要添加更多,直到你有工作

正确。例如。首先写一些输出星号的系列

星号(任意数量)。然后也许会有什么东西

输出一系列带有散布空间的星号

(再次使用任意数量的星号或空格,只需要得到一个

感觉事情。)然后尝试在多个

行上输出。然后做多行不同的长度。然后

多行使用不同数量的星号,然后用

表示行上不同位置的空格,然后不同

空格数,等等。


跑步前走路。这是一个简单的骨架程序

让你入门:


#include< iostream>


void ast(unsigned int how_many)

{

for(unsigned int i = 0; i< how_many; ++ i)

std :: cout<< ''*'';


std :: cout<< ''\ n'';

}


int main()

{

ast(42);

ast(25);

返回0;

}


-Mike





" JKop" < NU ** @ NULL.NULL>在消息中写道

新闻:Cv ******************* @ news.indigo.ie ...

Joe Black发布了:

只是告诉你们,我只用了两周的时间用c ++开始了我的第一堂课,现在我的proffesor要求我解决这个
问题:
///使用一个函数创建一个Win32控制台应用程序,它在屏幕上输出
星号(*),显示你的名字就像一个矩阵屏幕。
它必须采用自上而下的设计风格。 PLS帮助这个学生
学生。 * _ *
如果你能帮我发送源代码......即使我不能这样做,我可以说它应该很简单。
谢谢Joe


第1步:打开记事本,选择等宽字体并设计你的名字。

第2步:
使用标准输出来输出字符串。



我非常怀疑这是一个解决方案,它将由教师接受。

。我很确定他是在寻找循环的
。但当然在继续之前应该验证



-Mike


Just to inform you guys that i have only like 2 weeks that i took my
first classes in c++, and my proffesor now is asking me to solve this
problem:
/// Using a function create a Win32 Console Application which outputs
asterisks (*)on the screen displaying your name like a matrix screen.
it has to be in a top down-design style. PLS HELP THIS AMATEUR
STUDENT. *_*
if you can help me just send the source code... even that i cant do
that i can fidure out that it should be simple.
thank you Joe

解决方案

Joe Black posted:

Just to inform you guys that i have only like 2 weeks that i took my
first classes in c++, and my proffesor now is asking me to solve this
problem:
/// Using a function create a Win32 Console Application which outputs
asterisks (*)on the screen displaying your name like a matrix screen.
it has to be in a top down-design style. PLS HELP THIS AMATEUR
STUDENT. *_*
if you can help me just send the source code... even that i cant do
that i can fidure out that it should be simple.
thank you Joe



Step 1:

Open Notepad, pick a monospace font and design your name.
Step 2:

Use standard output to output the string.

Google for "cout".
-JKop


"Joe Black" <pr**********@hotmail.com> wrote in message
news:f1**************************@posting.google.c om...

Just to inform you guys that i have only like 2 weeks that i took my
first classes in c++, and my proffesor now is asking me to solve this
problem:
/// Using a function create a Win32 Console Application which outputs
asterisks (*)on the screen displaying your name like a matrix screen.
it has to be in a top down-design style.
That seems to me a reasonable assignment after two weeks of
classes.
PLS HELP THIS AMATEUR
STUDENT. *_*
Of course we''ll help you. What we will not do is do it for you.
Show us the code of your best attempt, and ask specific questions.
if you can help me just send the source code...
Sending you the code would help you not at all (it might help
you pass your course, if you didn''t get caught cheating, that is).
It certainly would not help you learn. "Give a man a fish", and
all that.
even that i cant do
Did you even try? If so, show us the code. If not, try.
that i can fidure out that it should be simple.



It is relatively simple.

Hints: Don''t try to do it all at once. Do a little at a time,
testing as you go. Don''t add more until what you have works
correctly. E.g. first write something that outputs a series
of asterisks (any number of them). Then perhaps something
which outputs a series of asterisks with interspersed spaces
(again, use any number of asterisks or spaces, just to get a
feel for things.) Then try to do the output on more than one
line. Then do multiple lines of differing lengths. Then
multiple lines with differing numbers of asterisks, then with
the spaces at differnent locations on a line, then differing
numbers of spaces, etc. etc.

Walk before you run. Here''s a simple skeleton program to
get you started:

#include <iostream>

void ast(unsigned int how_many)
{
for(unsigned int i = 0; i < how_many; ++i)
std::cout << ''*'';

std::cout << ''\n'';
}

int main()
{
ast(42);
ast(25);
return 0;
}

-Mike




"JKop" <NU**@NULL.NULL> wrote in message
news:Cv*******************@news.indigo.ie...

Joe Black posted:

Just to inform you guys that i have only like 2 weeks that i took my
first classes in c++, and my proffesor now is asking me to solve this
problem:
/// Using a function create a Win32 Console Application which outputs
asterisks (*)on the screen displaying your name like a matrix screen.
it has to be in a top down-design style. PLS HELP THIS AMATEUR
STUDENT. *_*
if you can help me just send the source code... even that i cant do
that i can fidure out that it should be simple.
thank you Joe



Step 1:

Open Notepad, pick a monospace font and design your name.
Step 2:

Use standard output to output the string.



I seriously doubt that is a solution which would be
accepted by the instructor. I''m fairly certain he''s
looking for loops. But of course one should verify
that before proceeding.
-Mike


这篇关于需要一些帮助的人.... :(的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆