调用mera API 时 , 如果参数2个以上怎么写

 

c++ array stack

2018-03-14 , 按照worldhub dinesh 的要求, 写的一个作业程序 ,

当时的对话

dinesh, 6:03 PM
hi Liu yang

I’m dinesh from worldhub

6:04 PM
hi dinesh

dinesh, 6:05 PM
i need a help from you regarding my assignment

are you free, can i share to you?

6:05 PM
ok , pls say

dinesh, 6:05 PM
its C program assignment

here is the question sir, can you help on this?

6:08 PM
ok , I will try it , when u need this program

dinesh, 6:09 PM
by friday,

i have try coding but i cant get correct

6:10 PM
no prob , I will give u the program before Friday , what is your compile envir ? Linux or visual studio

dinesh, 6:10 PM
dev c++

6:11 PM
you will compile the program in Linux machine , right ?

dinesh, 6:11 PM
no sir

i just need to code and show the out come to my lecture

its just a assignment for me

its a reverse stack program

6:13 PM
ic , in fact you do not need to compile it , just need the code and show it in lecture

dinesh, 6:13 PM
yes, correct you said

just need to show my lecture only

6:14 PM
ok, I know it
I will back to home now , contact u later

dinesh, 6:14 PM
sure sir

9:10 PM
hi dinesh , as the picture show , c program should create a stack following input string , but what is the parameter of POP(X) and PUSH(Y)

dinesh, 9:11 PM
Okay

I will share the out come of my lecture with the qurstion

9:12 PM
ok , I need make clear what this program want to do

dinesh, 9:12 PM

the answer should be like this

9:13 PM
let me see
now I have understand the request , it more clear now

dinesh, 9:16 PM
yes this is the answer for the question

sorry for confusing you

9:17 PM
no prob
9:11 AM
hi dinesh , here is the source file

Source.c
This file is no longer available for download. Learn more
u can compile it in Linux envir by command : gcc -o Source Source.c
if u are windows envir , you can compile it in visual tudio Developer Command Prompt by command : cl Source.c

dinesh, 9:35 AM
hi morning liu yang

9:36 AM
morning

dinesh, 9:36 AM
yes i have compiled, and its run correctly

9:37 AM
ok , good

dinesh, 9:37 AM
yes, its correct
this is actually i want

thank you very much mr liu yang

(pray)

9:39 AM
no prob

 

要求图