Brilliant!
#include <stdio.h>
int alg( int n, int cnt ) {
if( n == 1 )
return cnt;
Type: Posts; User: Pickels
Brilliant!
#include <stdio.h>
int alg( int n, int cnt ) {
if( n == 1 )
return cnt;
I'm just doing a simple excercise today and I wrote this fuction--ALG--And I'm getting the weirdest outputs. I have taken the liberty to insert a printf right before the return, and to my confusion...
The code is in C. I'm using GCC.
I am having little to no sucsess with this issue. Would be awesome to actually get this working. :confused:
Been google'ing my butt off trying to figure this out. There is a 'Compile and Link' button in jgrasp but I think there must be more to it that I am missing.
Sorry for asking this but how do I go aboutdoing that? Thanks :P
Hi I'm attempting to write games in C using OpenGL, however I am having difficulty compiling any code whatsoever. I'm using Jgrasp + cygwin w/ Gcc.