- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
I'm coding C everyday, and I always have problems with it. So I would like to join and exchange the knowledge to other people.
- Interests
- C, Mathematica, MATCAD
- PC Specs
- 3 GB RAM dual XP Package 3 and Vista (I don't know why I should have 2 OS)
Hi, I use Runge Kutta to solve for ODEs. (Thanks for someone who provided this runge kutta code. I'm sorry if I didn't put a credit here) I was wondering why when I set TIME 75, the result of y[3] becomes negative at the time around 70+. it is supposed … |
|
I use Dual OS. C: is Vista and F: is XP package 3. I downloaded code::blocks from [URL="http://www.codeblocks.org/"]here[/URL] and I also follow the instruction. I successfully installed in C: and I can compile "hello world" When I installed in F:, I cannot compile. though I changed the path from C:/~ … |
|
I tried to debug Macro variable but i cannot. I use Dev c++ [CODE]#include<stdio.h> #define TIME 5 int main() { int i=TIME; printf("%d",i); }[/CODE] when I run it, of course it gives correct result. but when I debug, it reports "TIME = not found in current context" |
|
Re:
I know its silly but once i tried this and output is not what it should be.. [code] #include<stdio.h> #include<conio.h> int main() { int i=0; i=i++; printf(i); } [/code] i MEAN post increment will store a value, say 0 here.and then increment but that value is given to the variable … |