I have been programming SDL lately and sometimes I feel like there are some problems with my code. Problems that don't show up at compile time or runtime. For example, I have run a sample SDL program...
Type: Posts; User: Jonnyb42
I have been programming SDL lately and sometimes I feel like there are some problems with my code. Problems that don't show up at compile time or runtime. For example, I have run a sample SDL program...
Hello everyone, I have been trying to learn network programming without any success. I mainly want to know how to make the C++ games multiplayer. The only thing that seems alright is Beej's guide to...
R.Stiltskin :
I have tried both the ^ and quatation marks to escape the *, however neither worked.
Here are there outputs,
Input:
postc 3 4 +
Ok so I changed it to debug as zacs7 suggested, and the output of:
postc 3 4 * (<-- my filename is postc.exe)
is:
Unrecognized Figure! b
Unrecognized Figure! b...
Sorry Stiltskin, but it still doesn't work for me :(
Hmm, I tried both, and the first repeated "Unrecognized Figure!\n" 36 times, (my default case) and the second time simply said Unrecognized Figure.
Yes, but when surrounded in single quotes '*' indicates it as a character right? I have tried backslashing the asterisk, and it said that is not an escape sequence. Also, in K&R, they write a program...
I am reading the holy C programming book by K&R, and I took on Exercise 5-10. It asked to write a program expr which evaluated a postfix expression, such as
expr 3 4 *
and I made my output look...
Hey could someone give me an example of C code writing a .c file and using TCC to compile it, then perhaps run it?
thanks
thanks guys this is awesome!
Just some extra questions, Why is it so hard to write a compiler, or why does it take so many lines? Also, if anyone knows robotics, but if you had a microntroller, is...
Wow sweet!! Now, how hard is it to write a C compiler in C only? I mean like one which is as simple as possible, doesn't need GUI or special features or whatever, just for a call to compile like you...
Hello I am new to C programming, and I am wondering how to (if it is possible and I really hope it is possible) to have an executable.. when run, write another program... compile it, and run it?
...