Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me arrays output in C++

Status
Not open for further replies.

fatma1000

Banned
Full Member level 2
Joined
Apr 30, 2006
Messages
147
Helped
3
Reputation
6
Reaction score
2
Trophy points
1,298
Location
eygpt
Activity points
0
i have this code

for (ii=0;ii<NX;ii++)
{
for(jj=0;jj<NY;jj++)
{
//sum statments to compute sigma[ii][jj]
fprintf(qqq,"%e\t",sigma[ii][jj])
}
}
but by this code the array qqq will be 1*200 (if NX=10 ,NY=20)
i want this array to be 10*20
so please what can i do?

regards
 

Re: help in c++

hi

if u want to print in a matrix like thing then just add

cout<<"\n";

after 2nd loop

it will convert output into 10*20

as u need

if some thing alse ur requirement plz do tell
 

Re: help in c++

thanks for your help
i tried to writ a brogram in c++ and i will need your help
but how can i contact you ?
by edaboard in this section or by mail
tell me
with my best regards
 

Re: help in c++

Asalam-o-Alekum

i visit EDA regularly
so it would b best

otherwise my yahoo ID is aem_au@yahoo.com

i would prefer EDA
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top