Im trying to use mvprintw and Im having trouble refering to the window I am using primarily stdscr but I am using
blocks doesn't support c++ by default either
ridiculous
hi
I need a cigarette first though.
I suppose popavic has gone.
draichis_, so, how's your sister?
Grow up
Hi everyone
hi
I asked this earlier, but I am still a little confused about how software code is designed
read a book
The question I am wondering about is how professionals create lots of code so fast
RTFM!!!
LOL jk
bioeng, most professionals work in teams to develop software, and therefore productivity is a lot higher. 2 coders can work a lot faster than 1
Hmmmmm
That is why the engineering college I used to attend focuses on teamwork?
Could be
With a lot of programming experience; it would seem relatively easy to write large coding projects.
Why is this important?
When I was attending school, the other students seemed to have an advantage over me
draichis_, at the same time, you don't expect microsoft to only have one coder working on the windows kernel (in spite of the fact that the stability of the windows kernel would indicate otherwise)
Yes, so?
Hmmmmm
Nowadays, I'm wondering how they, as professionals now, can perform their job efficiently
Why does this matter?
draichis_, perhaps he looked at a million line source code file and got intimidated
udraichis_, perhaps he looked at a million line source code file and got intimidated/u
I am wanting to return to school soon
and I want to do better this time
the best way to get good at something is to practice
What stopped you before?
I did not have certain personal website host qualities expected of an engineer when I was going to school
So, this is our problem?
No
!books bioeng
books is http://www.iso-9899.info/wiki/Books
I'm just wondering how algorithms are derived
That's what I'm asking
check out the art of computer programming volumes 1-3 by knuth
Is this a question for a mathematician?
I still see no relevance in your question.
bioeng, have you ever taken descrete math?
Yes
Yes, knuth wrote some good books
well, descrete math has a lot to do with computer algorythms
His work is pretty legendary.
I thought about this topic because I do much better with hardware than I do with software
bioeng do you know any assembly languages
They touched on assembly while I was in school
bioeng, emerse yourself in a specific Archetecture, learning assembly language can help "bridege the gap" between hardware and software
Ah thank you
if you know what the compiler is generating, you can better understand how to write faster algorythms
I recommend the write great code series as well
I did also do some research in the field of software engineering
They talked about a topic I believe they called "black-box design"
bioeng, just so you know, I am only just out of highschool due to start college in a week, but I already know a lot about this stuff because I read books like there is no tomorrow and I practice what I learn from those books
And from what I understand, every function has a prototype that gives the inputs to the function and what it returns?
technically, you don't need to declare function prototypes, but it is generally recomended
you can write your code in such a way where you write your functions and have all the code that uses the functions bellow the function definition
you would have your main function as the last function in the source code
And the main function just calls the supporting functions and is responsible for accomplishing the main objective of the program?
These objectives are then specified by what software engineers call requirements analysis?
I guess I'll take both of those answers as yes
Drugs are bad for you
m'kay
now you lost your shape
tsk tsk…
m'kay, Mr. Mackee
im looking for some advice in debugging a app of mine that uses a convenience lib i also wrote. i cant output to the console, i have to fprintf to a file. im not sure how i can have the lib (optionaly) print out info
or how the app and lib could share the FILE
better way to go about this?
You would pass the FILE* to the library or have the library use a specific FILE* like stdout and have the main app redirect (freopen, etc) stdout.
or stderr.
Xgc how can i pass anything to the lib? mean make a new arg for the functions?
wouldnt make debugging output optional then
You could have a helper function that passes the FILE* and the lib could check for non-NULL before using it.
hmmm
Whether the helper stored a non-NULL FILE* would make it optional.
The lib could store it in a static storage area.
ooo, never though about it like that
that should do the trick
thanks
void hold_set_debug_fileptr(FILE* fptr) { local_fptr = fptr; } …
You're welcome.
good evening
hiya there
mornin'
or good evening..
morning for the UK
sup?
hi scott_w
I can't even sit down and read the news anymore.
I still couldn't find how select() can be used without blocking
I'm going to go to bed; my eyes have begun to hurt.
Night all
um, use the timeout parameter appropriately?
if I have a parser that sits behind multiple sockets, wouldn't the parser blocks each time it processes one socket that i ready for reading ?
*… is ready …
If I make my recv read a little at one time, it wouldnt make any difference from using a thread. So how is multiplexing faster than threads ?