You sould have updated your compiler long ago pal~
I'm using Dev-C++ 4.9.41 that's the latest release:o , :p
Type: Posts; User: bljonk
You sould have updated your compiler long ago pal~
I'm using Dev-C++ 4.9.41 that's the latest release:o , :p
hey!!! chillin man the guy just discovered that's also possible to multiply to numbers using pointers(hahaha).
yeah! namespaces are a factor there~
which version are you using anyways?
#include <stdio.h>
#include <string.h> //for strlen()
#include <stdlib.h> //for atoi()
#include <conio.h> //for getch()
#line 1 /* makes the first line: 'void main(...)' help Debuging...
get books written by "Jesse Liberty" they're simple, and yet help full
int A[x][y];
if x & y are known:
int *p = malloc((x*y)*sizeof(int));
p = &A[0];
would do the job~, don't forget to free the memory when finished
include <stdbool.h> is missing in the source code!
Ok!
!if the source code is C and the extension is just PC, them just compile it just as you compile a normal *.c file.
if is an *.o or *.obj that you are refering to 'link' it.
int main(int argc,char *argv[])
{return 0;
}
int main(void)
{return 0;
}
void main(int argc,char *argv[])
{
consider:
C:\>prog A: -s -t
executes the job(prog) to the file or device A: with that options -s & -t.
for each [argc] is the number of arguments passed to prog; that are 3 (A:, -s, -t);
...
Are you using GCC?
I seem to be getting a couple of errors that I can't figure out.
I know that piece of code!
It's in the book : "C the complete reference"
& that's a problem because I'm only guessing that u got a msgbox saying that that's not a valid win32 program.
P.S.: by...
is't obvious that it will behave and be accessed as a two dimetional array.
I don't know about your compiler but i use gcc from DJGPP you need to include <conio.h> to use gotoxy();
(1):there no passing values for reference in 'C', it's C++; and passing a value by reference is the same as creating an shortcut(alias) for a program in a folder to your desktop, in this case for a...
if u use djgpp u maybe capable of using the preprocessor #asm
#asm
mov ax,5
#endasm
try upcoming:
>Sams Teach Yourself C++ in 21 Days 4th Edition
by: Jesse Liberty.
Use:
>C++: The Complete Reference, Third Edition
And more advanced in the subject later on, try:
>STL...
IDEA:
>>maybe we should be able to build characters
e.g:
Giant-Wizard-Dementor-Ghost-Dragon-Warewolf-Android.
>>powers
e.g:
fly(ignore obstacle; no points awarded)-swim(if the is a island to...
Thanks that's all i needed to know
I've been unsuccessfully trying to write a program to generate pascal triangle numbers and insert them into an 2D flexible array, but i still not getting it; any sugestions?
it will return 0 if the raise was successfull, otherwise it will return 1 or -1.
and the other question is out of my understanding. Sorry about it
try digital mars is free at http://www.digitalmars.com
U have to search for them in the folders that came with your compiler package~
[-]dm
|
[+]html
[+]bin
[+]src
| ->*.h
| ...
[+]text
you can get them from your keyboard easily:
e.g:
press: ALT + 130 (must be a digit with three numbers) ;
output >> é
i use it to write "José."
Is damn UNICODE
It differs from compiler to compiler;
if u write your own "*.h" file to compile keep it in the same directory with the "*.c" file that contains the source code:
e.g:
"units.h"
<stdio.h>
int...