Top.Mail.Ru
The C++ Community's Journal -- Day
? ?
The C++ Community's Journal -- Day [entries|friends|calendar]
The C++ Community

[ userinfo | livejournal userinfo ]
[ calendar | livejournal calendar ]

xpostd to programmers [17 Nov 2003|10:00am]
project organizational and ide q.

i'm going to develop 3 console apps(interacting with each other) under linux with following structure:

common // common classes used by all 3 apps
app1 // app1 ;-=---) etc
app2
app3

i've created makefiles(very simple) it's ok, but whenever i try to import this structure to any ide(kdevelop, anjuta) i fail. they ignore sources in "common" and trying to add that files results in copying 'em to every project. seems like no IDE for linux handles multiple projects in ... yeah, workspace and files in different locations...

and, yes, I can use combination of texteditor, make, gdb, but at the end gui was invented to organize information, not to fancy people with skins, so i'd like to have something integrated... i know i'm thinking with MS VS concepts, but...

any ideas?
thanks
post comment

[17 Nov 2003|06:06pm]
how do i output ascii art, or even pixel by pixel drawing (whichever is more basic on the coding end), and how would i turn this into a function?

also, how do i accept the arrow keys as input?

while i'm at it, how does i clear the screen?

thanks much.
8 comments|post comment

c++ project [17 Nov 2003|10:55pm]
my assignment is to create a random number generator to fill aone dimensional array with 13 numbers. the numberws should have 3 digits - two before the decimal and one after the decimal point. after the array is filled, it should print out the list horizontally and vertically, using iomanip, setw(), etc.
then its supposed to find the average and print it out with one decimal place properly labeled, sort using a bubble sort and print out the sorted list in the same format as above, find the median, find the mode, and find the standard deviation.

here's what i have so far
help would be greatly appreciated

the program so far...Collapse )

p.s.- watch out for html auto-formatting if you post a reply
cross-posted in Imagecoders_haven
post comment

navigation
[ viewing | November 17th, 2003 ]
[ go | previous day|next day ]
Image