there is pic which shows using yellow and black (dont care gray background) what is wrong still. variable type can store here
which nothing ischanged 32bit non signed values which i earlier thinked...
Type: Posts; User: Vanhapolle
there is pic which shows using yellow and black (dont care gray background) what is wrong still. variable type can store here
which nothing ischanged 32bit non signed values which i earlier thinked...
problem what i haveis nothing do with this. I try get pic of result.
and these platforms use PowerPC and some even motorla 68000 series (for example 68060).
I try but now this dont work way what expect area is arraged alpha,red,green,blue ja again sama etc... and what i expect black white checkerboard.
[C] Non wokring checkerboard - Pastebin.com
What is wrong m algorithm i ask here becouse i give formula in C ?
(x + y % 2) *255
i read this way when x and y are both odd or even code gives 255
but if one is odd and one is even i get 0.
how...
I forgot fact in this OS API is recommend copy needed data to safe and then release such object. which means i can copy data what os gives to such area.:) or actually need it. and i have basic tools...
Yes but another thing is access such way memory area what i have address allready. which operating systems what i talk gives me part of one structure.
And want way which dont care platform.
x+y*picturewidth*bytesperpixel+colorcomponent
which means x is 0-xxx
y=0-(pictureswidth - 1)
colorcompoent is 0-3 which tells what color compoent i want
access 0=Alpha chanel 1=red component...
how i can made if statement which executeds part what i need when one or more statent is true. i mean if must one or more these these are true x is small 0 or bigger than 99. sama for y. or only...
if i alloc memory with Malloc (this works very sameway what os function works expect os function have also "flags" for memory requiments) and put value to address;
this should wrote 255 to first...
this exact thing in this operating system one functions gives when it fails NULL then another function called IoErr gives number which tells what goed wrong. All other numbers in first thing are...
I talked "nested IFs" (maybe incorrect term) not Loops which i bet goes similar way and i know return returns only innerloop when i use in nested loop it. I dont yet get how your code work...
This works:
if (x==0)
{
if (Function()==ERROR)
{
/* this happens */
}
}
How join two strings? basic reason is add given filename little text to end. I try do by hobby not school project program which converts files format x to format y.i dont say which formats becouse...
Whicj means i must declare in main code all functions what headers have? now i dont understand why os functions,and ansi c functions works without this.
ps. before windows in my comment means...
project is program what i develop.first way all header file defined structures,and variables i want used in whole program. and second way header file has own structures which dont show elsewhere....
headerfiles how define program project wide structurers? and how header file wide (i mean applies only file where they defined) structures? i know how struces are defined but my sources dont ansver...
And i dont maybe want direct ansver but basic info what i needdosuch
for getint ifoundexample my ansi c book.
How read float,int,long etc? i think my book dont ansver this. i mainly now want test some algorithms what gets gui soon when i get os what i going use to make final product.
How i can convert int->float float->int safely?
int->float conversion i need accurate way.
float->int i need both ways on which cuts decimals,and another which makes rounding.
ps. some os...
I now found this book. Not yet idea how this local variables done? even correct words found info form The C (ANSI C)Programming Language (Brian W. Kernighan,and Dennis M. Ritchie) book.
How make function which gives back two numerical values. I think needs using structure. now i try found my c book.
I know reducing bits affect sound quality and is what i want. this effect is common and gives "oldschool" falvour. i maybe found solutiong based what different people wrote here...
Is possible read text form keyboard using read() function? or which is best way in ansi creplace input command form basic language. for numbers and text... ideas not code again becouse i try learn. i...
hodor but when i want still use whole range which is main problem. fi sample data goes originally in 4bit for this way:
0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
after code i get (and i algorithm what...