http://www.htdp.org/2003-09-26/Book/
A bit easier than the other book, but will also teach you how to program.
It's important to distinguish between knowing a language and knowing how to...
Type: Posts; User: ggs
http://www.htdp.org/2003-09-26/Book/
A bit easier than the other book, but will also teach you how to program.
It's important to distinguish between knowing a language and knowing how to...
http://mitpress.mit.edu/sicp/full-text/book/book.html
If you want a real challenge that will expand your mind, I recommend working through this book. By the time you are finished it, you will be...
you did allocate memory for m_line with new, right?
m_line = new line;
also your quote shows 'return line', when perhaps it should be 'return m_line'.
but really, you have not pasted enough...
Merge sort provides excellent performance and the implementation for linked lists is remarkably elegant.
The following routine should return a pointer to a linked list.
If the linked list given...
Instead of learning the syntax of a programming language like C, maybe you should focus on learning how to program. Here is a good, free book that teaches just that:
...
i dont know how to program computer biut try
int bits=01001101b;
and if that dont work convert binaryy to decimal and use that instead. (binary value is same as decimal value)
Ignore the man before me. The while loop is superior in every way.
this is a really old topic so theres probably no chance the original poster will read this, but a high level language like scheme is a better choice for this than c++
Try a forth or a lisp and see how small your programs can get
i would seriously uninstall dev-c++ then reinstall it nothign can be worth reading all that garbage
ok if u cannot delete the c:\ try pasting errors yyou get
yes to that last question, which explains yur output
dlete the c:\
and this code returns garbage and invokes undefined behavior for most inputs if `match' points to an empty string; a possibility explicitly acknowledged by your *match != '\0' check.
ummm
you'll need a copy of photoshop to do that
nice try at getting warez mister
internet!
c is portable assembler
posting on the potatoes
Whenever I see a simple problem like this, it is easy enough to reason out why things must be true, but I cannot imagine how to formally write the answer :(
So, bumping to encourage axon to hurry...
in your shoes, i would eat up the n/d with fgets and parse it into two strings, n and d - then use atoi to convert them to integers
the repeating decimal place will be tricky to deal with, but...
http://cslibrary.stanford.edu/103/
or, somebody besides me could show you how to use a vector
maybe i should learn some of this c++ garbage :(
if you are quite serious about writing a small scripting language, it would do you well to inspect LISP. it should be possible without too much difficulty to write a LISP-like language in a short...
.ini file + getvalue("field")
dude i dont get this forum
what is it for
well, if you're eating up your entire input first, throw in a special case and encode the entire run of 'x' with rle